|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
The gravitational force contribution to the mechanical balance equation. More...
#include <gravity_force.hpp>
Public Types | |
| using | Density = discretization::blocks::density::mass |
| The density type is the model's mass density,. | |
| using | Gradient = discretization::blocks::gravity::gradient |
| The gradient type is the model's negative gravitational acceleration (see class comment for why this is negative). | |
| using | DensityValue = discretization::forms::Operand<Density> |
| The density value type is a density Operand. | |
| using | GradientValue = discretization::forms::Operand<Gradient> |
| The gradient value type is a gradient Operand. | |
| using | Operands = utils::types::TypeList<DensityValue, GradientValue> |
| The operands for this equation are the density and gradient operands. | |
| using | Result = discretization::forms::VectorValue |
| This equation's results are vector valued. | |
Public Types inherited from serif::equations::Contribution< discretization::forms::Operand< discretization::blocks::displacement::vector >, 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) | |
Static Public Member Functions | |
| static PointLinearization< Operands, Result > | evaluate (const EquationPoint< Operands > &point) |
| Evaluate the gravitational force equation at a given point. | |
| template<typename OperandT> | |
| static int | additional_order (OperandT, int) |
| Return the additional quadrature order required for the gravitational force equation. We add one to the registered order of the gradient functional space to satisfy the InfSup condition for the density operand (which is in L2) | |
Static Public Attributes | |
| static constexpr std::string_view | name = "gravitational force" |
| Compile time name for the gravitational force equation, used for debugging and logging. | |
The gravitational force contribution to the mechanical balance equation.
| Equation Contributions |
|---|
|
The density type is the model's mass density,.
The density value type is a density Operand.
The gradient type is the model's negative gravitational acceleration (see class comment for why this is negative).
The gradient value type is a gradient Operand.
| using serif::equations::GravityForce::Operands = utils::types::TypeList<DensityValue, GradientValue> |
The operands for this equation are the density and gradient operands.
This equation's results are vector valued.
|
inlinestaticnodiscard |
Return the additional quadrature order required for the gravitational force equation. We add one to the registered order of the gradient functional space to satisfy the InfSup condition for the density operand (which is in L2)
| operand | The operand for which to determine the additional quadrature order. |
| position_order | The order of the position operand, which is not used in this implementation. |
This function returns the additional quadrature order required for the gravitational force equation. For the density operand, it returns the order of the gradient functional space plus one. For other operands, it returns the order of the density functional space.
|
inlinestaticnodiscard |
Evaluate the gravitational force equation at a given point.
| point | The point at which to evaluate the gravitational force equation. |
This function evaluates
|
staticconstexpr |
Compile time name for the gravitational force equation, used for debugging and logging.