#include "MEDSPLITTER.hxx"
Go to the source code of this file.
Functions | |
| int | medsplitter (const char *inputfilename, const char *mesh, const char *outputfilename, int is_distributed, int nbdomains, int method, int meshonly, int plainmaster, int createboundaryfaces, int familysplitting, int emptygroups) |
| int | medsplitter_para (const char *inputfilename, const char *outputfilename, const int nprocs, const int method, const bool create_boundary_faces, const bool family_splitting) |
| int medsplitter | ( | const char * | inputfilename, |
| const char * | mesh, | ||
| const char * | outputfilename, | ||
| int | is_distributed, | ||
| int | nbdomains, | ||
| int | method, | ||
| int | meshonly, | ||
| int | plainmaster, | ||
| int | createboundaryfaces, | ||
| int | familysplitting, | ||
| int | emptygroups | ||
| ) |
MEDSPLITTER high-level API
| inputfilename | name of the input file |
| mesh | name of the input mesh (only used for the sequential input file case) |
| outputfilename | name out the master output file |
| is_distributed | sequential input (0) or distributed input (1) |
| nbdomains | number of subdomains |
| method | METIS(0) or SCOTCH(1) |
| meshonly | projects mesh and fields (0) or only the mesh (1) |
| plainmaster | creates a plain masterfile (1) instead of an XML file (0), |
| createboundaryfaces | creates the necessary faces so that face joints are created |
| familysplitting | preserves the family names (1) instead of focusing on the groups (0) |
| emptygroups | creates empty groups in zones that do not contain a group from the original domain |
References MEDSPLITTER.MESHCollection.castAllFields(), test_MEDSPLITTER.collection, MEDSPLITTER.MESHCollection.createPartition(), MEDSPLITTER.MedAscii, test_MEDSPLITTER.meshname, MEDSPLITTER.Graph.METIS, test_MEDSPLITTER.new_collection, test_MEDSPLITTER.new_topo, MEDSPLITTER.Graph.SCOTCH, MEDSPLITTER.MESHCollection.setDriverType(), MEDSPLITTER.MESHCollection.setSubdomainBoundaryCreates(), and MEDSPLITTER.MESHCollection.write().
| int medsplitter_para | ( | const char * | inputfilename, |
| const char * | outputfilename, | ||
| const int | nprocs, | ||
| const int | method, | ||
| const bool | create_boundary_faces, | ||
| const bool | family_splitting | ||
| ) |
Parallel MEDSPLITTER high-level API
| inputfilename | name of the input distributed MED file |
| outputfilename | name out the master output file |
| nprocs | number of subdomains |
| method | METIS(0) or SCOTCH(1) |
| create_boundary_faces | creates the necessary faces so that faces joints are created in the output files |
| family_splitting | preserves the family names instead of focusing on the groups |
References test_MEDSPLITTER.collection, MEDSPLITTER.MESHCollection.createPartition(), MEDSPLITTER.Graph.METIS, test_MEDSPLITTER.new_collection, test_MEDSPLITTER.new_topo, and MEDSPLITTER.Graph.SCOTCH.