ConstrainOriginSupportPointToZero< component_name, Model > Class Template Reference#

DiFfRG: DiFfRG::def::ConstrainOriginSupportPointToZero< component_name, Model > Class Template Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::def::ConstrainOriginSupportPointToZero< component_name, Model > Class Template Reference

Constrain the support dofs of a named scalar FE-function component nearest its origin coordinate to zero. More...

#include <model.hh>

Public Member Functions

template<typename Constraints , typename Context >
void apply_affine_constraints (Constraints &constraints, const Context &context) const
 

Detailed Description

template<FixedString component_name, typename Model>
class DiFfRG::def::ConstrainOriginSupportPointToZero< component_name, Model >

Constrain the support dofs of a named scalar FE-function component nearest its origin coordinate to zero.

This is useful for cell-centered DG0/FV layouts where sigma = 0 is not itself a boundary support point. In multidimensional domains, Model::OriginConstraintCoordinate<component_name>::signed_coordinate(point) defines the zero level set to constrain.

Member Function Documentation

◆ apply_affine_constraints()

template<FixedString component_name, typename Model >
template<typename Constraints , typename Context >
void DiFfRG::def::ConstrainOriginSupportPointToZero< component_name, Model >::apply_affine_constraints ( Constraints & constraints,
const Context & context ) const
inline

The documentation for this class was generated from the following file:
  • /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/model/model.hh