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

The rotational field, represented as the angular velocity term, given that we currently only model rigid rotation this is a global scalar. A future extension which models differential rotation will likely need to modify this to some vector field or other more complex representation of the rotation. More...

#include <fields.hpp>

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

Classes

struct  angular_velocity
 The angular_velocity term represents the angular velocity of the system. It is a global scalar that is associated with the rotation of the system. This is used to enforce the rotation condition in the weak form when we are in the rigid rotation case. Note that downstream the way that this currently works is to calculate the expected angular velocity given the current mass, geometry, density, and angular momentum and then prescribe, given those, what the angular velocity should be. Therefore, this does not enforce that the angular velocity must be constant over the entire solver run, but rather that the angular velocity is consistent with the current state of the system. More...
 

Public Types

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

Detailed Description

The rotational field, represented as the angular velocity term, given that we currently only model rigid rotation this is a global scalar. A future extension which models differential rotation will likely need to modify this to some vector field or other more complex representation of the rotation.

Member Typedef Documentation

◆ Terms

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

Member Data Documentation

◆ angular_velocity_term

angular_velocity serif::discretization::blocks::rotation::angular_velocity_term {}
staticconstexpr

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

◆ name

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

Compile time reflected name of the field.


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