Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Materials::ComponentItemInternalData Class Reference

Management of 'ComponentItemInternal' lists. More...

#include <arcane/materials/internal/ComponentItemInternalData.h>

Inheritance diagram for Arcane::Materials::ComponentItemInternalData:
Collaboration diagram for Arcane::Materials::ComponentItemInternalData:

Classes

class  Storage
 Container for ComponentItemSharedInfo information. More...

Public Member Functions

 ComponentItemInternalData (MeshMaterialMng *mm)
void endCreate ()
 Notification of the end of environment/material creation.
void resizeComponentItemInternals (Int32 max_local_id, Int32 total_env_cell)
 Resizes the structures allocating 'ComponentItemInternal'.
ComponentItemSharedInfo * sharedInfo (Int16 level)
 Shared instance associated with the level.
ComponentItemSharedInfo * allEnvSharedInfo ()
ComponentItemSharedInfo * envSharedInfo ()
ComponentItemSharedInfo * matSharedInfo ()
void _resetItemsInternal ()
 Resets ComponentItemInternal associated with EnvCell and AllEnvCell.
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Private Member Functions

void _initSharedInfos ()

Static Private Member Functions

static MemoryAllocationOptions _allocOptions ()

Private Attributes

MeshMaterialMngm_material_mng = nullptr
UniqueArray< ComponentItemSharedInfo > m_shared_infos
 List of shared information.
ComponentItemInternalRange m_all_env_items_internal_range
ComponentItemInternalRange m_env_items_internal_range
Storage m_all_env_storage
Storage m_env_storage
Storage m_mat_storage

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Management of 'ComponentItemInternal' lists.

endCreate() must be called before instances of this class can be used.

Definition at line 116 of file ComponentItemInternalData.h.

Constructor & Destructor Documentation

◆ ComponentItemInternalData()

Arcane::Materials::ComponentItemInternalData::ComponentItemInternalData ( MeshMaterialMng * mm)
explicit

Definition at line 115 of file ComponentItemInternalData.cc.

Member Function Documentation

◆ _allocOptions()

MemoryAllocationOptions Arcane::Materials::ComponentItemInternalData::_allocOptions ( )
staticprivate

Definition at line 138 of file ComponentItemInternalData.cc.

◆ _initSharedInfos()

void Arcane::Materials::ComponentItemInternalData::_initSharedInfos ( )
private

Definition at line 238 of file ComponentItemInternalData.cc.

◆ _resetItemsInternal()

void Arcane::Materials::ComponentItemInternalData::_resetItemsInternal ( )

Resets ComponentItemInternal associated with EnvCell and AllEnvCell.

Resets the ComponentItemInternal.

Definition at line 159 of file ComponentItemInternalData.cc.

References Arcane::arcaneIsCheck(), Arcane::Accelerator::makeCommand(), Arcane::math::max(), and RUNCOMMAND_LOOP1.

Referenced by resizeComponentItemInternals().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ allEnvSharedInfo()

ComponentItemSharedInfo * Arcane::Materials::ComponentItemInternalData::allEnvSharedInfo ( )
inline

Definition at line 165 of file ComponentItemInternalData.h.

◆ endCreate()

void Arcane::Materials::ComponentItemInternalData::endCreate ( )

Notification of the end of environment/material creation.

Definition at line 147 of file ComponentItemInternalData.cc.

◆ envSharedInfo()

ComponentItemSharedInfo * Arcane::Materials::ComponentItemInternalData::envSharedInfo ( )
inline

Definition at line 166 of file ComponentItemInternalData.h.

◆ matSharedInfo()

ComponentItemSharedInfo * Arcane::Materials::ComponentItemInternalData::matSharedInfo ( )
inline

Definition at line 167 of file ComponentItemInternalData.h.

◆ resizeComponentItemInternals()

void Arcane::Materials::ComponentItemInternalData::resizeComponentItemInternals ( Int32 max_local_id,
Int32 total_env_cell )

Resizes the structures allocating 'ComponentItemInternal'.

Definition at line 194 of file ComponentItemInternalData.cc.

References _resetItemsInternal(), and Arcane::TraceAccessor::info().

Here is the call graph for this function:

◆ sharedInfo()

ComponentItemSharedInfo * Arcane::Materials::ComponentItemInternalData::sharedInfo ( Int16 level)
inline

Shared instance associated with the level.

Definition at line 164 of file ComponentItemInternalData.h.

References m_shared_infos.

Member Data Documentation

◆ m_all_env_items_internal_range

ComponentItemInternalRange Arcane::Materials::ComponentItemInternalData::m_all_env_items_internal_range
private

Definition at line 176 of file ComponentItemInternalData.h.

◆ m_all_env_storage

Storage Arcane::Materials::ComponentItemInternalData::m_all_env_storage
private

Definition at line 179 of file ComponentItemInternalData.h.

◆ m_env_items_internal_range

ComponentItemInternalRange Arcane::Materials::ComponentItemInternalData::m_env_items_internal_range
private

Definition at line 177 of file ComponentItemInternalData.h.

◆ m_env_storage

Storage Arcane::Materials::ComponentItemInternalData::m_env_storage
private

Definition at line 180 of file ComponentItemInternalData.h.

◆ m_mat_storage

Storage Arcane::Materials::ComponentItemInternalData::m_mat_storage
private

Definition at line 181 of file ComponentItemInternalData.h.

◆ m_material_mng

MeshMaterialMng* Arcane::Materials::ComponentItemInternalData::m_material_mng = nullptr
private

Definition at line 171 of file ComponentItemInternalData.h.

◆ m_shared_infos

UniqueArray<ComponentItemSharedInfo> Arcane::Materials::ComponentItemInternalData::m_shared_infos
private

List of shared information.

Definition at line 174 of file ComponentItemInternalData.h.

Referenced by sharedInfo().


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