Constant Dirichlet boundary conditions for the inner (CMB) and outer (surface) radial boundaries of the spherical shell. More...
#include <helpers.hpp>
Public Attributes | |
| ScalarT | T_cmb = ScalarT( 0 ) |
| Prescribed temperature at the core-mantle boundary. | |
| ScalarT | T_surface = ScalarT( 0 ) |
| Prescribed temperature at the outer surface. | |
| bool | apply_cmb = false |
| Enforce CMB Dirichlet BC when true. | |
| bool | apply_surface = false |
| Enforce surface Dirichlet BC when true. | |
Constant Dirichlet boundary conditions for the inner (CMB) and outer (surface) radial boundaries of the spherical shell.
Used by apply_dirichlet_bcs to enforce prescribed temperatures after each time step. The BCs are applied as a strong (pointwise) enforcement — boundary cells are overwritten with the prescribed value at the end of each explicit or implicit step.
| ScalarT | Floating-point scalar type. |
| bool terra::fv::hex::DirichletBCs< ScalarT >::apply_cmb = false |
Enforce CMB Dirichlet BC when true.
| bool terra::fv::hex::DirichletBCs< ScalarT >::apply_surface = false |
Enforce surface Dirichlet BC when true.
| ScalarT terra::fv::hex::DirichletBCs< ScalarT >::T_cmb = ScalarT( 0 ) |
Prescribed temperature at the core-mantle boundary.
| ScalarT terra::fv::hex::DirichletBCs< ScalarT >::T_surface = ScalarT( 0 ) |
Prescribed temperature at the outer surface.