Commit 719f209b authored by Martin Bauer's avatar Martin Bauer

Bugfix in cuda python export

parent 8eaac6a1
......@@ -78,6 +78,7 @@ namespace internal {
.add_property("offsets", &field::internal::field_offsets < GpuField_T > )
.add_property("ptr", &gpufield_ptr < GpuField_T > )
.add_property("dtypeStr", &gpufield_dtypeStr < GpuField_T > )
.add_property("isPitchedMem", &GpuField_T::isPitchedMem )
.def("swapDataPointers", &field::internal::field_swapDataPointers < GpuField_T > )
.add_property("nrOfGhostLayers", &GpuField_T::nrOfGhostLayers )
.def("cloneUninitialized", &GpuField_T::cloneUninitialized, return_value_policy<manage_new_object>())
......@@ -91,7 +92,6 @@ namespace internal {
bases<walberla::communication::UniformPackInfo>,
boost::noncopyable >( "GpuFieldPackInfo", no_init );
using field::communication::UniformMPIDatatypeInfo;
class_< UniformMPIDatatypeInfo<GpuField_T>,
shared_ptr< UniformMPIDatatypeInfo<GpuField_T> >,
......
......@@ -561,7 +561,7 @@ namespace internal {
template<typename GlField_T>
boost::python::object field_sizeWithGhostLayer( const GlField_T & field ) {
return boost::python::make_tuple( field.xSizeWithGhostLayer(), field.xSizeWithGhostLayer(), field.xSizeWithGhostLayer(), field.fSize() );
return boost::python::make_tuple( field.xSizeWithGhostLayer(), field.ySizeWithGhostLayer(), field.zSizeWithGhostLayer(), field.fSize() );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment