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

This file contains the implementation of function select_point_dofs. This function is used to select the components from a single H1 vertex in the fixed computational mesh. This is used to implement point constraints in the discretization (e.g. fixed center of mass) More...

#include <array>
#include <cmath>
#include "serif/discretization/backend/mfem/dof_selection.hpp"
Include dependency graph for point_dofs.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  serif
 
namespace  serif::discretization
 
namespace  serif::discretization::backend
 
namespace  serif::discretization::backend::mfem
 

Functions

template<blocks::SpatialTerm TermT, domain::schema::IsSchema SchemaT>
requires (blocks::SpatialTermTraits<TermT>::family == functional_space::Family::h1)
DofSelection serif::discretization::backend::mfem::select_point_dofs (const TermBinding< TermT, SchemaT > &binding, const std::array< double, 3 > &position={}, const double tolerance=1.0e-12)
 Select the dofs associated with a single point in the reference domain. This is used to implement point constraints in the discretization (e.g. fixed center of mass). Note that this function only works for H1 terms and will throw an error if used on a non-H1 term.
 

Detailed Description

This file contains the implementation of function select_point_dofs. This function is used to select the components from a single H1 vertex in the fixed computational mesh. This is used to implement point constraints in the discretization (e.g. fixed center of mass)

Author
Emily M. Boudreaux