SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
data.hpp File Reference

File containing some misc data structures for the mapping module. This was the very first file I ported over from MeanField and I think because of that its organization is actually quite wonky. For one its int this poorly named "data" file, which could mean any number of things. Regardless, these are basically low leval containers for useful stuff and also some scratch workspaces for mapping operations. More...

#include "mfem/fem/fe/fe_base.hpp"
#include "mfem/fem/fespace.hpp"
#include "mfem/linalg/vector.hpp"
#include "mfem/linalg/densemat.hpp"
#include "mfem/mesh/mesh.hpp"
#include <cstdint>
#include "serif/backend/mfem/mapping/compactification/kelvin.hpp"
#include "serif/backend/mfem/mapping/context.hpp"
#include "serif/backend/mfem/mapping/data.hpp"
Include dependency graph for data.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  serif::mapping::ElementDisplacementData
 A class representing the displacement data for a finite element, including the finite element, degree of freedom matrix, and dimension. More...
 
struct  serif::mapping::CompactificationPointData
 A structure representing the compactification point data, including the compactification coordinate and coordinate gradient. More...
 
class  serif::mapping::ElementCompactificationData
 A class representing the compactification data for a finite element, including the finite element and degrees of freedom. More...
 
struct  serif::mapping::ElementMappingData
 
class  serif::mapping::DMWorkspace
 A class representing a workspace for displacement mapping operations, including various vectors and matrices used in the mapping process. primarily this is just a separate class so we can more easily make this code thread-safe in the future. At construction of an instance of this class loads of Heap allocation is done (or really whatever mfem does internally for allocation for vector which dependents on the selected device) and then that allocation can be reused. More...
 
struct  serif::mapping::DMFixedMeshGeometry
 A structure representing the fixed mesh geometry at a specific point, including position, Jacobian, inverse Jacobian, and weight. More...
 
struct  serif::mapping::DMReferenceDisplacementSample
 A structure representing a sample of the reference displacement, including the value and gradient of the displacement at a specific point. More...
 

Namespaces

namespace  serif
 
namespace  serif::mapping
 

Enumerations

enum class  serif::mapping::FaceElementSide : uint8_t { serif::mapping::ELEMENT_1 , serif::mapping::ELEMENT_2 }
 An enumeration representing the side of a face element, either ELEMENT_1 or ELEMENT_2. There is no inherent ordering to these; however, broadly I have been thinking about ELEMENT_1 as the "inner" side and ELEMENT_2 as the "outer" side. More...
 

Functions

ElementDisplacementData serif::mapping::element_displacement_data_from_element_vdofs (const mfem::FiniteElement &element, mfem::Vector &displacement_dofs)
 Creates an ElementDisplacementData object from a finite element and a vector of displacement degrees of freedom.
 

Detailed Description

File containing some misc data structures for the mapping module. This was the very first file I ported over from MeanField and I think because of that its organization is actually quite wonky. For one its int this poorly named "data" file, which could mean any number of things. Regardless, these are basically low leval containers for useful stuff and also some scratch workspaces for mapping operations.

Author
Emily M. Boudreaux
Todo
As said above there is some refactoring to make this cleaner which could happen.