Back to index

salome-med  6.5.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
MEDSPLITTER::MEDSPLITTER_EXPORT Protocol Reference

Sender-receiver of the mesh. More...

#include <MEDSPLITTER_Graph.hxx>

Inheritance diagram for MEDSPLITTER::MEDSPLITTER_EXPORT:
Inheritance graph
[legend]
Collaboration diagram for MEDSPLITTER::MEDSPLITTER_EXPORT:
Collaboration graph
[legend]

List of all members.

Public Types

enum  splitter_type { METIS, SCOTCH }

Public Member Functions

 Graph ()
 Graph (MEDMEM::MEDSKYLINEARRAY *graph, int *edgeweight=0)
virtual ~Graph ()
void setEdgesWeights (int *edgeweight)
void setVerticesWeights (int *cellweight)
virtual void partGraph (int ndomain, const string &, ParaDomainSelector *sel=0)=0
const int * getPart () const
 returns the partitioning
int nbVertices () const
 returns the number of graph vertices (which can correspond to the cells in the mesh!)
const MEDMEM::MEDSKYLINEARRAY * getGraph () const
 MESHCollection ()
 MESHCollection (const MESHCollection &, Topology *, bool family_splitting=false, bool create_empty_groups=false)
 MESHCollection (const std::string &filename)
 MESHCollection (const std::string &filename, ParaDomainSelector &domainSelector)
 MESHCollection (const std::string &filename, const std::string &meshname)
 ~MESHCollection ()
bool isParallelMode () const
void write (const std::string &filename)
MESHCollectionDriverretrieveDriver ()
MESHCollectionDrivergetDriver () const
void setDriverType (MEDSPLITTER::DriverType type)
void buildCellGraph (MEDMEM::MEDSKYLINEARRAY *&array, int *&edgeweights)
TopologycreatePartition (int nbdomain, Graph::splitter_type type=Graph::METIS, const string &="", int *edgeweights=0, int *verticesweights=0)
TopologycreatePartition (const int *partition)
void getTypeList (int *cell_list, int nb_cells, MED_EN::medEntityMesh entity, MED_EN::medGeometryElement *type_list) const
void getCoordinates (int *node_list, int nb_nodes, double *coordinates) const
void getNodeConnectivity (const int *cell_list, int nb_cells, MED_EN::medEntityMesh, MED_EN::medGeometryElement type, int *type_connectivity) const
void getPolygonNodeConnectivity (const int *cell_list, int nb_cells, MED_EN::medEntityMesh entity, vector< int > &type_connectivity, vector< int > &connectivity_index) const
void getPolyhedraNodeConnectivity (const int *cell_list, int nb_cells, MED_EN::medEntityMesh entity, vector< int > &type_connectivity, vector< int > &connectivity_index) const
void getFaceConnectivity (const int *cell_list, int nb_cells, MED_EN::medEntityMesh, MED_EN::medGeometryElement type, int *type_connectivity) const
int getMeshDimension () const
int getSpaceDimension () const
std::string getSystem () const
std::string getMeshName () const
MED_EN::medEntityMesh getSubEntity () const
std::vector< MEDMEM::MESH * > & getMesh ()
MEDMEM::MESH * getMesh (int) const
std::vector
< MEDMEM::CONNECTZONE * > & 
getCZ ()
TopologygetTopology () const
void setTopology (Topology *topology)
string getName () const
void setName (const string &name)
string getDescription () const
void setDescription (const string &name)
void castFamilies (const MESHCollection &old_collection)
 transfers families from an old MESHCollection to new mesh
void castSupport (const MESHCollection &old_collection, std::vector< const MEDMEM::SUPPORT * > &old_support, std::vector< MEDMEM::SUPPORT * > &new_support)
void castAllFields (const MESHCollection &old_collection)
 casts all the fields to the new mesh collection
void castField (const MESHCollection &old_collection, const string &fieldname, int itnumber, int ordernumber)
 casts one specific field to the new mesh collection
void setIndivisibleGroup (const string &a)
void buildConnectZones ()
 constructing connect zones
void buildConnectZonesBetweenProcs (std::vector< std::map< MED_EN::medGeometryElement, std::vector< MEDSPLITTER_FaceModel * > > > &, map< pair< int, int >, MEDMEM::MEDSKYLINEARRAY * > &local_cell_cell_correspondency)
void addJointGroup (const std::vector< int > &, int idomain, int idistant)
void setSubdomainBoundaryCreates (bool flag)
bool getSubdomainBoundaryCreates ()
void setFamilySplitting (bool flag)
bool getFamilySplitting ()
void setCreateEmptyGroups (bool flag)
bool getCreateEmptyGroups ()
 MESHCollectionDriver (MESHCollection *)
virtual ~MESHCollectionDriver ()
virtual int read (char *, ParaDomainSelector *sel=0)=0
int readSeq (char *, char *)
virtual void write (char *, ParaDomainSelector *sel=0)=0
virtual void readFields (vector< MEDMEM::FIELD< int > * > &filenames, char *fieldname, int itnumber, int ordernumber)=0
virtual void readFields (vector< MEDMEM::FIELD< double > * > &filenames, char *fieldname, int itnumber, int ordernumber)=0
virtual void writeFields (vector< MEDMEM::FIELD< int > * > &filenames, char *fieldname)=0
virtual void writeFields (vector< MEDMEM::FIELD< double > * > &filenames, char *fieldname)=0
void readFileStruct (vector< string > &field_names, vector< int > &iternumber, vector< int > &ordernumber, vector< int > &types)
int getFieldType (const std::string &fieldname)
void readLoc2GlobCellConnect (int idomain, const set< int > &loc_domains, ParaDomainSelector *ds, vector< int > &loc2glob_corr)
int readMeshDimension () const
 MeshSendReceive ()
 ~MeshSendReceive ()
void send (int irank, int idomain, MEDMEM::MESH *mesh, const std::vector< int > &cell_glob_nums, const std::vector< int > &face_glob_nums, const std::vector< int > &node_glob_nums)
MEDMEM::MESH * recv (int irank, int idomain, std::vector< int > &cell_glob_numbers, std::vector< int > &face_glob_numbers, std::vector< int > &node_glob_numbers)
 Returns the received or sent mesh.
MEDMEM::MESH * getMesh ()
bool isSent ()
void clear ()
 METISGraph ()
 METISGraph (MEDMEM::MEDSKYLINEARRAY *, int *edgeweight=0)
virtual ~METISGraph ()
void partGraph (int ndomain, const string &options_string="", ParaDomainSelector *sel=0)
 ParaDomainSelector (bool mesure_memory=false)
 ~ParaDomainSelector ()
 return processor rank
int rank () const
 return number of processors
int nbProcs () const
bool isOnDifferentHosts () const
bool isMyDomain (int domainIndex) const
int getProccessorID (int domainIndex) const
 Set nb of required domains.
void setNbDomains (int nb)
int jointId (int local_domain, int distant_domain) const
int gatherNbOf (MED_EN::medEntityMesh entity, const std::vector< MEDMEM::MESH * > &domain_meshes)
int * getNbVertOfProcs () const
int getProcShift () const
int getDomainShift (int domainIndex) const
std::auto_ptr< GraphgatherGraph (const Graph *graph) const
void gatherEntityTypesInfo (std::vector< MEDMEM::MESH * > &domain_meshes, MED_EN::medEntityMesh entity)
void setNbCellPairs (int nb_cell_pairs, int dist_domain, int loc_domain)
void gatherNbCellPairs ()
int getNbCellPairs (int dist_domain, int loc_domain) const
void exchangeJoint (JointExchangeData *joint) const
int getFisrtGlobalIdOfSubentity (int loc_domain, int dist_domain) const
int * exchangeSubentityIds (int loc_domain, int dist_domain, const std::vector< int > &loc_ids_here) const
double getPassedTime () const
int evaluateMemory () const
 SCOTCHGraph ()
 SCOTCHGraph (MEDMEM::MEDSKYLINEARRAY *, int *edgeweight=0)
virtual ~SCOTCHGraph ()
void partGraph (int ndomain, const string &options_string="", ParaDomainSelector *sel=0)
 UserGraph (MEDMEM::MEDSKYLINEARRAY *, const int *, int)
virtual ~UserGraph ()
void partGraph (int, const string &options="", ParaDomainSelector *sel=0)

Static Public Member Functions

static bool isDimensionOK (MED_EN::medGeometryElement type, int dim)

Public Attributes

 this

Protected Member Functions

void readSubdomain (vector< int * > &cellglobal, vector< int * > &faceglobal, vector< int * > &nodeglobal, int idomain)
void writeSubdomain (int idomain, int nbdomain, char *filename, ParaDomainSelector *domain_selector)
void writeElementJoint (medEntityMesh entity, int icz, int idomain, int idistant, char *mesh_name, char *joint_name, med_2_3::med_idt fid)
void jointSort (int *elems, int nbelems, bool is_first)

Protected Attributes

MEDMEM::MEDSKYLINEARRAY * m_graph
MEDMEM::MEDSKYLINEARRAY * m_partition
int * m_edgeweight
int * m_cellweight
MESHCollection_collection
std::vector< std::string > _filename
std::vector< std::string > _meshname

Private Member Functions

void createNodalConnectivity (const MESHCollection &initial_collection, int idomain, MED_EN::medEntityMesh entity)
 creates connectivities for a domain and an entity (face or cell)
void treatIndivisibleRegions (int *tag)
 creates the tags for indivisible groups
template<class T >
void castFields (const MESHCollection &old_collection, const string &fieldname, int itnumber, int ordernumber)
 projects a field from an old collection to the present one field is identified by (name, dt, it)
void getFaces (int idomain, std::map< MED_EN::medGeometryElement, std::vector< MEDSPLITTER_FaceModel * > > &)
MEDSPLITTER_FaceModelgetCommonFace (int ip1, int ilocal1, int ip2, int ilocal2, int face_index)
template<class TID2CONN >
void fillGlobalConnectivity (TID2CONN &node2cell, TID2CONN &cell2node)

Private Attributes

Topology_topology
 link to mesh_collection topology
bool _owns_topology
 control over topology
boost::shared_ptr< Graph_cell_graph
 link to graph
MESHCollectionDriver_driver
 Driver for read/write operations.
ParaDomainSelector_domain_selector
 Parallelizer - mark of parallel execution mode.
std::vector< MEDMEM::MESH * > _mesh
 links to meshes
int _i_non_empty_mesh
 index of a non empty mesh within _mesh (in parallel mode all of meshes can be empty)
std::vector
< MEDMEM::CONNECTZONE * > 
_connect_zones
 links to connectzones
std::vector< std::string > _indivisible_regions
 list of groups that are not to be splitted
string _name
 name of global mesh
string _description
 description of global mesh
DriverType _driver_type
 specifies the driver associated to the collection
bool _subdomain_boundary_creates
 flag specifying that the splitter should create boundary constituent entity so that they are written in joints
bool _family_splitting
 flag specifying that families must be preserved by the splitting
bool _create_empty_groups
 flag specifying that groups must be created on all domains, even if they are empty
std::vector< int > _int_buf
std::vector< int > _node_glob_numbers
std::vector< int > _cell_glob_numbers
std::vector< int > _face_glob_numbers
std::vector< char > _char_buf
MEDMEM::MESH * _mesh
MPI_Request _int_request
MPI_Request _coord_request
MPI_Request _char_request
MPI_Request _node_nums_request
MPI_Request _cell_nums_request
MPI_Request _face_nums_request
int _rank
int _world_size
int _nb_result_domains
std::vector< int > _nb_cell_pairs_by_joint
std::vector< int > _nb_vert_of_procs
std::vector< int > _cell_shift_by_domain
std::vector< int > _face_shift_by_domain
double _init_time
bool _mesure_memory
int _init_memory
int _max_memory

Detailed Description

Sender-receiver of the mesh.

Communication helper in parallel mode.

We also send-receive 1) global node ids for the sake of fusing domain parts 2) global cell ids for the sake of detecting cell/cell joints using global graph 3) global face ids for the sake of not losing face sharing among domains

Definition at line 31 of file MEDSPLITTER_Graph.hxx.


Member Enumeration Documentation

Enumerator:
METIS 
SCOTCH 

Definition at line 34 of file MEDSPLITTER_Graph.hxx.


Constructor & Destructor Documentation

Definition at line 34 of file MEDSPLITTER_MESHCollectionDriver.hxx.

{}

return processor rank


Member Function Documentation

void MEDSPLITTER::MEDSPLITTER_EXPORT::addJointGroup ( const std::vector< int > &  ,
int  idomain,
int  idistant 
)
void MEDSPLITTER::MEDSPLITTER_EXPORT::buildCellGraph ( MEDMEM::MEDSKYLINEARRAY *&  array,
int *&  edgeweights 
)

constructing connect zones

void MEDSPLITTER::MEDSPLITTER_EXPORT::buildConnectZonesBetweenProcs ( std::vector< std::map< MED_EN::medGeometryElement, std::vector< MEDSPLITTER_FaceModel * > > > &  ,
map< pair< int, int >, MEDMEM::MEDSKYLINEARRAY * > &  local_cell_cell_correspondency 
)

casts all the fields to the new mesh collection

transfers families from an old MESHCollection to new mesh

void MEDSPLITTER::MEDSPLITTER_EXPORT::castField ( const MESHCollection old_collection,
const string &  fieldname,
int  itnumber,
int  ordernumber 
)

casts one specific field to the new mesh collection

template<class T >
void MEDSPLITTER::MEDSPLITTER_EXPORT::castFields ( const MESHCollection old_collection,
const string &  fieldname,
int  itnumber,
int  ordernumber 
) [private]

projects a field from an old collection to the present one field is identified by (name, dt, it)

void MEDSPLITTER::MEDSPLITTER_EXPORT::castSupport ( const MESHCollection old_collection,
std::vector< const MEDMEM::SUPPORT * > &  old_support,
std::vector< MEDMEM::SUPPORT * > &  new_support 
)
void MEDSPLITTER::MEDSPLITTER_EXPORT::createNodalConnectivity ( const MESHCollection initial_collection,
int  idomain,
MED_EN::medEntityMesh  entity 
) [private]

creates connectivities for a domain and an entity (face or cell)

Topology* MEDSPLITTER::MEDSPLITTER_EXPORT::createPartition ( int  nbdomain,
Graph::splitter_type  type = Graph::METIS,
const string &  = "",
int *  edgeweights = 0,
int *  verticesweights = 0 
)
int* MEDSPLITTER::MEDSPLITTER_EXPORT::exchangeSubentityIds ( int  loc_domain,
int  dist_domain,
const std::vector< int > &  loc_ids_here 
) const
template<class TID2CONN >
void MEDSPLITTER::MEDSPLITTER_EXPORT::fillGlobalConnectivity ( TID2CONN &  node2cell,
TID2CONN &  cell2node 
) [private]
void MEDSPLITTER::MEDSPLITTER_EXPORT::gatherEntityTypesInfo ( std::vector< MEDMEM::MESH * > &  domain_meshes,
MED_EN::medEntityMesh  entity 
)
std::auto_ptr<Graph> MEDSPLITTER::MEDSPLITTER_EXPORT::gatherGraph ( const Graph graph) const
int MEDSPLITTER::MEDSPLITTER_EXPORT::gatherNbOf ( MED_EN::medEntityMesh  entity,
const std::vector< MEDMEM::MESH * > &  domain_meshes 
)
MEDSPLITTER_FaceModel* MEDSPLITTER::MEDSPLITTER_EXPORT::getCommonFace ( int  ip1,
int  ilocal1,
int  ip2,
int  ilocal2,
int  face_index 
) [private]
void MEDSPLITTER::MEDSPLITTER_EXPORT::getCoordinates ( int *  node_list,
int  nb_nodes,
double *  coordinates 
) const

Definition at line 180 of file MEDSPLITTER_MESHCollection.hxx.

std::vector<MEDMEM::CONNECTZONE*>& MEDSPLITTER::MEDSPLITTER_EXPORT::getCZ ( )

Definition at line 145 of file MEDSPLITTER_MESHCollection.hxx.

{return _description;}
int MEDSPLITTER::MEDSPLITTER_EXPORT::getDomainShift ( int  domainIndex) const
void MEDSPLITTER::MEDSPLITTER_EXPORT::getFaceConnectivity ( const int *  cell_list,
int  nb_cells,
MED_EN::medEntityMesh  ,
MED_EN::medGeometryElement  type,
int *  type_connectivity 
) const
void MEDSPLITTER::MEDSPLITTER_EXPORT::getFaces ( int  idomain,
std::map< MED_EN::medGeometryElement, std::vector< MEDSPLITTER_FaceModel * > > &   
) [private]

Definition at line 177 of file MEDSPLITTER_MESHCollection.hxx.

int MEDSPLITTER::MEDSPLITTER_EXPORT::getFieldType ( const std::string &  fieldname)
int MEDSPLITTER::MEDSPLITTER_EXPORT::getFisrtGlobalIdOfSubentity ( int  loc_domain,
int  dist_domain 
) const
const MEDMEM::MEDSKYLINEARRAY* MEDSPLITTER::MEDSPLITTER_EXPORT::getGraph ( ) const [inline]

Definition at line 55 of file MEDSPLITTER_Graph.hxx.

{return m_graph;}
MEDMEM::MESH* MEDSPLITTER::MEDSPLITTER_EXPORT::getMesh ( ) [inline]

Definition at line 73 of file MEDSPLITTER_MeshSendReceive.hxx.

{ return _mesh; }
std::vector<MEDMEM::MESH*>& MEDSPLITTER::MEDSPLITTER_EXPORT::getMesh ( )
MEDMEM::MESH* MEDSPLITTER::MEDSPLITTER_EXPORT::getMesh ( int  ) const
string MEDSPLITTER::MEDSPLITTER_EXPORT::getName ( ) const [inline]

Definition at line 141 of file MEDSPLITTER_MESHCollection.hxx.

{return _name;}
int MEDSPLITTER::MEDSPLITTER_EXPORT::getNbCellPairs ( int  dist_domain,
int  loc_domain 
) const
void MEDSPLITTER::MEDSPLITTER_EXPORT::getNodeConnectivity ( const int *  cell_list,
int  nb_cells,
MED_EN::medEntityMesh  ,
MED_EN::medGeometryElement  type,
int *  type_connectivity 
) const
const int* MEDSPLITTER::MEDSPLITTER_EXPORT::getPart ( ) const [inline]

returns the partitioning

Definition at line 50 of file MEDSPLITTER_Graph.hxx.

{return m_partition->getValue();}
void MEDSPLITTER::MEDSPLITTER_EXPORT::getPolygonNodeConnectivity ( const int *  cell_list,
int  nb_cells,
MED_EN::medEntityMesh  entity,
vector< int > &  type_connectivity,
vector< int > &  connectivity_index 
) const
void MEDSPLITTER::MEDSPLITTER_EXPORT::getPolyhedraNodeConnectivity ( const int *  cell_list,
int  nb_cells,
MED_EN::medEntityMesh  entity,
vector< int > &  type_connectivity,
vector< int > &  connectivity_index 
) const
int MEDSPLITTER::MEDSPLITTER_EXPORT::getProccessorID ( int  domainIndex) const

Set nb of required domains.

(Used to sort joints via jointId())

Definition at line 174 of file MEDSPLITTER_MESHCollection.hxx.

void MEDSPLITTER::MEDSPLITTER_EXPORT::getTypeList ( int *  cell_list,
int  nb_cells,
MED_EN::medEntityMesh  entity,
MED_EN::medGeometryElement type_list 
) const

Definition at line 36 of file MEDSPLITTER_Graph.hxx.

{}
MEDSPLITTER::MEDSPLITTER_EXPORT::Graph ( MEDMEM::MEDSKYLINEARRAY *  graph,
int *  edgeweight = 0 
)
static bool MEDSPLITTER::MEDSPLITTER_EXPORT::isDimensionOK ( MED_EN::medGeometryElement  type,
int  dim 
) [inline, static]

Definition at line 169 of file MEDSPLITTER_MESHCollection.hxx.

    {
      return ((type/100 == dim) || (dim==2 && type == MED_EN::MED_POLYGON) || (dim==3 && type == MED_EN::MED_POLYHEDRA));
    }
bool MEDSPLITTER::MEDSPLITTER_EXPORT::isMyDomain ( int  domainIndex) const

Definition at line 70 of file MEDSPLITTER_MESHCollection.hxx.

{ return _domain_selector; }
int MEDSPLITTER::MEDSPLITTER_EXPORT::jointId ( int  local_domain,
int  distant_domain 
) const
void MEDSPLITTER::MEDSPLITTER_EXPORT::jointSort ( int *  elems,
int  nbelems,
bool  is_first 
) [protected]
MEDSPLITTER::MEDSPLITTER_EXPORT::MESHCollection ( const MESHCollection ,
Topology ,
bool  family_splitting = false,
bool  create_empty_groups = false 
)
MEDSPLITTER::MEDSPLITTER_EXPORT::MESHCollection ( const std::string &  filename)
MEDSPLITTER::MEDSPLITTER_EXPORT::MESHCollection ( const std::string &  filename,
ParaDomainSelector domainSelector 
)
MEDSPLITTER::MEDSPLITTER_EXPORT::MESHCollection ( const std::string &  filename,
const std::string &  meshname 
)
MEDSPLITTER::MEDSPLITTER_EXPORT::METISGraph ( MEDMEM::MEDSKYLINEARRAY *  ,
int *  edgeweight = 0 
)

Definition at line 58 of file MEDSPLITTER_ParaDomainSelector.hxx.

{ return _world_size; }

returns the number of graph vertices (which can correspond to the cells in the mesh!)

Definition at line 53 of file MEDSPLITTER_Graph.hxx.

{return m_graph->getNumberOf();}
MEDSPLITTER::MEDSPLITTER_EXPORT::ParaDomainSelector ( bool  mesure_memory = false)
void MEDSPLITTER::MEDSPLITTER_EXPORT::partGraph ( int  ndomain,
const string &  options_string = "",
ParaDomainSelector sel = 0 
)
void MEDSPLITTER::MEDSPLITTER_EXPORT::partGraph ( int  ndomain,
const string &  options_string = "",
ParaDomainSelector sel = 0 
)
void MEDSPLITTER::MEDSPLITTER_EXPORT::partGraph ( int  ,
const string &  options = "",
ParaDomainSelector sel = 0 
)
virtual void MEDSPLITTER::MEDSPLITTER_EXPORT::partGraph ( int  ndomain,
const string &  ,
ParaDomainSelector sel = 0 
) [pure virtual]
int MEDSPLITTER::MEDSPLITTER_EXPORT::rank ( ) const [inline]

return number of processors

Definition at line 55 of file MEDSPLITTER_ParaDomainSelector.hxx.

virtual int MEDSPLITTER::MEDSPLITTER_EXPORT::read ( char *  ,
ParaDomainSelector sel = 0 
) [pure virtual]
virtual void MEDSPLITTER::MEDSPLITTER_EXPORT::readFields ( vector< MEDMEM::FIELD< int > * > &  filenames,
char *  fieldname,
int  itnumber,
int  ordernumber 
) [pure virtual]
virtual void MEDSPLITTER::MEDSPLITTER_EXPORT::readFields ( vector< MEDMEM::FIELD< double > * > &  filenames,
char *  fieldname,
int  itnumber,
int  ordernumber 
) [pure virtual]
void MEDSPLITTER::MEDSPLITTER_EXPORT::readFileStruct ( vector< string > &  field_names,
vector< int > &  iternumber,
vector< int > &  ordernumber,
vector< int > &  types 
)
void MEDSPLITTER::MEDSPLITTER_EXPORT::readLoc2GlobCellConnect ( int  idomain,
const set< int > &  loc_domains,
ParaDomainSelector ds,
vector< int > &  loc2glob_corr 
)
int MEDSPLITTER::MEDSPLITTER_EXPORT::readSeq ( char *  ,
char *   
)
void MEDSPLITTER::MEDSPLITTER_EXPORT::readSubdomain ( vector< int * > &  cellglobal,
vector< int * > &  faceglobal,
vector< int * > &  nodeglobal,
int  idomain 
) [protected]
MEDMEM::MESH* MEDSPLITTER::MEDSPLITTER_EXPORT::recv ( int  irank,
int  idomain,
std::vector< int > &  cell_glob_numbers,
std::vector< int > &  face_glob_numbers,
std::vector< int > &  node_glob_numbers 
)

Returns the received or sent mesh.

The user is resposible for freeing the received mesh.

MEDSPLITTER::MEDSPLITTER_EXPORT::SCOTCHGraph ( MEDMEM::MEDSKYLINEARRAY *  ,
int *  edgeweight = 0 
)
void MEDSPLITTER::MEDSPLITTER_EXPORT::send ( int  irank,
int  idomain,
MEDMEM::MESH *  mesh,
const std::vector< int > &  cell_glob_nums,
const std::vector< int > &  face_glob_nums,
const std::vector< int > &  node_glob_nums 
)

Definition at line 179 of file MEDSPLITTER_MESHCollection.hxx.

void MEDSPLITTER::MEDSPLITTER_EXPORT::setDescription ( const string &  name) [inline]

Definition at line 146 of file MEDSPLITTER_MESHCollection.hxx.

Definition at line 78 of file MEDSPLITTER_MESHCollection.hxx.

void MEDSPLITTER::MEDSPLITTER_EXPORT::setEdgesWeights ( int *  edgeweight) [inline]

Definition at line 43 of file MEDSPLITTER_Graph.hxx.

{m_edgeweight=edgeweight;}

Definition at line 176 of file MEDSPLITTER_MESHCollection.hxx.

void MEDSPLITTER::MEDSPLITTER_EXPORT::setName ( const string &  name) [inline]

Definition at line 142 of file MEDSPLITTER_MESHCollection.hxx.

void MEDSPLITTER::MEDSPLITTER_EXPORT::setNbCellPairs ( int  nb_cell_pairs,
int  dist_domain,
int  loc_domain 
)

Definition at line 71 of file MEDSPLITTER_ParaDomainSelector.hxx.

Definition at line 173 of file MEDSPLITTER_MESHCollection.hxx.

void MEDSPLITTER::MEDSPLITTER_EXPORT::setVerticesWeights ( int *  cellweight) [inline]

Definition at line 44 of file MEDSPLITTER_Graph.hxx.

{m_cellweight=cellweight;}

creates the tags for indivisible groups

MEDSPLITTER::MEDSPLITTER_EXPORT::UserGraph ( MEDMEM::MEDSKYLINEARRAY *  ,
const int *  ,
int   
)
virtual void MEDSPLITTER::MEDSPLITTER_EXPORT::write ( char *  ,
ParaDomainSelector sel = 0 
) [pure virtual]
void MEDSPLITTER::MEDSPLITTER_EXPORT::write ( const std::string &  filename)
void MEDSPLITTER::MEDSPLITTER_EXPORT::writeElementJoint ( medEntityMesh  entity,
int  icz,
int  idomain,
int  idistant,
char *  mesh_name,
char *  joint_name,
med_2_3::med_idt  fid 
) [protected]
virtual void MEDSPLITTER::MEDSPLITTER_EXPORT::writeFields ( vector< MEDMEM::FIELD< int > * > &  filenames,
char *  fieldname 
) [pure virtual]
virtual void MEDSPLITTER::MEDSPLITTER_EXPORT::writeFields ( vector< MEDMEM::FIELD< double > * > &  filenames,
char *  fieldname 
) [pure virtual]
void MEDSPLITTER::MEDSPLITTER_EXPORT::writeSubdomain ( int  idomain,
int  nbdomain,
char *  filename,
ParaDomainSelector domain_selector 
) [protected]

Member Data Documentation

Definition at line 84 of file MEDSPLITTER_MeshSendReceive.hxx.

link to graph

Definition at line 210 of file MEDSPLITTER_MESHCollection.hxx.

Definition at line 90 of file MEDSPLITTER_MeshSendReceive.hxx.

Definition at line 138 of file MEDSPLITTER_ParaDomainSelector.hxx.

std::vector< char> MEDSPLITTER::MEDSPLITTER_EXPORT::_char_buf [private]

Definition at line 85 of file MEDSPLITTER_MeshSendReceive.hxx.

Definition at line 89 of file MEDSPLITTER_MeshSendReceive.hxx.

Definition at line 76 of file MEDSPLITTER_MESHCollectionDriver.hxx.

std::vector<MEDMEM::CONNECTZONE*> MEDSPLITTER::MEDSPLITTER_EXPORT::_connect_zones [private]

links to connectzones

Definition at line 225 of file MEDSPLITTER_MESHCollection.hxx.

Definition at line 89 of file MEDSPLITTER_MeshSendReceive.hxx.

flag specifying that groups must be created on all domains, even if they are empty

Definition at line 249 of file MEDSPLITTER_MESHCollection.hxx.

description of global mesh

Definition at line 234 of file MEDSPLITTER_MESHCollection.hxx.

Parallelizer - mark of parallel execution mode.

Definition at line 216 of file MEDSPLITTER_MESHCollection.hxx.

Driver for read/write operations.

Definition at line 213 of file MEDSPLITTER_MESHCollection.hxx.

specifies the driver associated to the collection

Definition at line 237 of file MEDSPLITTER_MESHCollection.hxx.

Definition at line 84 of file MEDSPLITTER_MeshSendReceive.hxx.

Definition at line 90 of file MEDSPLITTER_MeshSendReceive.hxx.

Definition at line 139 of file MEDSPLITTER_ParaDomainSelector.hxx.

flag specifying that families must be preserved by the splitting

Definition at line 245 of file MEDSPLITTER_MESHCollection.hxx.

std::vector<std::string> MEDSPLITTER::MEDSPLITTER_EXPORT::_filename [protected]

Definition at line 78 of file MEDSPLITTER_MESHCollectionDriver.hxx.

index of a non empty mesh within _mesh (in parallel mode all of meshes can be empty)

Definition at line 222 of file MEDSPLITTER_MESHCollection.hxx.

std::vector<std::string> MEDSPLITTER::MEDSPLITTER_EXPORT::_indivisible_regions [private]

list of groups that are not to be splitted

Definition at line 228 of file MEDSPLITTER_MESHCollection.hxx.

Definition at line 143 of file MEDSPLITTER_ParaDomainSelector.hxx.

Definition at line 141 of file MEDSPLITTER_ParaDomainSelector.hxx.

std::vector< int > MEDSPLITTER::MEDSPLITTER_EXPORT::_int_buf [private]

Definition at line 83 of file MEDSPLITTER_MeshSendReceive.hxx.

Definition at line 89 of file MEDSPLITTER_MeshSendReceive.hxx.

Definition at line 143 of file MEDSPLITTER_ParaDomainSelector.hxx.

MEDMEM::MESH* MEDSPLITTER::MEDSPLITTER_EXPORT::_mesh [private]

Definition at line 87 of file MEDSPLITTER_MeshSendReceive.hxx.

std::vector<MEDMEM::MESH*> MEDSPLITTER::MEDSPLITTER_EXPORT::_mesh [private]

links to meshes

Definition at line 219 of file MEDSPLITTER_MESHCollection.hxx.

std::vector<std::string> MEDSPLITTER::MEDSPLITTER_EXPORT::_meshname [protected]

Definition at line 79 of file MEDSPLITTER_MESHCollectionDriver.hxx.

Definition at line 142 of file MEDSPLITTER_ParaDomainSelector.hxx.

name of global mesh

Definition at line 231 of file MEDSPLITTER_MESHCollection.hxx.

Definition at line 135 of file MEDSPLITTER_ParaDomainSelector.hxx.

Definition at line 131 of file MEDSPLITTER_ParaDomainSelector.hxx.

Definition at line 137 of file MEDSPLITTER_ParaDomainSelector.hxx.

Definition at line 84 of file MEDSPLITTER_MeshSendReceive.hxx.

Definition at line 90 of file MEDSPLITTER_MeshSendReceive.hxx.

control over topology

Definition at line 207 of file MEDSPLITTER_MESHCollection.hxx.

Definition at line 129 of file MEDSPLITTER_ParaDomainSelector.hxx.

flag specifying that the splitter should create boundary constituent entity so that they are written in joints

Definition at line 241 of file MEDSPLITTER_MESHCollection.hxx.

link to mesh_collection topology

Definition at line 204 of file MEDSPLITTER_MESHCollection.hxx.

Definition at line 129 of file MEDSPLITTER_ParaDomainSelector.hxx.

Definition at line 65 of file MEDSPLITTER_Graph.hxx.

Definition at line 63 of file MEDSPLITTER_Graph.hxx.

MEDMEM::MEDSKYLINEARRAY* MEDSPLITTER::MEDSPLITTER_EXPORT::m_graph [protected]

Definition at line 59 of file MEDSPLITTER_Graph.hxx.

MEDMEM::MEDSKYLINEARRAY* MEDSPLITTER::MEDSPLITTER_EXPORT::m_partition [protected]

Definition at line 61 of file MEDSPLITTER_Graph.hxx.

Definition at line 85 of file libMEDSPLITTER_Swig.py.


The documentation for this protocol was generated from the following files: