SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::equations::gravity_contributions::GradientDivergence Class Reference

The point wise contribution to the Poisson balance equation. Note that these contributions are just the point-wise divergence of the gradient field. You can get to this by going through the weak form derivation. The derivative is just the identity matrix since the residual is just the divergence of the gradient field. More...

#include <mixed_gravity.hpp>

Inheritance diagram for serif::equations::gravity_contributions::GradientDivergence:
[legend]
Collaboration diagram for serif::equations::gravity_contributions::GradientDivergence:
[legend]

Public Types

using Operands = utils::types::TypeList<Operand<Gradient, Divergence>>
 
- Public Types inherited from serif::equations::Contribution< Operand< Potential > >
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

PointLinearization< Operands > evaluate (const EquationPoint< Operands > &point) const
 Poisson's volume row contains + q div(g).
 
int additional_order (Operand< Gradient, Divergence >, int) const
 

Detailed Description

The point wise contribution to the Poisson balance equation. Note that these contributions are just the point-wise divergence of the gradient field. You can get to this by going through the weak form derivation. The derivative is just the identity matrix since the residual is just the divergence of the gradient field.

Equation Contributions
  • Residuals to the gravitational potential row of the system.

Member Typedef Documentation

◆ Operands

Member Function Documentation

◆ additional_order()

int serif::equations::gravity_contributions::GradientDivergence::additional_order ( Operand< Gradient, Divergence > ,
int  ) const
inline

◆ evaluate()

PointLinearization< Operands > serif::equations::gravity_contributions::GradientDivergence::evaluate ( const EquationPoint< Operands > & point) const
inline

Poisson's volume row contains + q div(g).


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