SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::blocks::gravity Struct Referencefinal

The gravity field contains the scalar potential. The primal formulation solves the potential and obtains its gradient by differentiation. More...

#include <fields.hpp>

Inheritance diagram for serif::discretization::blocks::gravity:
[legend]
Collaboration diagram for serif::discretization::blocks::gravity:
[legend]

Classes

struct  potential
 The gravitational potential term is a fourth order H1 scalar field that is used to represent the gravitational potential of the system. Its continuous trace supports the surface potential condition, and its spatial gradient supplies gravity in the primal formulation. More...
 

Public Types

using Terms = utils::types::TypeList<potential>
 Type list of terms for compile time reflection and iteration over the terms of the field.
 

Static Public Attributes

static constexpr std::string_view name = meta::type_name<gravity>()
 Compile time reflected name of the field.
 
static constexpr potential potential_term {}
 Static constexpr instance of the potential term. This is used to access the term in the discretization.
 

Detailed Description

The gravity field contains the scalar potential. The primal formulation solves the potential and obtains its gradient by differentiation.

Member Typedef Documentation

◆ Terms

Type list of terms for compile time reflection and iteration over the terms of the field.

Member Data Documentation

◆ name

std::string_view serif::discretization::blocks::gravity::name = meta::type_name<gravity>()
staticconstexpr

Compile time reflected name of the field.

◆ potential_term

potential serif::discretization::blocks::gravity::potential_term {}
staticconstexpr

Static constexpr instance of the potential term. This is used to access the term in the discretization.


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