SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::backend::mfem::DofMap::Elements Class Referencefinal

Borrow element access for one traversal after checking the complete binding. More...

#include <dof_map.hpp>

Collaboration diagram for serif::discretization::backend::mfem::DofMap::Elements:
[legend]

Public Member Functions

void element_values (int element, const ::mfem::Vector &reduced, ::mfem::Vector &values) const
 Extract supported coefficients in the native element's primal orientation.
 
void add_element (int element, ::mfem::Vector &values, ::mfem::Vector &full) const
 Add native element dual coefficients to a full-space vector.
 
ElementCoordinates coordinates (int element) const
 Describe local coordinates for direct assembly or diagonal extraction.
 

Private Member Functions

 Elements (const DofMap &binding)
 Only DofMap can create a view after validating all domain attributes.
 

Private Attributes

const DofMap & m_binding
 

Friends

class DofMap
 
class ElementCoordinates
 

Detailed Description

Borrow element access for one traversal after checking the complete binding.

Note
Do not retain this view across mesh or space changes. Each element still checks its index, vector sizes, local attribute and space revision, without rescanning the mesh.

Constructor & Destructor Documentation

◆ Elements()

serif::discretization::backend::mfem::DofMap::Elements::Elements ( const DofMap & binding)
inlineexplicitprivate

Only DofMap can create a view after validating all domain attributes.

Member Function Documentation

◆ add_element()

void serif::discretization::backend::mfem::DofMap::Elements::add_element ( int element,
::mfem::Vector & values,
::mfem::Vector & full ) const

Add native element dual coefficients to a full-space vector.

◆ coordinates()

ElementCoordinates serif::discretization::backend::mfem::DofMap::Elements::coordinates ( int element) const
nodiscard

Describe local coordinates for direct assembly or diagonal extraction.

◆ element_values()

void serif::discretization::backend::mfem::DofMap::Elements::element_values ( int element,
const ::mfem::Vector & reduced,
::mfem::Vector & values ) const

Extract supported coefficients in the native element's primal orientation.

Friends And Related Symbol Documentation

◆ DofMap

friend class DofMap
friend

◆ ElementCoordinates

friend class ElementCoordinates
friend

Member Data Documentation

◆ m_binding

const DofMap& serif::discretization::backend::mfem::DofMap::Elements::m_binding
private

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