Version: 6.3.1
Functions

src/MEDSPLITTER/MEDSPLITTER_API.hxx File Reference

#include "MEDSPLITTER.hxx"
Include dependency graph for MEDSPLITTER_API.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)

Function Documentation

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

Parameters:
inputfilenamename of the input file
meshname of the input mesh (only used for the sequential input file case)
outputfilenamename out the master output file
is_distributedsequential input (0) or distributed input (1)
nbdomainsnumber of subdomains
methodMETIS(0) or SCOTCH(1)
meshonlyprojects mesh and fields (0) or only the mesh (1)
plainmastercreates a plain masterfile (1) instead of an XML file (0),
createboundaryfacescreates the necessary faces so that face joints are created
familysplittingpreserves the family names (1) instead of focusing on the groups (0)
emptygroupscreates 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

Parameters:
inputfilenamename of the input distributed MED file
outputfilenamename out the master output file
nprocsnumber of subdomains
methodMETIS(0) or SCOTCH(1)
create_boundary_facescreates the necessary faces so that faces joints are created in the output files
family_splittingpreserves 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.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS