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

The density field used to represent the distribution of mass in the system. This is a scalar field that is associated with the mass density of the system. The density field is used to enforce the mass conservation condition in the weak form. More...

#include <fields.hpp>

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

Classes

struct  mass
 The mass density term for the system. Note that the naming here could be a bit confusing as FEM also uses the term "mass" to represent the canonical mass matrix. This is a more standard physics reading of what is going on here. We define that this space is a third order scalar H1 space. This gives density a continuous surface trace and a weak spatial gradient. More...
 

Public Types

using Terms = utils::types::TypeList<mass>
 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<density>()
 Compile time reflected name of the field.
 
static constexpr mass mass_density_term {}
 Static constexpr instance of the mass term. This is used to access the term in the discretization.
 

Detailed Description

The density field used to represent the distribution of mass in the system. This is a scalar field that is associated with the mass density of the system. The density field is used to enforce the mass conservation condition in the weak form.

Member Typedef Documentation

◆ Terms

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

Member Data Documentation

◆ mass_density_term

mass serif::discretization::blocks::density::mass_density_term {}
staticconstexpr

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

◆ name

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

Compile time reflected name of the field.


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