OGS
ProcessLib::Assembly::BulkMeshAssemblyData Struct Reference

Detailed Description

Data necessary for global equation system assembly on the bulk mesh.

Definition at line 64 of file AssemblyData.h.

#include <AssemblyData.h>

Inheritance diagram for ProcessLib::Assembly::BulkMeshAssemblyData:
[legend]
Collaboration diagram for ProcessLib::Assembly::BulkMeshAssemblyData:
[legend]

Public Member Functions

void setAllElementsActive ()
 Assembly should proceed on all mesh elements.
void setElementSelectionActive (std::vector< std::size_t > const &sorted_active_element_ids_whole_mesh)
 Assembly should proceed on the passed element IDs only.
 CommonAssemblyData (std::vector< std::vector< std::reference_wrapper< MeshLib::PropertyVector< double > > > > &&residuum_vectors)
Public Member Functions inherited from ProcessLib::Assembly::CommonAssemblyData
 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

Additional Inherited Members

Public Attributes inherited from ProcessLib::Assembly::CommonAssemblyData
std::vector< std::vector< std::reference_wrapper< MeshLib::PropertyVector< double > > > > residuum_vectors
 Residuum vectors for each process ID.
Protected Member Functions inherited from ProcessLib::Assembly::CommonAssemblyData
bool areAllElementsActive () const
Protected Attributes inherited from ProcessLib::Assembly::CommonAssemblyData
std::shared_ptr< std::vector< std::size_t > const > sorted_active_element_ids_

Member Function Documentation

◆ CommonAssemblyData()

ProcessLib::Assembly::CommonAssemblyData::CommonAssemblyData ( std::vector< std::vector< std::reference_wrapper< MeshLib::PropertyVector< double > > > > && residuum_vectors)
inlineexplicit

Definition at line 16 of file AssemblyData.h.

21 {
22 }
std::vector< std::vector< std::reference_wrapper< MeshLib::PropertyVector< double > > > > residuum_vectors
Residuum vectors for each process ID.

◆ setAllElementsActive()

void ProcessLib::Assembly::BulkMeshAssemblyData::setAllElementsActive ( )

Assembly should proceed on all mesh elements.

Definition at line 44 of file AssemblyData.cpp.

45{
46 // A nullptr means all elements are active.
48}
std::shared_ptr< std::vector< std::size_t > const > sorted_active_element_ids_

References ProcessLib::Assembly::CommonAssemblyData::sorted_active_element_ids_.

◆ setElementSelectionActive()

void ProcessLib::Assembly::BulkMeshAssemblyData::setElementSelectionActive ( std::vector< std::size_t > const & sorted_active_element_ids_whole_mesh)

Assembly should proceed on the passed element IDs only.

Definition at line 50 of file AssemblyData.cpp.

52{
53 assert(ranges::is_sorted(sorted_active_element_ids_whole_mesh));
54
56 std::make_shared<std::vector<std::size_t> const>(
57 sorted_active_element_ids_whole_mesh);
58}

References ProcessLib::Assembly::CommonAssemblyData::sorted_active_element_ids_.


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