Version: 6.3.1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

MEDSPLITTER.MESHCollection Class Reference

#include <MEDSPLITTER_MESHCollection.hxx>

Public Member Functions

 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::MESHgetMesh (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)
 Adds a group of joint faces.
void setSubdomainBoundaryCreates (bool flag)
bool getSubdomainBoundaryCreates ()
void setFamilySplitting (bool flag)
bool getFamilySplitting ()
void setCreateEmptyGroups (bool flag)
bool getCreateEmptyGroups ()

Static Public Member Functions

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

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)
 Create cell->node and node->cell connectivities for domains.

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
bool _family_splitting
bool _create_empty_groups

Constructor & Destructor Documentation

MESHCollection::MESHCollection ( )
MESHCollection::MESHCollection ( const MESHCollection initial_collection,
Topology topology,
bool  family_splitting = false,
bool  create_empty_groups = false 
)

constructor creating a new mesh collection (mesh series + topology) from an old collection and a new topology

On output, the constructor has built the meshes corresponding to the new mesh collection. The new topology has been updated so that face and node mappings are included. The families have been cast to their projections in the new topology.

Parameters:
initial_collectioncollection from which the data (coordinates, connectivity) are taken
topologytopology containing the cell mappings

References MEDSPLITTER.MESHCollection._domain_selector, MEDSPLITTER.MESHCollection._driver, MEDSPLITTER.MESHCollection._i_non_empty_mesh, MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._topology, MEDMEM.MeshFuse.append(), MEDSPLITTER.MESHCollection.castFamilies(), MEDMEM.MeshFuse.concatenate(), MEDSPLITTER.Topology.createFaceMapping(), MEDSPLITTER.MESHCollection.createNodalConnectivity(), MEDSPLITTER.Topology.getCellList(), MEDSPLITTER.Topology.getCellNumber(), MEDSPLITTER.Topology.getFaceList(), MEDSPLITTER.Topology.getFaceNumber(), MEDSPLITTER.Topology.getFusedCellNumbers(), MEDSPLITTER.Topology.getFusedFaceNumbers(), MEDSPLITTER.MESHCollection.getMesh(), MEDSPLITTER.MeshSendReceive.getMesh(), MEDSPLITTER.MESHCollection.getMeshDimension(), MEDSPLITTER.MESHCollection.getName(), MEDSPLITTER.Topology.getNodeList(), MEDSPLITTER.Topology.getNodeNumber(), MEDSPLITTER.ParaDomainSelector.getProccessorID(), MEDSPLITTER.ParaDomainSelector.getProcShift(), MEDSPLITTER.MESHCollection.getSpaceDimension(), MEDSPLITTER.ParaDomainSelector.isMyDomain(), MEDSPLITTER.MESHCollection.isParallelMode(), MED_EN.MED_CELL, MED_EN.MED_EDGE, MED_EN.MED_FACE, medutilities.mesh_dim, med_field_anal.mesh_name, MEDSPLITTER.Topology.nbDomain(), MEDSPLITTER.ParaDomainSelector.nbProcs(), MEDSPLITTER.ParaDomainSelector.rank(), MEDSPLITTER.MESHCollectionDriver.readMeshDimension(), MEDSPLITTER.Topology.recreateMappingAfterFusion(), MEDSPLITTER.MeshSendReceive.recv(), and MEDSPLITTER.ParaDomainSelector.setNbDomains().

MEDSPLITTER.MESHCollection.MESHCollection ( const std::string &  filename)
MEDSPLITTER.MESHCollection.MESHCollection ( const std::string &  filename,
ParaDomainSelector domainSelector 
)
MEDSPLITTER.MESHCollection.MESHCollection ( const std::string &  filename,
const std::string &  meshname 
)
MESHCollection::~MESHCollection ( )

Member Function Documentation

bool MEDSPLITTER.MESHCollection.isParallelMode ( ) const
void MEDSPLITTER.MESHCollection.write ( const std::string &  filename)
MESHCollectionDriver * MESHCollection::retrieveDriver ( )

creates or gets the link to the collection driver

References MEDSPLITTER.MESHCollection._driver, MEDSPLITTER.MESHCollection._driver_type, MEDSPLITTER.MedAscii, and MEDSPLITTER.MedXML.

MESHCollectionDriver * MESHCollection::getDriver ( ) const

gets an existing driver

References MEDSPLITTER.MESHCollection._driver.

void MEDSPLITTER.MESHCollection.setDriverType ( MEDSPLITTER::DriverType  type)

References medClient_test.type.

void MESHCollection::buildCellGraph ( MEDMEM::MEDSKYLINEARRAY *&  array,
int *&  edgeweights 
)
Topology * MESHCollection::createPartition ( int  nbdomain,
Graph::splitter_type  split = Graph::METIS,
const string &  options_string = "",
int user_edge_weights = 0,
int user_vertices_weights = 0 
)

Creates the partition corresponding to the cell graph and the partition number

Parameters:
nbdomainnumber of subdomains for the newly created graph

returns a topology based on the new graph

user-defined weights

References MEDSPLITTER.MESHCollection._cell_graph, MEDSPLITTER.MESHCollection._domain_selector, MEDSPLITTER.MESHCollection.buildCellGraph(), MEDSPLITTER.MESHCollection.getMeshDimension(), MESSAGE_MED, MEDSPLITTER.Graph.METIS, and MEDSPLITTER.Graph.SCOTCH.

Topology * MESHCollection::createPartition ( const int partition)

Creates a topology for a partition specified by the user

Parameters:
tableuser-specified partition (for each cell contains the domain number from 0 to n-1)

returns a topology based on the new partition

References MEDSPLITTER.MESHCollection._cell_graph, MEDSPLITTER.MESHCollection._topology, MEDSPLITTER.MESHCollection.buildCellGraph(), MEDSPLITTER.MESHCollection.getMeshDimension(), and MEDSPLITTER.Topology.nbCells().

void MESHCollection::getTypeList ( int cell_list,
int  nb_cells,
MED_EN::medEntityMesh  entity,
MED_EN::medGeometryElement type_list 
) const

gets the list of types for global numbers cell_list

Parameters:
cell_listlist of global numbers
entityentity type
type_liston output, list of types for the cells given in cell_list

References MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._topology, MEDSPLITTER.Topology.convertGlobalCellList(), MEDSPLITTER.Topology.convertGlobalFaceList(), MED_EN.MED_CELL, MED_EN.MED_EDGE, MED_EN.MED_FACE, and MESSAGE_MED.

void MESHCollection::getCoordinates ( int node_list,
int  nb_nodes,
double coordinates 
) const

gets the list of coordinates for a given list of global node numbers

The vector containing the coordinates on output should have been allocated at a dimension _space_dimension * nb_nodes before the call

Parameters:
node_listlist of global node numbers
nb_nodesnumber of nodes in the list
coordinateson output, contains the coordinates

References MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._topology, MEDSPLITTER.Topology.convertGlobalNodeList(), MEDSPLITTER.MESHCollection.getSpaceDimension(), and MED_EN.MED_FULL_INTERLACE.

void MESHCollection::getNodeConnectivity ( const int cell_list,
int  nb_cells,
MED_EN::medEntityMesh  entity,
MED_EN::medGeometryElement  type,
int type_connectivity 
) const

gets the connectivity for a certain type

The output array type_connectivity should have been allocated at dimension nbnode_per_type* nb_cells before the call

Parameters:
cell_listlist of elements (global cell numbers) for which the connectivity is required
nb_cellsnumber of elements
entitytype of entity for which the nodal connectivity is required
typetype of the elements for which the connectivity is required
type_connectivityon output contains the connectivity of all the elements of the list

References MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._topology, testRenumbering.conn, testRenumbering.conn_index, MEDSPLITTER.Topology.convertGlobalCellList(), MEDSPLITTER.Topology.convertGlobalFaceList(), MEDSPLITTER.Topology.convertNodeToGlobal(), MED_EN.MED_ALL_ELEMENTS, MED_EN.MED_CELL, MED_EN.MED_EDGE, MED_EN.MED_FACE, MED_EN.MED_NODAL, and MEDSPLITTER.Topology.nbDomain().

void MESHCollection::getPolygonNodeConnectivity ( const int cell_list,
int  nb_cells,
MED_EN::medEntityMesh  entity,
vector< int > &  type_connectivity,
vector< int > &  connectivity_index 
) const

gets the connectivity for MED_POLYGON type

Parameters:
cell_listlist of elements (global cell numbers) for which the connectivity is required
nb_cellsnumber of elements
entitytype of entity for which the nodal connectivity is required
type_connectivityon output contains the connectivity of all the elements of the list
connectivity_indexon output contains the connectivity index for all polygons

References MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._topology, testRenumbering.conn, testRenumbering.conn_index, MEDSPLITTER.Topology.convertGlobalCellList(), MEDSPLITTER.Topology.convertGlobalFaceList(), MEDSPLITTER.Topology.convertNodeToGlobal(), MED_EN.MED_ALL_ELEMENTS, MED_EN.MED_CELL, MED_EN.MED_EDGE, MED_EN.MED_FACE, MED_EN.MED_NODAL, MED_EN.MED_POLYGON, and MEDSPLITTER.Topology.nbDomain().

void MESHCollection::getPolyhedraNodeConnectivity ( const int cell_list,
int  nb_cells,
MED_EN::medEntityMesh  entity,
vector< int > &  type_connectivity,
vector< int > &  connectivity_index 
) const

gets the connectivity for MED_POLYHEDRA type

Parameters:
cell_listlist of elements (global cell numbers) for which the connectivity is required
nb_cellsnumber of elements
entitytype of entity for which the nodal connectivity is required
type_connectivityon output contains the connectivity of all the elements of the list
connectivity_indexon output contains the connectivity index for all polygons

References MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._topology, testRenumbering.conn, testRenumbering.conn_index, MEDSPLITTER.Topology.convertGlobalCellList(), MEDSPLITTER.Topology.convertGlobalFaceList(), MEDSPLITTER.Topology.convertNodeToGlobal(), MED_EN.MED_ALL_ELEMENTS, MED_EN.MED_CELL, MED_EN.MED_EDGE, MED_EN.MED_FACE, MED_EN.MED_NODAL, MED_EN.MED_POLYHEDRA, and MEDSPLITTER.Topology.nbDomain().

void MESHCollection::getFaceConnectivity ( const int cell_list,
int  nb_cells,
MED_EN::medEntityMesh  entity,
MED_EN::medGeometryElement  type,
int type_connectivity 
) const

gets the descending connectivity for a certain type

The output array type_connectivity should have been allocated at dimension nbnode_per_type* nb_cells before the call

Parameters:
cell_listlist of elements (global cell numbers) for which the connectivity is required
nb_cellsnumber of elements
entitytype of entity for which the nodal connectivity is required
typetype of the elements for which the connectivity is required
type_connectivityon output contains the connectivity of all the elements of the list

References MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._topology, testRenumbering.conn, MEDSPLITTER.Topology.convertFaceToGlobal(), MEDSPLITTER.Topology.convertGlobalCellList(), MEDSPLITTER.Topology.convertGlobalFaceList(), MED_EN.MED_CELL, MED_EN.MED_DESCENDING, MED_EN.MED_EDGE, MED_EN.MED_FACE, MEDSPLITTER.Topology.nbDomain(), and medClient_test.types.

int MESHCollection::getMeshDimension ( ) const
int MESHCollection::getSpaceDimension ( ) const
string MESHCollection::getSystem ( ) const

retrieves the type of coordinates system

References MEDSPLITTER.MESHCollection._i_non_empty_mesh, and MEDSPLITTER.MESHCollection._mesh.

string MESHCollection::getMeshName ( ) const
MED_EN::medEntityMesh MESHCollection::getSubEntity ( ) const
vector< MEDMEM::MESH * > & MESHCollection::getMesh ( )
MEDMEM::MESH * MESHCollection::getMesh ( int  idomain) const
vector< MEDMEM::CONNECTZONE * > & MESHCollection::getCZ ( )
Topology * MESHCollection::getTopology ( ) const
void MESHCollection::setTopology ( Topology topology)
string MEDSPLITTER.MESHCollection.getName ( ) const
void MEDSPLITTER.MESHCollection.setName ( const string &  name)

References medClient_test.name.

string MEDSPLITTER.MESHCollection.getDescription ( ) const
void MEDSPLITTER.MESHCollection.setDescription ( const string &  name)

References medClient_test.name.

void MESHCollection::castFamilies ( const MESHCollection old_collection)
void MESHCollection::castSupport ( const MESHCollection old_collection,
std::vector< const MEDMEM::SUPPORT * > &  old_support,
std::vector< MEDMEM::SUPPORT * > &  new_support 
)
void MESHCollection::castAllFields ( const MESHCollection old_collection)
void MESHCollection::castField ( const MESHCollection old_collection,
const string &  fieldname,
int  itnumber,
int  ordernumber 
)

casts one specific field to the new mesh collection

References MEDSPLITTER.MESHCollection.getDriver(), MEDSPLITTER.MESHCollectionDriver.getFieldType(), and medClient_test.type.

void MESHCollection::setIndivisibleGroup ( const string &  a)
void MESHCollection::buildConnectZones ( )

constructing connect zones

building Connect Zones for storing the informations of the connectivity

References MEDSPLITTER.MESHCollection._cell_graph, MEDSPLITTER.MESHCollection._connect_zones, MEDSPLITTER.MESHCollection._domain_selector, MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._subdomain_boundary_creates, MEDSPLITTER.MESHCollection._topology, MEDSPLITTER.MESHCollection.addJointGroup(), med_test1.begin, MEDSPLITTER.MESHCollection.buildConnectZonesBetweenProcs(), MEDSPLITTER.Topology.computeCellCellCorrespondencies(), MEDSPLITTER.Topology.computeNodeNodeCorrespondencies(), testRenumbering.conn, medClient_test.connectivity, MEDSPLITTER.Topology.convertGlobalFace(), MEDSPLITTER.ParaDomainSelector.exchangeSubentityIds(), MEDSPLITTER.ParaDomainSelector.gatherEntityTypesInfo(), MEDSPLITTER.MESHCollection.getCommonFace(), MEDMEM.MESH.getConnectivityptr(), MEDMEM.CONNECTZONE.getDistantDomainNumber(), MEDSPLITTER.Topology.getFaceNumber(), MEDSPLITTER.MESHCollection.getFaces(), MEDSPLITTER.ParaDomainSelector.getFisrtGlobalIdOfSubentity(), MEDMEM.MEDSKYLINEARRAY.getIndex(), MEDMEM.CONNECTZONE.getLocalDomainNumber(), MEDSPLITTER.ParaDomainSelector.getNbCellPairs(), MEDMEM.MEDSKYLINEARRAY.getNumberOf(), MEDSPLITTER.MESHCollection.getSubEntity(), MEDSPLITTER.MEDSPLITTER_FaceModel.getType(), MEDMEM.MEDSKYLINEARRAY.getValue(), medClient_test.index, MEDSPLITTER.ParaDomainSelector.isMyDomain(), MEDSPLITTER.MESHCollection.isParallelMode(), MED_EN.MED_CELL, MEDSPLITTER.Topology.nbDomain(), MEDSPLITTER.Topology.recreateFaceMapping(), MEDMEM.MESHING.setConnectivity(), MEDMEM.CONNECTZONE.setDistantDomainNumber(), MEDMEM.CONNECTZONE.setDistantMesh(), MEDMEM.CONNECTZONE.setEntityCorresp(), MEDMEM.CONNECTZONE.setLocalDomainNumber(), MEDMEM.CONNECTZONE.setLocalMesh(), MEDSPLITTER.MESHCollection.setName(), MEDMEM.CONNECTZONE.setNodeCorresp(), MEDMEM.MESHING.setNumberOfElements(), MEDMEM.MESHING.setNumberOfTypes(), MEDMEM.MESHING.setTypes(), test_NonCoincidentDEC.size, medClient_test.types, and batchmode_medcorba_test.value.

void MESHCollection::buildConnectZonesBetweenProcs ( std::vector< std::map< MED_EN::medGeometryElement, std::vector< MEDSPLITTER_FaceModel * > > > &  ,
map< pair< int, int >, MEDMEM::MEDSKYLINEARRAY * > &  local_cell_cell_correspondency 
)
void MESHCollection::addJointGroup ( const std::vector< int > &  loc_face_ids,
int  idomain,
int  idistant 
)

Adds a group of joint faces.

building Connect Zones for storing the informations of the connectivity

The connect zones are created for every domain that has common nodes with domain idomain

Parameters:
idomaindomain number for which the connect zones are created
loc_face_ids- local numbers of faces
idomian- domain index where faces are local
idistant- the other domain index

References MEDSPLITTER.MESHCollection._mesh, MEDMEM.MESHING.addGroup(), MEDMEM.MESH.getElementType(), MEDMEM.GMESH.getGroups(), MEDSPLITTER.MESHCollection.getName(), MEDSPLITTER.MESHCollection.getSubEntity(), MEDMEM.RCBASE.removeReference(), test_NonCoincidentDEC.size, medClient_test.type, and medClient_test.types.

static bool MEDSPLITTER.MESHCollection.isDimensionOK ( MED_EN::medGeometryElement  type,
int  dim 
) [static]
void MEDSPLITTER.MESHCollection.setSubdomainBoundaryCreates ( bool  flag)
bool MEDSPLITTER.MESHCollection.getSubdomainBoundaryCreates ( )
void MEDSPLITTER.MESHCollection.setFamilySplitting ( bool  flag)
bool MEDSPLITTER.MESHCollection.getFamilySplitting ( )
void MEDSPLITTER.MESHCollection.setCreateEmptyGroups ( bool  flag)
bool MEDSPLITTER.MESHCollection.getCreateEmptyGroups ( )
void MESHCollection::createNodalConnectivity ( const MESHCollection initial_collection,
int  idomain,
MED_EN::medEntityMesh  entity 
) [private]
void MESHCollection::treatIndivisibleRegions ( int indivisible_tag) [private]

creates the tags for indivisible groups

Browses the domains and the regions that have been marked as indivisible in order to create a vector the dimlension of which is the total number of cells, and that contains 0 if the cell belongs to no indivisible group and that contains an integer corresponding to the group otherwise.

Parameters:
indivisible_tagon input is an int* allocated as int[nbcells] on output contains the tags

References MEDSPLITTER.MESHCollection._indivisible_regions, MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._topology, MEDSPLITTER.Topology.convertCellToGlobal(), MEDMEM.SUPPORT.getName(), MEDMEM.SUPPORT.getNumber(), MEDMEM.SUPPORT.getNumberOfElements(), med_test1.group, MED_EN.MED_ALL_ELEMENTS, MED_EN.MED_CELL, MEDSPLITTER.Topology.nbCells(), MEDSPLITTER.Topology.nbDomain(), and MEDSPLITTER.trim().

template<class T >
void MEDSPLITTER.MESHCollection.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 MESHCollection::getFaces ( int  idomain,
std::map< MED_EN::medGeometryElement, std::vector< MEDSPLITTER_FaceModel * > > &   
) [private]
MEDSPLITTER_FaceModel * MESHCollection::getCommonFace ( int  ip1,
int  ilocal1,
int  ip2,
int  ilocal2,
int  face_index 
) [private]

retrieves the face that is common to two cells located on two different processors

Parameters:
ip1domain id for cell 1
ilocal1cell id for cell 1
ip2domain id for cell 2
ilocal2cell id for cell 2
face_indexglobal index for the newly created face

References MEDSPLITTER.MESHCollection._mesh, MEDSPLITTER.MESHCollection._topology, med_test_grid.conn1, MEDSPLITTER.Topology.convertNodeToGlobal(), MED_EN.MED_ALL_ELEMENTS, MED_EN.MED_CELL, and MED_EN.MED_NODAL.

template<class TID2CONN >
void MESHCollection::fillGlobalConnectivity ( TID2CONN &  node2cell,
TID2CONN &  cell2node 
) [private]

Field Documentation

link to mesh_collection topology

control over topology

boost::shared_ptr<Graph> MEDSPLITTER.MESHCollection._cell_graph [private]

link to graph

Driver for read/write operations.

Parallelizer - mark of parallel execution mode.

links to meshes

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

links to connectzones

std::vector<std::string> MEDSPLITTER.MESHCollection._indivisible_regions [private]

list of groups that are not to be splitted

name of global mesh

description of global mesh

specifies the driver associated to the collection

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

flag specifying that families must be preserved by the splitting

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

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