SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::equations::PrimalPoissonBalance::DensitySource Struct Reference

Integrate +4 pi G v rho only where matter is supported. More...

#include <primal_gravity.hpp>

Inheritance diagram for serif::equations::PrimalPoissonBalance::DensitySource:
[legend]
Collaboration diagram for serif::equations::PrimalPoissonBalance::DensitySource:
[legend]

Public Types

using Operands = utils::types::TypeList<discretization::forms::Operand<Density>>
 
- Public Types inherited from serif::equations::Contribution< discretization::forms::Operand< Test >, 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

 DensitySource (const double coefficient)
 Store the already validated source coefficient.
 
PointLinearization< Operands > evaluate (const EquationPoint< Operands > &point) const
 Return the source with the positive sign of the primal weak form.
 

Static Public Member Functions

static int additional_order (discretization::forms::Operand< Density >, int)
 The source is linear in density.
 

Public Attributes

double four_pi_G
 

Detailed Description

Integrate +4 pi G v rho only where matter is supported.

Member Typedef Documentation

◆ Operands

Constructor & Destructor Documentation

◆ DensitySource()

serif::equations::PrimalPoissonBalance::DensitySource::DensitySource ( const double coefficient)
inlineexplicit

Store the already validated source coefficient.

Member Function Documentation

◆ additional_order()

static int serif::equations::PrimalPoissonBalance::DensitySource::additional_order ( discretization::forms::Operand< Density > ,
int  )
inlinestaticnodiscard

The source is linear in density.

◆ evaluate()

PointLinearization< Operands > serif::equations::PrimalPoissonBalance::DensitySource::evaluate ( const EquationPoint< Operands > & point) const
inlinenodiscard

Return the source with the positive sign of the primal weak form.

Member Data Documentation

◆ four_pi_G

double serif::equations::PrimalPoissonBalance::DensitySource::four_pi_G

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