Data of a part (pure or partial) of a constituent. More...
#include <arcane/materials/internal/MeshComponentPartData.h>
Public Member Functions | |
| MeshComponentPartData (IMeshComponent *component, const String &debug_name) | |
| Int32 | impureVarIdx () const |
| IMeshComponent * | component () const |
| void | checkValid () |
| ComponentPurePartItemVectorView | pureView () |
| View of the pure part. | |
| ComponentImpurePartItemVectorView | impureView () |
| View of the impure part. | |
| ComponentPartItemVectorView | partView (eMatPart part) |
| View of the part. | |
| void | setRecomputeFunctor (IFunctor *func) |
| void | setNeedRecompute () |
| void | _setConstituentListView (const ConstituentItemLocalIdListView &v) |
| void | _setFromMatVarIndexes (ConstArrayView< MatVarIndex > matvar_indexes, RunQueue &queue) |
| void | _setFromMatVarIndexes (ConstArrayView< MatVarIndex > globals, ConstArrayView< MatVarIndex > multiples) |
| void | _notifyValueIndexesChanged (RunQueue *queue) |
| Notification of changes to m_values_indexes. | |
| 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 | |
| void | _checkNeedRecompute () |
Private Attributes | |
| IMeshComponent * | m_component = nullptr |
| Constituent manager. | |
| Int32 | m_impure_var_idx = -1 |
| Index of the constituent for accessing partial values. | |
| FixedArray< UniqueArray< Int32 >, 2 > | m_value_indexes |
| List of valueIndex() for each part. | |
| FixedArray< UniqueArray< Int32 >, 2 > | m_items_internal_indexes |
| List of indices in m_items_internal for each material cell. | |
| ConstituentItemLocalIdListView | m_constituent_list_view |
| List of ComponentItems for this constituent. | |
| IFunctor * | m_compute_functor = nullptr |
| bool | m_is_need_recompute = false |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
Data of a part (pure or partial) of a constituent.
This class is internal to Arcane.
Definition at line 39 of file internal/MeshComponentPartData.h.
| Arcane::Materials::MeshComponentPartData::MeshComponentPartData | ( | IMeshComponent * | component, |
| const String & | debug_name ) |
Definition at line 41 of file MeshComponentPartData.cc.
|
private |
Definition at line 239 of file MeshComponentPartData.cc.
| void Arcane::Materials::MeshComponentPartData::_notifyValueIndexesChanged | ( | RunQueue * | queue | ) |
Notification of changes to m_values_indexes.
Applies padding for vectorization on valueIndex() if necessary. queue may be null.
Definition at line 75 of file MeshComponentPartData.cc.
References m_value_indexes, Arcane::Accelerator::makeCommand(), and RUNCOMMAND_LOOP1.
| void Arcane::Materials::MeshComponentPartData::_setConstituentListView | ( | const ConstituentItemLocalIdListView & | v | ) |
Definition at line 200 of file MeshComponentPartData.cc.
| void Arcane::Materials::MeshComponentPartData::_setFromMatVarIndexes | ( | ConstArrayView< MatVarIndex > | globals, |
| ConstArrayView< MatVarIndex > | multiples ) |
Definition at line 171 of file MeshComponentPartData.cc.
| void Arcane::Materials::MeshComponentPartData::_setFromMatVarIndexes | ( | ConstArrayView< MatVarIndex > | matvar_indexes, |
| RunQueue & | queue ) |
Definition at line 106 of file MeshComponentPartData.cc.
| void Arcane::Materials::MeshComponentPartData::checkValid | ( | ) |
Definition at line 209 of file MeshComponentPartData.cc.
|
inline |
Definition at line 50 of file internal/MeshComponentPartData.h.
|
inline |
Definition at line 48 of file internal/MeshComponentPartData.h.
| ComponentImpurePartItemVectorView Arcane::Materials::MeshComponentPartData::impureView | ( | ) |
View of the impure part.
Definition at line 282 of file MeshComponentPartData.cc.
References m_component, m_constituent_list_view, m_items_internal_indexes, and m_value_indexes.
| ComponentPartItemVectorView Arcane::Materials::MeshComponentPartData::partView | ( | eMatPart | part | ) |
View of the part.
Definition at line 253 of file MeshComponentPartData.cc.
References m_component, m_constituent_list_view, m_items_internal_indexes, and m_value_indexes.
| ComponentPurePartItemVectorView Arcane::Materials::MeshComponentPartData::pureView | ( | ) |
View of the pure part.
Definition at line 268 of file MeshComponentPartData.cc.
References m_component, m_constituent_list_view, m_items_internal_indexes, and m_value_indexes.
|
inline |
Definition at line 72 of file internal/MeshComponentPartData.h.
|
inline |
Definition at line 70 of file internal/MeshComponentPartData.h.
|
private |
Constituent manager.
Definition at line 84 of file internal/MeshComponentPartData.h.
Referenced by impureView(), partView(), and pureView().
|
private |
Definition at line 98 of file internal/MeshComponentPartData.h.
|
private |
List of ComponentItems for this constituent.
Definition at line 96 of file internal/MeshComponentPartData.h.
Referenced by impureView(), partView(), and pureView().
|
private |
Index of the constituent for accessing partial values.
Definition at line 87 of file internal/MeshComponentPartData.h.
|
private |
Definition at line 99 of file internal/MeshComponentPartData.h.
|
private |
List of indices in m_items_internal for each material cell.
Definition at line 93 of file internal/MeshComponentPartData.h.
Referenced by impureView(), partView(), and pureView().
|
private |
List of valueIndex() for each part.
Definition at line 90 of file internal/MeshComponentPartData.h.
Referenced by _notifyValueIndexesChanged(), impureView(), partView(), and pureView().