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

A workspace for tensor contractions to avoid repeated allocations and pack memory (TODO: does this actual pack memory in a useful manner when using mfem vectors? Probably something to look into). More...

#include <tensor_basis.hpp>

Public Attributes

::mfem::Vector coefficients
 The coefficients of the basis functions at the reference points.
 
::mfem::Vector first
 The first contraction of the coefficients with the basis functions at the reference points.
 
::mfem::Vector second
 The second contraction of the coefficients with the basis functions at the reference points.
 

Detailed Description

A workspace for tensor contractions to avoid repeated allocations and pack memory (TODO: does this actual pack memory in a useful manner when using mfem vectors? Probably something to look into).

Member Data Documentation

◆ coefficients

::mfem::Vector serif::discretization::backend::mfem::TensorWorkspace::coefficients

The coefficients of the basis functions at the reference points.

◆ first

::mfem::Vector serif::discretization::backend::mfem::TensorWorkspace::first

The first contraction of the coefficients with the basis functions at the reference points.

◆ second

::mfem::Vector serif::discretization::backend::mfem::TensorWorkspace::second

The second contraction of the coefficients with the basis functions at the reference points.


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