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

Borrow one sampling rule; repeat an element to retain the actual union of downstream rules. More...

#include <geometry_step.hpp>

Collaboration diagram for serif::geometry::deformation::backend::mfem::GeometrySampleRule:
[legend]

Public Attributes

int element
 
const ::mfem::IntegrationRule * integration_rule
 
std::shared_ptr< const std::vector< mapping::DMFixedMeshGeometry > > reference_geometry {}
 

Detailed Description

Borrow one sampling rule; repeat an element to retain the actual union of downstream rules.

Note
reference_geometry optionally holds sample_fixed_mesh_geometry for every point of this rule on the unchanged reference mesh. The reference mesh never moves during a solve, so a caller that already owns these samples (the volume equations' Basis nodes) can share them instead of having each step limit recompute the high-order mesh Jacobian. Without it, or if its size does not match, samples are computed on demand exactly as before.

Member Data Documentation

◆ element

int serif::geometry::deformation::backend::mfem::GeometrySampleRule::element

◆ integration_rule

const ::mfem::IntegrationRule* serif::geometry::deformation::backend::mfem::GeometrySampleRule::integration_rule

◆ reference_geometry

std::shared_ptr<const std::vector<mapping::DMFixedMeshGeometry> > serif::geometry::deformation::backend::mfem::GeometrySampleRule::reference_geometry {}

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