![]() |
OGS
|
|
Data necessary for global equation system assembly.
Base of both bulk mesh and submesh assembly data.
Definition at line 14 of file AssemblyData.h.
#include <AssemblyData.h>
Public Member Functions | |
| CommonAssemblyData (std::vector< std::vector< std::reference_wrapper< MeshLib::PropertyVector< double > > > > &&residuum_vectors) | |
| std::shared_ptr< std::vector< std::size_t > const > | activeElementIDsSorted (std::vector< std::size_t > const *const sorted_element_subset) const |
| virtual | ~CommonAssemblyData ()=default |
Public Attributes | |
| std::vector< std::vector< std::reference_wrapper< MeshLib::PropertyVector< double > > > > | residuum_vectors |
| Residuum vectors for each process ID. | |
Protected Member Functions | |
| bool | areAllElementsActive () const |
Protected Attributes | |
| std::shared_ptr< std::vector< std::size_t > const > | sorted_active_element_ids_ |
|
inlineexplicit |
Definition at line 16 of file AssemblyData.h.
References residuum_vectors.
Referenced by ProcessLib::Assembly::SubmeshAssemblyData::SubmeshAssemblyData().
|
virtualdefault |
| std::shared_ptr< std::vector< std::size_t > const > ProcessLib::Assembly::CommonAssemblyData::activeElementIDsSorted | ( | std::vector< std::size_t > const *const | sorted_element_subset | ) | const |
Returns active element ids.
If sorted_element_subset is not nullptr, only the intersection between the previously set values and sorted_element_subset is returned. sorted_element_subset must be sorted in ascending order in that case. At the moment (Nov 2025) this is used for assembly optimizations in the HeatTransportBHE process.
Definition at line 13 of file AssemblyData.cpp.
References areAllElementsActive(), and sorted_active_element_ids_.
Referenced by ProcessLib::AssemblyMixin< Process >::assembleOnBulkMeshOrOnSubmeshCommon(), and ProcessLib::AssemblyMixin< Process >::assembleWithJacobianOnBulkMeshOrOnSubmeshCommon().
|
inlineprotected |
Definition at line 53 of file AssemblyData.h.
References sorted_active_element_ids_.
Referenced by activeElementIDsSorted().
| std::vector< std::vector<std::reference_wrapper<MeshLib::PropertyVector<double> > > > ProcessLib::Assembly::CommonAssemblyData::residuum_vectors |
Residuum vectors for each process ID.
Definition at line 48 of file AssemblyData.h.
Referenced by CommonAssemblyData(), ProcessLib::Assembly::SubmeshAssemblyData::SubmeshAssemblyData(), and ProcessLib::AssemblyMixinBase::copyResiduumVectorsToSubmesh().
|
protected |
Definition at line 60 of file AssemblyData.h.
Referenced by activeElementIDsSorted(), areAllElementsActive(), ProcessLib::Assembly::BulkMeshAssemblyData::setAllElementsActive(), ProcessLib::Assembly::SubmeshAssemblyData::setAllElementsActive(), ProcessLib::Assembly::BulkMeshAssemblyData::setElementSelectionActive(), and ProcessLib::Assembly::SubmeshAssemblyData::setElementSelectionActive().