Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Materials::IMeshMaterial Class Referenceabstract

Interface of a mesh material. More...

#include <arcane/core/materials/IMeshMaterial.h>

Inheritance diagram for Arcane::Materials::IMeshMaterial:
Collaboration diagram for Arcane::Materials::IMeshMaterial:

Public Member Functions

virtual MeshMaterialInfoinfos () const =0
 Material information.
virtual IMeshEnvironmentenvironment () const =0
 Environment to which this material belongs.
virtual IUserMeshMaterialuserMaterial () const =0
 Associated user material.
virtual void setUserMaterial (IUserMeshMaterial *umm)=0
 Sets the associated user material.
virtual MatCell findMatCell (AllEnvCell c) const =0
 Cell of this material for cell c.
virtual MatItemVectorView matView () const =0
 View associated with this material.
virtual MatPurePartItemVectorView pureMatItems () const =0
 View on the list of pure entities (associated with the global cell) of the material.
virtual MatImpurePartItemVectorView impureMatItems () const =0
 View on the list of impure (partial) entities of the material.
virtual MatPartItemVectorView partMatItems (eMatPart part) const =0
 View on the pure or impure part of the material entities.
void setImiInfo (Int32 first_imi, Int32 nb_imi)
Int32 firstImi () const
Int32 nbImi () const
Public Member Functions inherited from Arcane::Materials::IMeshComponent
virtual IMeshMaterialMngmaterialMng ()=0
 Associated manager.
virtual ITraceMngtraceMng ()=0
 Associated trace manager.
virtual String name () const =0
 Component name.
virtual CellGroup cells () const =0
 Group of cells for this material.
virtual Int32 id () const =0
 Component identifier.
virtual ComponentCell findComponentCell (AllEnvCell c) const =0
 Cell of this component for cell c.
virtual ComponentItemVectorView view () const =0
 View associated with this component.
virtual void checkValid ()=0
 Checks that the component is valid.
virtual bool isMaterial () const =0
 True if the component is a material.
virtual bool isEnvironment () const =0
 True if the component is an environment.
virtual bool hasSpace (MatVarSpace space) const =0
 Indicates if the component is defined for space space.
virtual ComponentPurePartItemVectorView pureItems () const =0
 View on the list of pure entities (associated with the global cell) of the component.
virtual ComponentImpurePartItemVectorView impureItems () const =0
 View on the list of impure (partial) entities of the component.
virtual ComponentPartItemVectorView partItems (eMatPart part) const =0
 View on the pure or impure part of the component's entities.
virtual IMeshMaterialasMaterial ()=0
 Returns the component in the form of an IMeshMaterial.
virtual IMeshEnvironmentasEnvironment ()=0
 Returns the component in the form of an IMeshMaterial.
virtual void setSpecificExecutionPolicy (Accelerator::eExecutionPolicy policy)=0
 Sets an execution policy for this constituent.
virtual Accelerator::eExecutionPolicy specificExecutionPolicy () const =0
 Specific execution policy.
virtual IMeshComponentInternal_internalApi ()=0
 Internal API.

Private Attributes

Int32 m_first_imi
Int32 m_nb_imi

Detailed Description

Interface of a mesh material.

A material belongs to an environment (IMeshEnvironment). It is possible to retrieve the list of cells for this material via cells().

Definition at line 53 of file core/materials/IMeshMaterial.h.

Constructor & Destructor Documentation

◆ ~IMeshMaterial()

virtual Arcane::Materials::IMeshMaterial::~IMeshMaterial ( )
inlinevirtual

Definition at line 58 of file core/materials/IMeshMaterial.h.

◆ IMeshMaterial()

Arcane::Materials::IMeshMaterial::IMeshMaterial ( )
inlineprotected

Definition at line 109 of file core/materials/IMeshMaterial.h.

Member Function Documentation

◆ environment()

virtual IMeshEnvironment * Arcane::Materials::IMeshMaterial::environment ( ) const
pure virtual

Environment to which this material belongs.

Implemented in Arcane::Materials::MeshMaterial.

◆ findMatCell()

virtual MatCell Arcane::Materials::IMeshMaterial::findMatCell ( AllEnvCell c) const
pure virtual

Cell of this material for cell c.

If this material is not present in the cell, a null material cell is returned.

The cost of this function is proportional to the number of materials present in the cell.

Implemented in Arcane::Materials::MeshMaterial.

◆ firstImi()

Int32 Arcane::Materials::IMeshMaterial::firstImi ( ) const
inline

Definition at line 104 of file core/materials/IMeshMaterial.h.

◆ impureMatItems()

virtual MatImpurePartItemVectorView Arcane::Materials::IMeshMaterial::impureMatItems ( ) const
pure virtual

View on the list of impure (partial) entities of the material.

Implemented in Arcane::Materials::MeshMaterial.

◆ infos()

virtual MeshMaterialInfo * Arcane::Materials::IMeshMaterial::infos ( ) const
pure virtual

Material information.

Implemented in Arcane::Materials::MeshMaterial.

◆ matView()

virtual MatItemVectorView Arcane::Materials::IMeshMaterial::matView ( ) const
pure virtual

View associated with this material.

Implemented in Arcane::Materials::MeshMaterial.

Referenced by Arcane::Materials::arcaneCreateRunCommandMaterialContainer(), and Arcane::Materials::arcaneCreateRunCommandMaterialContainer().

Here is the caller graph for this function:

◆ nbImi()

Int32 Arcane::Materials::IMeshMaterial::nbImi ( ) const
inline

Definition at line 105 of file core/materials/IMeshMaterial.h.

◆ partMatItems()

virtual MatPartItemVectorView Arcane::Materials::IMeshMaterial::partMatItems ( eMatPart part) const
pure virtual

View on the pure or impure part of the material entities.

Implemented in Arcane::Materials::MeshMaterial.

◆ pureMatItems()

virtual MatPurePartItemVectorView Arcane::Materials::IMeshMaterial::pureMatItems ( ) const
pure virtual

View on the list of pure entities (associated with the global cell) of the material.

Implemented in Arcane::Materials::MeshMaterial.

◆ setImiInfo()

void Arcane::Materials::IMeshMaterial::setImiInfo ( Int32 first_imi,
Int32 nb_imi )
inline

Definition at line 99 of file core/materials/IMeshMaterial.h.

◆ setUserMaterial()

virtual void Arcane::Materials::IMeshMaterial::setUserMaterial ( IUserMeshMaterial * umm)
pure virtual

Sets the associated user material.

Implemented in Arcane::Materials::MeshMaterial.

◆ userMaterial()

virtual IUserMeshMaterial * Arcane::Materials::IMeshMaterial::userMaterial ( ) const
pure virtual

Associated user material.

Implemented in Arcane::Materials::MeshMaterial.

Member Data Documentation

◆ m_first_imi

Int32 Arcane::Materials::IMeshMaterial::m_first_imi
private

Definition at line 116 of file core/materials/IMeshMaterial.h.

◆ m_nb_imi

Int32 Arcane::Materials::IMeshMaterial::m_nb_imi
private

Definition at line 117 of file core/materials/IMeshMaterial.h.


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