Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::mesh::EmptyMesh Class Reference
Inheritance diagram for Arcane::mesh::EmptyMesh:
Collaboration diagram for Arcane::mesh::EmptyMesh:

Public Member Functions

 EmptyMesh (ITraceMng *trace_mng)
MeshHandle handle () const override
 Handle on this mesh.
VariableNodeReal3nodesCoordinates () override
 Node coordinates.
void setDimension (Integer) override
 Positions the mesh dimension (1D, 2D, or 3D).
void reloadMesh () override
 Reloads the mesh from protected variables.
void allocateCells (Integer, Int64ConstArrayView, bool) override
 Allocation of a mesh.
void endAllocate () override
 Indicates the end of cell allocation.
void deallocate () override
 Deallocates the mesh.
VariableItemInt32itemsNewOwner (eItemKind) override
 Variable containing the identifier of the owning subdomain.
void exchangeItems () override
 Changes the owning subdomains of entities.
void setOwnersFromCells () override
 Positions entity owners based on the cell owner.
void setMeshPartInfo (const MeshPartInfo &) override
 Positions partitioning information.
String name () const override
 Mesh name.
Integer nbNode () override
 Number of mesh nodes.
Integer nbEdge () override
 Number of mesh edges.
Integer nbFace () override
 Number of mesh faces.
Integer nbCell () override
 Number of mesh cells.
Integer nbItem (eItemKind) override
 Number of elements of type ik.
ITraceMngtraceMng () override
 Associated message manager.
Integer dimension () override
 Mesh dimension (1D, 2D, or 3D).
NodeGroup allNodes () override
 Group of all nodes.
EdgeGroup allEdges () override
 Group of all edges.
FaceGroup allFaces () override
 Group of all faces.
CellGroup allCells () override
 Group of all cells.
NodeGroup ownNodes () override
 Group of all domain-specific nodes.
EdgeGroup ownEdges () override
 Group of all domain-specific edges.
FaceGroup ownFaces () override
 Group of all domain-specific faces.
CellGroup ownCells () override
 Group of all domain-specific cells.
FaceGroup outerFaces () override
 Group of all faces on the boundary.
IItemFamilycreateItemFamily (eItemKind, const String &) override
 Create a particle family named name.
IItemFamilyfindItemFamily (eItemKind, const String &, bool, bool) override
 Returns the family named name.
IItemFamilyfindItemFamily (const String &, bool) override
 Returns the family named name.
IItemFamilyModifierfindItemFamilyModifier (eItemKind, const String &) override
 Returns the IItemFamilyModifier interface for the family named name and of type ik.
IItemFamilyitemFamily (eItemKind) override
 Returns the entity family of type ik.
IItemFamilynodeFamily () override
 Returns the node family.
IItemFamilyedgeFamily () override
 Returns the edge family.
IItemFamilyfaceFamily () override
 Returns the face family.
IItemFamilycellFamily () override
 Returns the cell family.
IItemFamilyCollection itemFamilies () override
void build () override
String factoryName () const override
 Name of the factory used to create the mesh.
ItemInternalList itemsInternal (eItemKind) override
 Internal array of mesh elements of type type.
SharedVariableNodeReal3 sharedNodesCoordinates () override
 Node coordinates.
void checkValidMesh () override
 Check for the validity of internal mesh structures (internal).
void checkValidMeshFull () override
 Mesh validity check.
void synchronizeGroupsAndVariables () override
 Synchronizes all mesh groups and variables.
bool isAllocated () override
 True if the mesh is allocated.
Int64 timestamp () override
 Counter indicating the time of the last mesh modification.
ISubDomainsubDomain () override
IParallelMngparallelMng () override
 Parallelism manager.
VariableScalarInteger connectivity () override
 Connectivity descriptor.
CellGroup allActiveCells () override
CellGroup ownActiveCells () override
 Group of all active cells specific to the domain.
CellGroup allLevelCells (const Integer &) override
 Group of all cells of level level.
CellGroup ownLevelCells (const Integer &) override
 Group of all cells specific to the domain of level level.
FaceGroup allActiveFaces () override
 Group of all active faces.
FaceGroup ownActiveFaces () override
 Group of all active faces specific to the domain.
FaceGroup innerActiveFaces () override
 Group of all active faces.
FaceGroup outerActiveFaces () override
 Group of all active faces on the boundary.
ItemGroupCollection groups () override
 List of groups.
ItemGroup findGroup (const String &) override
 Returns the group with name name or a null group if none exists.
void destroyGroups () override
 Destroys all groups of all families.
MeshItemInternalListmeshItemInternalList () override
void updateGhostLayers (bool) override
void serializeCells (ISerializer *, Int32ConstArrayView) override
void prepareForDump () override
 Prepares the instance for dumping.
void initializeVariables (const XmlNode &) override
 Initializes variables with values from the configuration file (internal).
void setCheckLevel (Integer) override
 Sets the mesh check level.
Integer checkLevel () const override
 Current check level.
bool isDynamic () const override
 Indicates if the mesh is dynamic (can evolve).
bool isAmrActivated () const override
void computeTiedInterfaces (const XmlNode &) override
 Determines the semi-conforming interfaces.
bool hasTiedInterface () override
 True if semi-conforming interfaces exist in the mesh.
TiedInterfaceCollection tiedInterfaces () override
 List of semi-conforming interfaces.
IMeshPartitionConstraintMngpartitionConstraintMng () override
 Manager of partitioning constraints associated with this mesh.
IMeshUtilitiesutilities () override
 Associated utility functions interface.
Propertiesproperties () override
 Properties associated with this mesh.
IMeshModifiermodifier () override
 Associated modifier interface.
void defineParentForBuild (IMesh *, ItemGroup) override
 Defines the parent mesh and group.
IMeshparentMesh () const override
 Access to the parent mesh.
ItemGroup parentGroup () const override
 Parent group.
void addChildMesh (IMesh *) override
 Adds a sub-mesh to the parent mesh.
MeshCollection childMeshes () const override
 List of sub-meshes of the current mesh.
bool isPrimaryMesh () const override
 Indicates if the instance is a primary mesh.
IPrimaryMeshtoPrimaryMesh () override
 Returns the instance in the form of an IPrimaryMesh.
IUserDataListuserDataList () override
 Associated user data manager.
const IUserDataListuserDataList () const override
 Associated user data manager.
IGhostLayerMngghostLayerMng () const override
 Associated ghost layer manager.
IMeshUniqueIdMngmeshUniqueIdMng () const override
 Unique ID numbering manager.
IMeshCheckerchecker () const override
 Checker interface.
const MeshPartInfomeshPartInfo () const override
 Mesh part information.
bool useMeshItemFamilyDependencies () const override
 check if the network itemFamily dependencies is activated
IItemFamilyNetworkitemFamilyNetwork () override
 Family network interface (connected families).
IIndexedIncrementalItemConnectivityMngindexedConnectivityMng () override
 Interface of the indexed incremental connectivity manager.
IMeshCompactMng_compactMng () override
InternalConnectivityPolicy _connectivityPolicy () const override
 Connectivity usage policy.
IMeshMngmeshMng () const override
 Associated mesh manager.
IVariableMngvariableMng () const override
 Associated variable manager.
ItemTypeMngitemTypeMng () const override
 Associated entity type manager.
void computeSynchronizeInfos () override
 Recalculates synchronization information.
IMeshInternal_internalApi () override
 Internal Arcane API.
Public Member Functions inherited from Arcane::IPrimaryMesh
virtual IMeshInitialAllocatorinitialAllocator ()
 Specific initial allocator.
Public Member Functions inherited from Arcane::IMesh
 ARCANE_DEPRECATED_LONG_TERM ("Y2020: Do not use this method. Try to get 'ISubDomain' from another way") virtual ISubDomain *subDomain()=0
 Associated subdomain.
virtual const MeshKind meshKind () const =0
 Mesh characteristics.
virtual EventObservable< const MeshEventArgs & > & eventObservable (eMeshEventType type)=0
 Observable for an event.

Public Attributes

ITraceMngm_trace_mng

Private Member Functions

void _error () const

Detailed Description

Definition at line 58 of file EmptyMesh.h.

Constructor & Destructor Documentation

◆ EmptyMesh()

Arcane::mesh::EmptyMesh::EmptyMesh ( ITraceMng * trace_mng)
inlineexplicit

Definition at line 66 of file EmptyMesh.h.

Member Function Documentation

◆ _compactMng()

IMeshCompactMng * Arcane::mesh::EmptyMesh::_compactMng ( )
inlineoverridevirtual

Implements Arcane::IMesh.

Definition at line 517 of file EmptyMesh.h.

◆ _connectivityPolicy()

InternalConnectivityPolicy Arcane::mesh::EmptyMesh::_connectivityPolicy ( ) const
inlineoverridevirtual

Connectivity usage policy.

Implements Arcane::IMesh.

Definition at line 522 of file EmptyMesh.h.

◆ _error()

void Arcane::mesh::EmptyMesh::_error ( ) const
inlineprivate

Definition at line 73 of file EmptyMesh.h.

◆ _internalApi()

IMeshInternal * Arcane::mesh::EmptyMesh::_internalApi ( )
inlineoverridevirtual

Internal Arcane API.

Implements Arcane::IMesh.

Definition at line 551 of file EmptyMesh.h.

References ARCANE_THROW.

◆ addChildMesh()

void Arcane::mesh::EmptyMesh::addChildMesh ( IMesh * sub_mesh)
inlineoverridevirtual

Adds a sub-mesh to the parent mesh.

Implements Arcane::IMesh.

Definition at line 447 of file EmptyMesh.h.

◆ allActiveCells()

CellGroup Arcane::mesh::EmptyMesh::allActiveCells ( )
inlineoverridevirtual

AMR Group of all active cells

Implements Arcane::IMesh.

Definition at line 308 of file EmptyMesh.h.

◆ allActiveFaces()

FaceGroup Arcane::mesh::EmptyMesh::allActiveFaces ( )
inlineoverridevirtual

Group of all active faces.

Implements Arcane::IMesh.

Definition at line 328 of file EmptyMesh.h.

◆ allCells()

CellGroup Arcane::mesh::EmptyMesh::allCells ( )
inlineoverridevirtual

Group of all cells.

Implements Arcane::IMeshBase.

Definition at line 165 of file EmptyMesh.h.

◆ allEdges()

EdgeGroup Arcane::mesh::EmptyMesh::allEdges ( )
inlineoverridevirtual

Group of all edges.

Implements Arcane::IMeshBase.

Definition at line 155 of file EmptyMesh.h.

◆ allFaces()

FaceGroup Arcane::mesh::EmptyMesh::allFaces ( )
inlineoverridevirtual

Group of all faces.

Implements Arcane::IMeshBase.

Definition at line 160 of file EmptyMesh.h.

◆ allLevelCells()

CellGroup Arcane::mesh::EmptyMesh::allLevelCells ( const Integer & level)
inlineoverridevirtual

Group of all cells of level level.

Implements Arcane::IMesh.

Definition at line 318 of file EmptyMesh.h.

◆ allNodes()

NodeGroup Arcane::mesh::EmptyMesh::allNodes ( )
inlineoverridevirtual

Group of all nodes.

Implements Arcane::IMeshBase.

Definition at line 150 of file EmptyMesh.h.

◆ allocateCells()

void Arcane::mesh::EmptyMesh::allocateCells ( Integer nb_cell,
Int64ConstArrayView cells_infos,
bool one_alloc )
inlineoverridevirtual

Allocation of a mesh.

Creation of an arbitrary mesh.

This method is the most generic of the mesh creation methods. It is used when you only know the cells and the list of their nodes based on their unique global number.

This operation allocates the structures for the mesh containing a number of cells equal to nb_cell, the cells being described by the array cells_infos.

Since the node numbers are unique numbers, their value can be arbitrary: it is not necessary to start at zero, nor must the numbers be consecutive. The implementation handles determining the number of nodes in the mesh.

For example, if we have two cells, the first of type IT_Hexaedron8, with unique number 23, and the second of type IT_Tetraedron4 with unique number 45, the array cells_infos will contain 16 elements, distributed as follows:

cells_infos[0] = IT_Hexaedron8
cells_infos[1] = 23
cells_infos[2...9] = The 8 nodes of the cell
cells_infos[10] = IT_Tetraedron4
cells_infos[11] = 45
cells_infos[12...15] = The 4 nodes of the cell

If nb_cell is zero and cells_infos is not empty, the number of cells is determined dynamically. The array cells_infos is iterated until the end of the array is reached or a cell of type IT_NullType is encountered.

If one_alloc is true, the endAllocate() operation is called to indicate that no other cells will be added. It is possible to allocate the mesh in several steps by setting one_alloc to false and calling endAllocate() at the end.

Warning
When calling this function, the current mesh and all groups are destroyed. This method should only be used to create the initial mesh. If you want to add or remove cells, you must use the IMeshModifier::addCells() or IMeshModifier::removeCells() methods.

Implements Arcane::IPrimaryMesh.

Definition at line 94 of file EmptyMesh.h.

◆ build()

void Arcane::mesh::EmptyMesh::build ( )
inlineoverridevirtual

Implements Arcane::IMesh.

Definition at line 251 of file EmptyMesh.h.

◆ cellFamily()

IItemFamily * Arcane::mesh::EmptyMesh::cellFamily ( )
inlineoverridevirtual

Returns the cell family.

Implements Arcane::IMeshBase.

Definition at line 238 of file EmptyMesh.h.

◆ checker()

IMeshChecker * Arcane::mesh::EmptyMesh::checker ( ) const
inlineoverridevirtual

Checker interface.

Implements Arcane::IMesh.

Definition at line 488 of file EmptyMesh.h.

◆ checkLevel()

Integer Arcane::mesh::EmptyMesh::checkLevel ( ) const
inlineoverridevirtual

Current check level.

Implements Arcane::IMesh.

Definition at line 378 of file EmptyMesh.h.

◆ checkValidMesh()

void Arcane::mesh::EmptyMesh::checkValidMesh ( )
inlineoverridevirtual

Check for the validity of internal mesh structures (internal).

Implements Arcane::IMesh.

Definition at line 267 of file EmptyMesh.h.

◆ checkValidMeshFull()

void Arcane::mesh::EmptyMesh::checkValidMeshFull ( )
inlineoverridevirtual

Mesh validity check.

This is a global check across all subdomains.

It notably checks that connectivity is consistent between subdomains.

The check can be quite CPU intensive. This method is collective.

Implements Arcane::IMesh.

Definition at line 268 of file EmptyMesh.h.

◆ childMeshes()

MeshCollection Arcane::mesh::EmptyMesh::childMeshes ( ) const
inlineoverridevirtual

List of sub-meshes of the current mesh.

Implements Arcane::IMesh.

Definition at line 448 of file EmptyMesh.h.

◆ computeSynchronizeInfos()

void Arcane::mesh::EmptyMesh::computeSynchronizeInfos ( )
inlineoverridevirtual

Recalculates synchronization information.

This operation is collective.

Normally this is done automatically by Arcane when it is necessary. However, it can happen following certain internal modifications that the information for synchronization needs to be manually updated.

Implements Arcane::IMesh.

Definition at line 546 of file EmptyMesh.h.

References ARCANE_THROW.

◆ computeTiedInterfaces()

void Arcane::mesh::EmptyMesh::computeTiedInterfaces ( const XmlNode & mesh_node)
inlineoverridevirtual

Determines the semi-conforming interfaces.

Implements Arcane::IMesh.

Definition at line 396 of file EmptyMesh.h.

◆ connectivity()

VariableScalarInteger Arcane::mesh::EmptyMesh::connectivity ( )
inlineoverridevirtual

Connectivity descriptor.

This object allows reading/modifying connectivity

Implements Arcane::IMesh.

Definition at line 302 of file EmptyMesh.h.

◆ createItemFamily()

IItemFamily * Arcane::mesh::EmptyMesh::createItemFamily ( eItemKind ik,
const String & name )
inlineoverridevirtual

Create a particle family named name.

Implements Arcane::IMeshBase.

Definition at line 198 of file EmptyMesh.h.

◆ deallocate()

void Arcane::mesh::EmptyMesh::deallocate ( )
inlineoverridevirtual

Deallocates the mesh.

This deletes all entities and all entity groups. The mesh must then be reallocated via the call to allocateCells(). This call also deletes the mesh dimension, which must be reset by setDimension(). It is therefore possible to change the mesh dimension afterward.

This method is collective.

Warning
This method is experimental and many edge effects are possible. Notably, the current implementation does not support deallocation when there are partial variables on the mesh.

Implements Arcane::IPrimaryMesh.

Definition at line 96 of file EmptyMesh.h.

◆ defineParentForBuild()

void Arcane::mesh::EmptyMesh::defineParentForBuild ( IMesh * mesh,
ItemGroup group )
inlineoverridevirtual

Defines the parent mesh and group.

Must be set on the mesh being constructed before the build() phase

Implements Arcane::IMesh.

Definition at line 436 of file EmptyMesh.h.

◆ destroyGroups()

void Arcane::mesh::EmptyMesh::destroyGroups ( )
inlineoverridevirtual

Destroys all groups of all families.

Implements Arcane::IMesh.

Definition at line 361 of file EmptyMesh.h.

◆ dimension()

Integer Arcane::mesh::EmptyMesh::dimension ( )
inlineoverridevirtual

Mesh dimension (1D, 2D, or 3D).

The dimension corresponds to the dimension of the cells. If cells of multiple dimensions are present, the highest dimension is returned. If the dimension has not yet been set, returns -1;

Implements Arcane::IMeshBase.

Definition at line 145 of file EmptyMesh.h.

◆ edgeFamily()

IItemFamily * Arcane::mesh::EmptyMesh::edgeFamily ( )
inlineoverridevirtual

Returns the edge family.

Implements Arcane::IMeshBase.

Definition at line 228 of file EmptyMesh.h.

◆ endAllocate()

void Arcane::mesh::EmptyMesh::endAllocate ( )
inlineoverridevirtual

Indicates the end of cell allocation.

As long as this method has not been called, it is not valid to use this instance, except for allocating the mesh (allocateCells()).

This method is collective.

Implements Arcane::IPrimaryMesh.

Definition at line 95 of file EmptyMesh.h.

◆ exchangeItems()

void Arcane::mesh::EmptyMesh::exchangeItems ( )
inlineoverridevirtual

Changes the owning subdomains of entities.

This method is called when load balancing and redistributing the mesh between processors is desired. The method assumes that the IItemsFamily::itemsOwner() variables for each type of mesh entity (node, edge, face, and cell) contain the number of the new owning subdomain for each entity. These variables must be synchronized.

The instance then takes care of giving the cells that belong to it to other processors and receiving new cells from them, and then doing the same for nodes, edges, faces, and particles. The values of the variables and entity groups are also exchanged.

After calling this method, you may need to call the mesh change entry points (ITimeLoopMng::execMeshChangedEntryPoints).

To call this method, isDynamic() must be true.

Calling this method triggers an implicit call to endUpdate().

Implements Arcane::IPrimaryMesh.

Definition at line 103 of file EmptyMesh.h.

◆ faceFamily()

IItemFamily * Arcane::mesh::EmptyMesh::faceFamily ( )
inlineoverridevirtual

Returns the face family.

Implements Arcane::IMeshBase.

Definition at line 233 of file EmptyMesh.h.

◆ factoryName()

String Arcane::mesh::EmptyMesh::factoryName ( ) const
inlineoverridevirtual

Name of the factory used to create the mesh.

Implements Arcane::IMesh.

Definition at line 252 of file EmptyMesh.h.

◆ findGroup()

ItemGroup Arcane::mesh::EmptyMesh::findGroup ( const String & name)
inlineoverridevirtual

Returns the group with name name or a null group if none exists.

Implements Arcane::IMesh.

Definition at line 356 of file EmptyMesh.h.

◆ findItemFamily() [1/2]

IItemFamily * Arcane::mesh::EmptyMesh::findItemFamily ( const String & name,
bool throw_exception )
inlineoverridevirtual

Returns the family named name.

If the requested family does not exist, if throw_exception is true, an exception is thrown, otherwise a null pointer is returned.

Implements Arcane::IMeshBase.

Definition at line 208 of file EmptyMesh.h.

◆ findItemFamily() [2/2]

IItemFamily * Arcane::mesh::EmptyMesh::findItemFamily ( eItemKind ik,
const String & name,
bool create_if_needed,
bool register_modifier_if_created )
inlineoverridevirtual

Returns the family named name.

If create_if_needed is true, the family is created if it did not exist. If register_modifier_if_created is true, the family modifier is registered

Implements Arcane::IMeshBase.

Definition at line 203 of file EmptyMesh.h.

◆ findItemFamilyModifier()

IItemFamilyModifier * Arcane::mesh::EmptyMesh::findItemFamilyModifier ( eItemKind ik,
const String & name )
inlineoverridevirtual

Returns the IItemFamilyModifier interface for the family named name and of type ik.

If this modifier is not found, returns nullptr

Implements Arcane::IMeshBase.

Definition at line 213 of file EmptyMesh.h.

◆ ghostLayerMng()

IGhostLayerMng * Arcane::mesh::EmptyMesh::ghostLayerMng ( ) const
inlineoverridevirtual

Associated ghost layer manager.

Implements Arcane::IMesh.

Definition at line 478 of file EmptyMesh.h.

◆ groups()

ItemGroupCollection Arcane::mesh::EmptyMesh::groups ( )
inlineoverridevirtual

List of groups.

Implements Arcane::IMesh.

Definition at line 351 of file EmptyMesh.h.

◆ handle()

MeshHandle Arcane::mesh::EmptyMesh::handle ( ) const
inlineoverridevirtual

Handle on this mesh.

Implements Arcane::IMeshBase.

Definition at line 77 of file EmptyMesh.h.

◆ hasTiedInterface()

bool Arcane::mesh::EmptyMesh::hasTiedInterface ( )
inlineoverridevirtual

True if semi-conforming interfaces exist in the mesh.

Implements Arcane::IMesh.

Definition at line 397 of file EmptyMesh.h.

◆ indexedConnectivityMng()

IIndexedIncrementalItemConnectivityMng * Arcane::mesh::EmptyMesh::indexedConnectivityMng ( )
inlineoverridevirtual

Interface of the indexed incremental connectivity manager.

Implements Arcane::IMesh.

Definition at line 509 of file EmptyMesh.h.

◆ initializeVariables()

void Arcane::mesh::EmptyMesh::initializeVariables ( const XmlNode & init_node)
inlineoverridevirtual

Initializes variables with values from the configuration file (internal).

Implements Arcane::IMesh.

Definition at line 376 of file EmptyMesh.h.

◆ innerActiveFaces()

FaceGroup Arcane::mesh::EmptyMesh::innerActiveFaces ( )
inlineoverridevirtual

Group of all active faces.

Implements Arcane::IMesh.

Definition at line 338 of file EmptyMesh.h.

◆ isAllocated()

bool Arcane::mesh::EmptyMesh::isAllocated ( )
inlineoverridevirtual

True if the mesh is allocated.

A mesh is allocated as soon as an entity has been added, by allocateCells(), or reloadMesh()

Implements Arcane::IMesh.

Definition at line 273 of file EmptyMesh.h.

◆ isAmrActivated()

bool Arcane::mesh::EmptyMesh::isAmrActivated ( ) const
inlineoverridevirtual

Implements Arcane::IMesh.

Definition at line 388 of file EmptyMesh.h.

◆ isDynamic()

bool Arcane::mesh::EmptyMesh::isDynamic ( ) const
inlineoverridevirtual

Indicates if the mesh is dynamic (can evolve).

Implements Arcane::IMesh.

Definition at line 383 of file EmptyMesh.h.

◆ isPrimaryMesh()

bool Arcane::mesh::EmptyMesh::isPrimaryMesh ( ) const
inlineoverridevirtual

Indicates if the instance is a primary mesh.

To be a primary mesh, the instance must be convertible to an IPrimaryMesh and not be a sub-mesh, meaning it does not have a parent mesh (parentMesh()==nullptr).

Implements Arcane::IMesh.

Definition at line 456 of file EmptyMesh.h.

◆ itemFamilies()

IItemFamilyCollection Arcane::mesh::EmptyMesh::itemFamilies ( )
inlineoverridevirtual

Implements Arcane::IMeshBase.

Definition at line 243 of file EmptyMesh.h.

◆ itemFamily()

IItemFamily * Arcane::mesh::EmptyMesh::itemFamily ( eItemKind ik)
inlineoverridevirtual

Returns the entity family of type ik.

Precondition
ik==IK_Node || ik==IK_Edge || ik==IK_Face || ik==IK_Cell

Implements Arcane::IMeshBase.

Definition at line 218 of file EmptyMesh.h.

◆ itemFamilyNetwork()

IItemFamilyNetwork * Arcane::mesh::EmptyMesh::itemFamilyNetwork ( )
inlineoverridevirtual

Family network interface (connected families).

Implements Arcane::IMesh.

Definition at line 504 of file EmptyMesh.h.

◆ itemsInternal()

ItemInternalList Arcane::mesh::EmptyMesh::itemsInternal ( eItemKind )
inlineoverridevirtual

Internal array of mesh elements of type type.

Implements Arcane::IMesh.

Definition at line 257 of file EmptyMesh.h.

◆ itemsNewOwner()

VariableItemInt32 & Arcane::mesh::EmptyMesh::itemsNewOwner ( eItemKind kind)
inlineoverridevirtual

Variable containing the identifier of the owning subdomain.

Returns the variable containing the identifier of the owning subdomain of entities of the given kind.

Warning
This variable is used for generating synchronization messages between subdomains and must not be modified.

Implements Arcane::IPrimaryMesh.

Definition at line 97 of file EmptyMesh.h.

◆ itemTypeMng()

ItemTypeMng * Arcane::mesh::EmptyMesh::itemTypeMng ( ) const
inlineoverridevirtual

Associated entity type manager.

Implements Arcane::IMesh.

Definition at line 540 of file EmptyMesh.h.

◆ meshItemInternalList()

MeshItemInternalList * Arcane::mesh::EmptyMesh::meshItemInternalList ( )
inlineoverridevirtual

Implements Arcane::IMesh.

Definition at line 365 of file EmptyMesh.h.

◆ meshMng()

IMeshMng * Arcane::mesh::EmptyMesh::meshMng ( ) const
inlineoverridevirtual

Associated mesh manager.

Implements Arcane::IMesh.

Definition at line 530 of file EmptyMesh.h.

◆ meshPartInfo()

const MeshPartInfo & Arcane::mesh::EmptyMesh::meshPartInfo ( ) const
inlineoverridevirtual

Mesh part information.

Implements Arcane::IMesh.

Definition at line 493 of file EmptyMesh.h.

◆ meshUniqueIdMng()

IMeshUniqueIdMng * Arcane::mesh::EmptyMesh::meshUniqueIdMng ( ) const
inlineoverridevirtual

Unique ID numbering manager.

Implements Arcane::IMesh.

Definition at line 483 of file EmptyMesh.h.

◆ modifier()

IMeshModifier * Arcane::mesh::EmptyMesh::modifier ( )
inlineoverridevirtual

Associated modifier interface.

Implements Arcane::IMesh.

Definition at line 428 of file EmptyMesh.h.

◆ name()

String Arcane::mesh::EmptyMesh::name ( ) const
inlineoverridevirtual

Mesh name.

Implements Arcane::IMeshBase.

Definition at line 110 of file EmptyMesh.h.

◆ nbCell()

Integer Arcane::mesh::EmptyMesh::nbCell ( )
inlineoverridevirtual

Number of mesh cells.

Implements Arcane::IMeshBase.

Definition at line 130 of file EmptyMesh.h.

◆ nbEdge()

Integer Arcane::mesh::EmptyMesh::nbEdge ( )
inlineoverridevirtual

Number of mesh edges.

Implements Arcane::IMeshBase.

Definition at line 120 of file EmptyMesh.h.

◆ nbFace()

Integer Arcane::mesh::EmptyMesh::nbFace ( )
inlineoverridevirtual

Number of mesh faces.

Implements Arcane::IMeshBase.

Definition at line 125 of file EmptyMesh.h.

◆ nbItem()

Integer Arcane::mesh::EmptyMesh::nbItem ( eItemKind ik)
inlineoverridevirtual

Number of elements of type ik.

Precondition
ik==IK_Node || ik==IK_Edge || ik==IK_Face || ik==IK_Cell

Implements Arcane::IMeshBase.

Definition at line 135 of file EmptyMesh.h.

◆ nbNode()

Integer Arcane::mesh::EmptyMesh::nbNode ( )
inlineoverridevirtual

Number of mesh nodes.

Implements Arcane::IMeshBase.

Definition at line 115 of file EmptyMesh.h.

◆ nodeFamily()

IItemFamily * Arcane::mesh::EmptyMesh::nodeFamily ( )
inlineoverridevirtual

Returns the node family.

Implements Arcane::IMeshBase.

Definition at line 223 of file EmptyMesh.h.

◆ nodesCoordinates()

VariableNodeReal3 & Arcane::mesh::EmptyMesh::nodesCoordinates ( )
inlineoverridevirtual

Node coordinates.

Implements Arcane::IPrimaryMesh.

Definition at line 86 of file EmptyMesh.h.

◆ outerActiveFaces()

FaceGroup Arcane::mesh::EmptyMesh::outerActiveFaces ( )
inlineoverridevirtual

Group of all active faces on the boundary.

Implements Arcane::IMesh.

Definition at line 343 of file EmptyMesh.h.

◆ outerFaces()

FaceGroup Arcane::mesh::EmptyMesh::outerFaces ( )
inlineoverridevirtual

Group of all faces on the boundary.

Implements Arcane::IMeshBase.

Definition at line 190 of file EmptyMesh.h.

◆ ownActiveCells()

CellGroup Arcane::mesh::EmptyMesh::ownActiveCells ( )
inlineoverridevirtual

Group of all active cells specific to the domain.

Implements Arcane::IMesh.

Definition at line 313 of file EmptyMesh.h.

◆ ownActiveFaces()

FaceGroup Arcane::mesh::EmptyMesh::ownActiveFaces ( )
inlineoverridevirtual

Group of all active faces specific to the domain.

Implements Arcane::IMesh.

Definition at line 333 of file EmptyMesh.h.

◆ ownCells()

CellGroup Arcane::mesh::EmptyMesh::ownCells ( )
inlineoverridevirtual

Group of all domain-specific cells.

Implements Arcane::IMeshBase.

Definition at line 185 of file EmptyMesh.h.

◆ ownEdges()

EdgeGroup Arcane::mesh::EmptyMesh::ownEdges ( )
inlineoverridevirtual

Group of all domain-specific edges.

Implements Arcane::IMeshBase.

Definition at line 175 of file EmptyMesh.h.

◆ ownFaces()

FaceGroup Arcane::mesh::EmptyMesh::ownFaces ( )
inlineoverridevirtual

Group of all domain-specific faces.

Implements Arcane::IMeshBase.

Definition at line 180 of file EmptyMesh.h.

◆ ownLevelCells()

CellGroup Arcane::mesh::EmptyMesh::ownLevelCells ( const Integer & level)
inlineoverridevirtual

Group of all cells specific to the domain of level level.

Implements Arcane::IMesh.

Definition at line 323 of file EmptyMesh.h.

◆ ownNodes()

NodeGroup Arcane::mesh::EmptyMesh::ownNodes ( )
inlineoverridevirtual

Group of all domain-specific nodes.

Implements Arcane::IMeshBase.

Definition at line 170 of file EmptyMesh.h.

◆ parallelMng()

IParallelMng * Arcane::mesh::EmptyMesh::parallelMng ( )
inlineoverridevirtual

Parallelism manager.

Implements Arcane::IMesh.

Definition at line 294 of file EmptyMesh.h.

◆ parentGroup()

ItemGroup Arcane::mesh::EmptyMesh::parentGroup ( ) const
inlineoverridevirtual

Parent group.

Returns the null group if the mesh has no parent.

Implements Arcane::IMesh.

Definition at line 442 of file EmptyMesh.h.

◆ parentMesh()

IMesh * Arcane::mesh::EmptyMesh::parentMesh ( ) const
inlineoverridevirtual

Access to the parent mesh.

Returns nullptr if the mesh does not have a parent mesh.

Implements Arcane::IMesh.

Definition at line 437 of file EmptyMesh.h.

◆ partitionConstraintMng()

IMeshPartitionConstraintMng * Arcane::mesh::EmptyMesh::partitionConstraintMng ( )
inlineoverridevirtual

Manager of partitioning constraints associated with this mesh.

Implements Arcane::IMesh.

Definition at line 407 of file EmptyMesh.h.

◆ prepareForDump()

void Arcane::mesh::EmptyMesh::prepareForDump ( )
inlineoverridevirtual

Prepares the instance for dumping.

Implements Arcane::IMesh.

Definition at line 375 of file EmptyMesh.h.

◆ properties()

Properties * Arcane::mesh::EmptyMesh::properties ( )
inlineoverridevirtual

Properties associated with this mesh.

Implements Arcane::IMesh.

Definition at line 420 of file EmptyMesh.h.

◆ reloadMesh()

void Arcane::mesh::EmptyMesh::reloadMesh ( )
inlineoverridevirtual

Reloads the mesh from protected variables.

Implements Arcane::IPrimaryMesh.

Definition at line 93 of file EmptyMesh.h.

◆ serializeCells()

void Arcane::mesh::EmptyMesh::serializeCells ( ISerializer * buffer,
Int32ConstArrayView cells_local_id )
inlineoverridevirtual
Deprecated
Use IMesh::cellFamily()->policyMng()->createSerializer() instead.

Implements Arcane::IMesh.

Definition at line 374 of file EmptyMesh.h.

◆ setCheckLevel()

void Arcane::mesh::EmptyMesh::setCheckLevel ( Integer level)
inlineoverridevirtual

Sets the mesh check level.

0 - tests disabled 1 - partial tests, after endUpdate() 2 - full tests, after endUpdate()

Implements Arcane::IMesh.

Definition at line 377 of file EmptyMesh.h.

◆ setDimension()

void Arcane::mesh::EmptyMesh::setDimension ( Integer dim)
inlineoverridevirtual

Positions the mesh dimension (1D, 2D, or 3D).

The dimension corresponds to the dimension of the cell elements. If cells of multiple dimensions are present, the highest dimension must be indicated.

The dimension must be set before allocating cells if one uses allocateCells(), and must not be modified afterward.

Implements Arcane::IPrimaryMesh.

Definition at line 92 of file EmptyMesh.h.

◆ setMeshPartInfo()

void Arcane::mesh::EmptyMesh::setMeshPartInfo ( const MeshPartInfo & mpi)
inlineoverridevirtual

Positions partitioning information.

Implements Arcane::IPrimaryMesh.

Definition at line 105 of file EmptyMesh.h.

◆ setOwnersFromCells()

void Arcane::mesh::EmptyMesh::setOwnersFromCells ( )
inlineoverridevirtual

Positions entity owners based on the cell owner.

Positions the owners of entities other than cells (Node, Edge, and Face) based on the cell owner. This operation is only useful in parallel and must only be called during initialization after the endAllocate() method.

This operation is collective.

Implements Arcane::IPrimaryMesh.

Definition at line 104 of file EmptyMesh.h.

◆ sharedNodesCoordinates()

SharedVariableNodeReal3 Arcane::mesh::EmptyMesh::sharedNodesCoordinates ( )
inlineoverridevirtual

Node coordinates.

Implements Arcane::IMesh.

Definition at line 262 of file EmptyMesh.h.

◆ subDomain()

ISubDomain * Arcane::mesh::EmptyMesh::subDomain ( )
inlineoverride

Definition at line 286 of file EmptyMesh.h.

◆ synchronizeGroupsAndVariables()

void Arcane::mesh::EmptyMesh::synchronizeGroupsAndVariables ( )
inlineoverridevirtual

Synchronizes all mesh groups and variables.

This operation is collective

Implements Arcane::IMesh.

Definition at line 269 of file EmptyMesh.h.

◆ tiedInterfaces()

TiedInterfaceCollection Arcane::mesh::EmptyMesh::tiedInterfaces ( )
inlineoverridevirtual

List of semi-conforming interfaces.

Implements Arcane::IMesh.

Definition at line 402 of file EmptyMesh.h.

◆ timestamp()

Int64 Arcane::mesh::EmptyMesh::timestamp ( )
inlineoverridevirtual

Counter indicating the time of the last mesh modification.

This counter increases with every call to endUpdate(). It is 0 upon initialization. It allows, for example, checking if the mesh topology has changed between two parts of the code.

Implements Arcane::IMesh.

Definition at line 278 of file EmptyMesh.h.

◆ toPrimaryMesh()

IPrimaryMesh * Arcane::mesh::EmptyMesh::toPrimaryMesh ( )
inlineoverridevirtual

Returns the instance in the form of an IPrimaryMesh.

Throws a BadCastException if the instance is not of type IPrimaryMesh and if isPrimaryMesh() is false.

Implements Arcane::IMesh.

Definition at line 461 of file EmptyMesh.h.

◆ traceMng()

ITraceMng * Arcane::mesh::EmptyMesh::traceMng ( )
inlineoverridevirtual

Associated message manager.

Implements Arcane::IMeshBase.

Definition at line 140 of file EmptyMesh.h.

◆ updateGhostLayers()

void Arcane::mesh::EmptyMesh::updateGhostLayers ( bool )
inlineoverridevirtual

Implements Arcane::IMesh.

Definition at line 373 of file EmptyMesh.h.

◆ useMeshItemFamilyDependencies()

bool Arcane::mesh::EmptyMesh::useMeshItemFamilyDependencies ( ) const
inlineoverridevirtual

check if the network itemFamily dependencies is activated

Implements Arcane::IMesh.

Definition at line 499 of file EmptyMesh.h.

◆ userDataList() [1/2]

const IUserDataList * Arcane::mesh::EmptyMesh::userDataList ( ) const
inlineoverridevirtual

Associated user data manager.

Implements Arcane::IMesh.

Definition at line 470 of file EmptyMesh.h.

◆ userDataList() [2/2]

IUserDataList * Arcane::mesh::EmptyMesh::userDataList ( )
inlineoverridevirtual

Associated user data manager.

Implements Arcane::IMesh.

Definition at line 465 of file EmptyMesh.h.

◆ utilities()

IMeshUtilities * Arcane::mesh::EmptyMesh::utilities ( )
inlineoverridevirtual

Associated utility functions interface.

Implements Arcane::IMesh.

Definition at line 415 of file EmptyMesh.h.

◆ variableMng()

IVariableMng * Arcane::mesh::EmptyMesh::variableMng ( ) const
inlineoverridevirtual

Associated variable manager.

Implements Arcane::IMesh.

Definition at line 535 of file EmptyMesh.h.

Member Data Documentation

◆ m_trace_mng

ITraceMng* Arcane::mesh::EmptyMesh::m_trace_mng

Definition at line 64 of file EmptyMesh.h.


The documentation for this class was generated from the following file: