|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
The gravitational gradient term is a 2nd order Hdiv vector field that is used to represent the negative gravitational acceleration of the system. Note that when I started developing this code I made the frankly wacky choice to let this be the true gradient of the potential, which is the negative acceleration. Broadly this may make sense mathematically; however, it means that developers must be extra careful to remember the sign convention. More...
#include <fields.hpp>
Classes | |
| struct | residual |
| The residual block is a block that contains the residual of the gravitational gradient term. It is a vector field that is associated with the negative gravitational acceleration of the system. More... | |
| struct | value |
| The value block is a block that contains the value of the gravitational gradient term. It is a vector field that is associated with the negative gravitational acceleration of the system. More... | |
Public Types | |
| using | FunctionalSpace = functional_space::DiscreteFunctionalSpace<functional_space::Hdiv, 2, 1> |
| 2nd order Hdiv vector field. Read the template parameters as follows: 1) Hdiv space, 2) 2nd order, 3) rank 1 tensor field | |
| using | Support = domain::AllDomains |
| We support gravity on all domains, primarily since the only real boundary condition we have in the general case is that the potential goes to zero at infinity, which is in the vacuum domain. | |
| using | Quantity = dimensions::Acceleration |
| This is a dimension of acceleration, despite the wacky sign convention I adopted. | |
Public Types inherited from serif::discretization::blocks::term< gravity > | |
| using | field_type |
Static Public Attributes | |
| static constexpr std::string_view | name = meta::type_name<gradient>() |
| Compile time reflected name of the term. | |
| static constexpr std::string_view | symbol = "∇φ" |
| Compile time symbol used for the term. Note that this is a UTF-8 character and may not render correctly in all environments. (TODO: Should we introduce an ASCII fallback?, something like make this a tuple of form <main, fallback>?) | |
The gravitational gradient term is a 2nd order Hdiv vector field that is used to represent the negative gravitational acceleration of the system. Note that when I started developing this code I made the frankly wacky choice to let this be the true gradient of the potential, which is the negative acceleration. Broadly this may make sense mathematically; however, it means that developers must be extra careful to remember the sign convention.
| using serif::discretization::blocks::gravity::gradient::FunctionalSpace = functional_space::DiscreteFunctionalSpace<functional_space::Hdiv, 2, 1> |
2nd order Hdiv vector field. Read the template parameters as follows: 1) Hdiv space, 2) 2nd order, 3) rank 1 tensor field
This is a dimension of acceleration, despite the wacky sign convention I adopted.
We support gravity on all domains, primarily since the only real boundary condition we have in the general case is that the potential goes to zero at infinity, which is in the vacuum domain.
|
staticconstexpr |
Compile time reflected name of the term.
|
staticconstexpr |
Compile time symbol used for the term. Note that this is a UTF-8 character and may not render correctly in all environments. (TODO: Should we introduce an ASCII fallback?, something like make this a tuple of form <main, fallback>?)