SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::operators::backend::mfem::TensorBasisCache::Entry Struct Reference

A struct that represents an entry in the TensorBasisCache. Each entry contains a non-owning pointer to a finite element, the reference operation, the number of copies, the points used to construct the TensorBasis, and a shared pointer to the TensorBasis itself. More...

Collaboration diagram for serif::operators::backend::mfem::TensorBasisCache::Entry:
[legend]

Public Attributes

const ::mfem::FiniteElement * element
 
ReferenceOperation operation
 
int copies
 
ElementReconstruction reconstruction
 
std::vector< std::array< double, 4 > > points
 
std::shared_ptr< const TensorBasis > basis
 

Detailed Description

A struct that represents an entry in the TensorBasisCache. Each entry contains a non-owning pointer to a finite element, the reference operation, the number of copies, the points used to construct the TensorBasis, and a shared pointer to the TensorBasis itself.

Todo
Consider if we can remove the shared pointer from here, shared pointers introduce overhead with reference counting and that may slow down the cache.

Member Data Documentation

◆ basis

std::shared_ptr<const TensorBasis> serif::discretization::backend::mfem::TensorBasisCache::Entry::basis

◆ copies

int serif::discretization::backend::mfem::TensorBasisCache::Entry::copies

◆ element

const ::mfem::FiniteElement* serif::discretization::backend::mfem::TensorBasisCache::Entry::element

◆ operation

ReferenceOperation serif::discretization::backend::mfem::TensorBasisCache::Entry::operation

◆ points

std::vector<std::array<double, 4> > serif::discretization::backend::mfem::TensorBasisCache::Entry::points

◆ reconstruction

ElementReconstruction serif::discretization::backend::mfem::TensorBasisCache::Entry::reconstruction

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