Arcane  4.2.1.0
User documentation
Loading...
Searching...
No Matches
Arcane::IMeshSection Class Referenceabstract

Service interface allowing the creation of a mesh with a section of another mesh. More...

#include <arcane/core/IMeshSection.h>

Public Member Functions

virtual ~IMeshSection ()=default
 Releases resources.
virtual void addPlane (const Real3 &p0, const Real3 &normal)=0
 Method allowing to add a plane to the cut service. The use of these planes depends on the service.
virtual void setVariables (VariableCollection variables)=0
 Method allowing to add a set of variables to copy on the new mesh.
virtual VariableCollection variables ()=0
 Method allowing to get a set of variables copied on the new mesh.
virtual void setServiceMeshUniqueId (Int32 unique_id)=0
 Method allowing to set a unique id allowing to create multiple section services for a mesh.
virtual void updateSection ()=0
 Method allowing to update the mesh section with all planes.
virtual MeshHandle meshSection ()=0
 Méthod allowing to get the mesh section.

Detailed Description

Service interface allowing the creation of a mesh with a section of another mesh.

Definition at line 33 of file IMeshSection.h.

Member Function Documentation

◆ addPlane()

virtual void Arcane::IMeshSection::addPlane ( const Real3 & p0,
const Real3 & normal )
pure virtual

Method allowing to add a plane to the cut service. The use of these planes depends on the service.

Parameters
p0Point of the plane.
normalNormal of the plane.

◆ meshSection()

virtual MeshHandle Arcane::IMeshSection::meshSection ( )
pure virtual

Méthod allowing to get the mesh section.

Returns
The mesh section.

◆ setServiceMeshUniqueId()

virtual void Arcane::IMeshSection::setServiceMeshUniqueId ( Int32 unique_id)
pure virtual

Method allowing to set a unique id allowing to create multiple section services for a mesh.

Parameters
unique_idMesh unique id to apply.

◆ setVariables()

virtual void Arcane::IMeshSection::setVariables ( VariableCollection variables)
pure virtual

Method allowing to add a set of variables to copy on the new mesh.

Parameters
variablesA set of variable on the original mesh.

References variables().

◆ updateSection()

virtual void Arcane::IMeshSection::updateSection ( )
pure virtual

Method allowing to update the mesh section with all planes.

If a previous call has edited the mesh, all the cells will be destroyed before update.

◆ variables()

virtual VariableCollection Arcane::IMeshSection::variables ( )
pure virtual

Method allowing to get a set of variables copied on the new mesh.

Returns
A set of variables on the cloned mesh.

Referenced by setVariables().


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