Data of a constituent (material or medium) of a mesh. More...
#include <arcane/materials/internal/MeshComponentData.h>
Public Member Functions | |
| MeshComponentData (IMeshComponent *component, const String &name, Int16 component_id, ComponentItemSharedInfo *shared_info, bool create_indexer) | |
| const String & | name () const |
| MeshMaterialVariableIndexer * | variableIndexer () const |
| ConstituentItemLocalIdListView | constituentItemListView () const |
| const ItemGroup & | items () const |
| Int16 | componentId () const |
| void | setSpecificExecutionPolicy (Accelerator::eExecutionPolicy policy) |
| Accelerator::eExecutionPolicy | specificExecutionPolicy () const |
| Public Member Functions inherited from Arcane::TraceAccessor | |
| TraceAccessor (ITraceMng *m) | |
| Constructs an accessor via the trace manager m. | |
| TraceAccessor (const TraceAccessor &rhs) | |
| Copy constructor. | |
| TraceAccessor & | operator= (const TraceAccessor &rhs) |
| Copy assignment operator. | |
| virtual | ~TraceAccessor () |
| Frees resources. | |
| ITraceMng * | traceMng () 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 | |
| matimpl::ConstituentItemBase | _itemBase (Int32 index) const |
| Returns an instance of the index-th entity in the list. | |
| void | _setConstituentItem (Int32 index, ConstituentItemIndex id) |
| void | checkValid () |
| void | _resizeItemsInternal (Int32 nb_item) |
| void | _setVariableIndexer (MeshMaterialVariableIndexer *indexer) |
| void | _setItems (const ItemGroup &group) |
| void | _changeLocalIdsForInternalList (Int32ConstArrayView old_to_new_ids) |
| Updates the constituent's m_items_internal after a change in local numbering. | |
| void | _rebuildPartData (RunQueue &queue) |
| void | _buildPartData () |
| MeshComponentPartData * | _partData () const |
| void | _setPartInfo () |
| void | _rebuildPartDataDirect () |
Private Attributes | |
| IMeshComponent * | m_component = nullptr |
| Constituent whose data is managed. | |
| Int16 | m_component_id = -1 |
| Constituent index (in the list of constituents of this type). | |
| String | m_name |
| Name of the constituent. | |
| ItemGroup | m_items |
| List of entities of this constituent. | |
| bool | m_is_indexer_owner = false |
| Indicates if we own the indexer (in this case, it will be destroyed with the instance). | |
| MeshMaterialVariableIndexer * | m_variable_indexer = nullptr |
| Info for indexing partial variables. | |
| ConstituentItemLocalIdList | m_constituent_local_id_list |
| List of ConstituentItemIndex for this constituent. | |
| MeshComponentPartData * | m_part_data = nullptr |
| FunctorT< MeshComponentData > | m_recompute_part_data_functor |
| Accelerator::eExecutionPolicy | m_specific_execution_policy = Accelerator::eExecutionPolicy::None |
| Specific execution policy. | |
Friends | |
| class | MeshEnvironment |
| class | MeshMaterial |
| class | AllEnvData |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Data of a constituent (material or medium) of a mesh.
This class contains data common to MeshMaterial and MeshEnvironment.
This class is internal to Arcane.
Definition at line 52 of file MeshComponentData.h.
| Arcane::Materials::MeshComponentData::MeshComponentData | ( | IMeshComponent * | component, |
| const String & | name, | ||
| Int16 | component_id, | ||
| ComponentItemSharedInfo * | shared_info, | ||
| bool | create_indexer ) |
Definition at line 35 of file MeshComponentData.cc.
|
override |
Definition at line 55 of file MeshComponentData.cc.
|
private |
Definition at line 110 of file MeshComponentData.cc.
|
private |
Updates the constituent's m_items_internal after a change in local numbering.
Definition at line 127 of file MeshComponentData.cc.
References Arcane::Array< T >::add(), m_constituent_local_id_list, Arcane::AbstractArray< T >::size(), and Arcane::ConstArrayView< T >::size().
|
inlineprivate |
Returns an instance of the index-th entity in the list.
Definition at line 83 of file MeshComponentData.h.
References m_constituent_local_id_list.
|
inlineprivate |
Definition at line 125 of file MeshComponentData.h.
|
private |
Definition at line 156 of file MeshComponentData.cc.
|
private |
Definition at line 172 of file MeshComponentData.cc.
|
private |
Definition at line 79 of file MeshComponentData.cc.
|
inlineprivate |
Definition at line 88 of file MeshComponentData.h.
|
private |
Definition at line 99 of file MeshComponentData.cc.
|
private |
Definition at line 69 of file MeshComponentData.cc.
|
private |
Definition at line 89 of file MeshComponentData.cc.
|
private |
Definition at line 182 of file MeshComponentData.cc.
|
inline |
Definition at line 102 of file MeshComponentData.h.
|
inline |
Definition at line 75 of file MeshComponentData.h.
|
inline |
Definition at line 97 of file MeshComponentData.h.
|
inline |
Definition at line 68 of file MeshComponentData.h.
|
inline |
Definition at line 107 of file MeshComponentData.h.
|
inline |
Definition at line 112 of file MeshComponentData.h.
|
inline |
Definition at line 70 of file MeshComponentData.h.
|
friend |
Definition at line 57 of file MeshComponentData.h.
|
friend |
Definition at line 55 of file MeshComponentData.h.
|
friend |
Definition at line 56 of file MeshComponentData.h.
|
private |
Constituent whose data is managed.
Definition at line 130 of file MeshComponentData.h.
|
private |
Constituent index (in the list of constituents of this type).
Definition at line 136 of file MeshComponentData.h.
|
private |
List of ConstituentItemIndex for this constituent.
Definition at line 151 of file MeshComponentData.h.
Referenced by _changeLocalIdsForInternalList(), Arcane::Materials::MeshEnvironment::_computeMaterialIndexesMonoMat(), and _itemBase().
|
private |
Indicates if we own the indexer (in this case, it will be destroyed with the instance).
Definition at line 145 of file MeshComponentData.h.
|
private |
List of entities of this constituent.
Definition at line 142 of file MeshComponentData.h.
|
private |
Name of the constituent.
Definition at line 139 of file MeshComponentData.h.
|
private |
Definition at line 153 of file MeshComponentData.h.
|
private |
Definition at line 154 of file MeshComponentData.h.
|
private |
Specific execution policy.
Definition at line 157 of file MeshComponentData.h.
|
private |
Info for indexing partial variables.
Definition at line 148 of file MeshComponentData.h.