SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::equations::PressureForce< EOST > Class Template Referencefinal

Pressure's contribution to displacement balance: -integral_star P(h) div(w) dV. More...

#include <pressure_force.hpp>

Inheritance diagram for serif::equations::PressureForce< EOST >:
[legend]
Collaboration diagram for serif::equations::PressureForce< EOST >:
[legend]

Public Types

using Enthalpy = discretization::blocks::enthalpy::specific
 
using EnthalpyValue = discretization::forms::Operand<Enthalpy>
 
using Operands = utils::types::TypeList<EnthalpyValue>
 
- Public Types inherited from serif::equations::Contribution< discretization::forms::Operand< discretization::blocks::displacement::vector, discretization::forms::Operation::Divergence >, discretization::domain::StellarDomains >
using Test
 The test type of the contribution.
 
using TestOperand
 The operand type of the contribution (associating a test function and a term)
 
using Support
 The domain support of the contribution (which then boils down to the dofs which are supported by the term on that test function)
 

Public Member Functions

 PressureForce (EOST equation_of_state, const double enthalpy_power)
 The effective power describes P(h), not rho(h), for quadrature selection.
 
 PressureForce (EOST equation_of_state)
 
PointLinearization< Operands > evaluate (const EquationPoint< Operands > &point) const
 
int additional_order (EnthalpyValue, int) const
 

Static Public Attributes

static constexpr std::string_view name = "pressure force"
 

Private Attributes

EOST m_eos
 
double m_enthalpy_power
 

Detailed Description

template<eos::models::PressureForceEOS EOST>
class serif::equations::PressureForce< EOST >

Pressure's contribution to displacement balance: -integral_star P(h) div(w) dV.

Member Typedef Documentation

◆ Enthalpy

template<eos::models::PressureForceEOS EOST>
using serif::equations::PressureForce< EOST >::Enthalpy = discretization::blocks::enthalpy::specific

◆ EnthalpyValue

template<eos::models::PressureForceEOS EOST>
using serif::equations::PressureForce< EOST >::EnthalpyValue = discretization::forms::Operand<Enthalpy>

◆ Operands

template<eos::models::PressureForceEOS EOST>
using serif::equations::PressureForce< EOST >::Operands = utils::types::TypeList<EnthalpyValue>

Constructor & Destructor Documentation

◆ PressureForce() [1/2]

template<eos::models::PressureForceEOS EOST>
serif::equations::PressureForce< EOST >::PressureForce ( EOST equation_of_state,
const double enthalpy_power )
inlineexplicit

The effective power describes P(h), not rho(h), for quadrature selection.

◆ PressureForce() [2/2]

template<eos::models::PressureForceEOS EOST>
serif::equations::PressureForce< EOST >::PressureForce ( EOST equation_of_state)
inlineexplicit

Member Function Documentation

◆ additional_order()

template<eos::models::PressureForceEOS EOST>
int serif::equations::PressureForce< EOST >::additional_order ( EnthalpyValue ,
int  ) const
inlinenodiscard

◆ evaluate()

template<eos::models::PressureForceEOS EOST>
PointLinearization< Operands > serif::equations::PressureForce< EOST >::evaluate ( const EquationPoint< Operands > & point) const
inlinenodiscard

The test divergence is scalar, so the physics supplies -P and -dP/dh. Test mapping and volume variation belong to the shared operator backend.

Member Data Documentation

◆ m_enthalpy_power

template<eos::models::PressureForceEOS EOST>
double serif::equations::PressureForce< EOST >::m_enthalpy_power
private

◆ m_eos

template<eos::models::PressureForceEOS EOST>
EOST serif::equations::PressureForce< EOST >::m_eos
private

◆ name

template<eos::models::PressureForceEOS EOST>
std::string_view serif::equations::PressureForce< EOST >::name = "pressure force"
staticconstexpr

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