MEDPARTITIONER::MEDPartitioner::MEDPartitioner(const std::string& filename, int ndomains, const std::string& library,bool creates_boundary_faces, bool create_joints, bool mesure_memory):
_input_collection( 0 ), _output_collection( 0 ), _new_topology( 0 )
{
- MyGlobals::_World_Size=1;
- MyGlobals::_Rank=0;
- MyGlobals::_Creates_Boundary_Faces=0;
- MyGlobals::_Create_Joints=0;
+ MyGlobals::_World_Size = 1;
+ MyGlobals::_Rank = 0;
+ MyGlobals::_Creates_Boundary_Faces = creates_boundary_faces;
+ MyGlobals::_Create_Joints = create_joints;
ParaDomainSelector parallelizer(mesure_memory);
_input_collection=new MeshCollection(filename,parallelizer);
MEDPARTITIONER::MEDPartitioner::MEDPartitioner(const ParaMEDMEM::MEDFileData* filedata, int ndomains, const std::string& library,bool creates_boundary_faces, bool create_joints, bool mesure_memory):
_input_collection( 0 ), _output_collection( 0 ), _new_topology( 0 )
{
- MyGlobals::_World_Size=1;
- MyGlobals::_Rank=0;
- MyGlobals::_Creates_Boundary_Faces=0;
- MyGlobals::_Create_Joints=0;
+ MyGlobals::_World_Size = 1;
+ MyGlobals::_Rank = 0;
+ MyGlobals::_Creates_Boundary_Faces = creates_boundary_faces;
+ MyGlobals::_Create_Joints = create_joints;
ParaDomainSelector parallelizer(mesure_memory);
_input_collection=new MeshCollection();