Configuration parameters for stroid mesh generation.
More...
#include <config.h>
|
| int | refinement_levels = 4 |
| | Number of uniform refinement passes applied after topology creation.
|
| |
| int | order = 3 |
| | Polynomial order for high-order elements.
|
| |
| bool | include_external_domain = true |
| | Whether to include an external domain extending to r_infinity.
|
| |
| double | r_core = 1.5 |
| | Radius of the stellar core region.
|
| |
| double | r_star = 5.0 |
| | Radius of the stellar surface.
|
| |
| double | flattening = 0 |
| | Flattening factor for spheroidal shaping (0 = spherical, >0 = oblate).
|
| |
| double | r_infinity = 6.0 |
| | Outer radius of the external domain when enabled.
|
| |
| double | r_instability = 1e-14 |
| | Radius inside which transformations are skipped to avoid singularities.
|
| |
| double | core_steepness = 1.0 |
| | Controls the smoothness/steepness of the core-to-envelope transition.
|
| |
| size_t | surface_bdr_id = 1 |
| | Boundary attribute id for stellar surface.
|
| |
| size_t | inf_bdr_id = 2 |
| | Boundary attribute id for infinity in kelvin mapping.
|
| |
| size_t | core_id = 1 |
| | Material attribute id for the core region.
|
| |
| size_t | envelope_id = 2 |
| | Material attribute id for the envelope region.
|
| |
| size_t | vacuum_id = 3 |
| | Material attribute id for the external domain (if enabled)
|
| |
Configuration parameters for stroid mesh generation.
These values are typically loaded via fourdst::config::Config<stroid::config::MeshConfig> from a TOML file. The README shows the expected TOML layout under the [main] table. Unspecified keys use the defaults defined here.
◆ core_id
| size_t stroid::config::MeshConfig::core_id = 1 |
Material attribute id for the core region.
toml
◆ core_steepness
| double stroid::config::MeshConfig::core_steepness = 1.0 |
Controls the smoothness/steepness of the core-to-envelope transition.
toml
◆ envelope_id
| size_t stroid::config::MeshConfig::envelope_id = 2 |
Material attribute id for the envelope region.
toml
◆ flattening
| double stroid::config::MeshConfig::flattening = 0 |
Flattening factor for spheroidal shaping (0 = spherical, >0 = oblate).
toml
◆ include_external_domain
| bool stroid::config::MeshConfig::include_external_domain = true |
Whether to include an external domain extending to r_infinity.
toml
- [main].include_external_domain
◆ inf_bdr_id
| size_t stroid::config::MeshConfig::inf_bdr_id = 2 |
Boundary attribute id for infinity in kelvin mapping.
toml
◆ order
| int stroid::config::MeshConfig::order = 3 |
Polynomial order for high-order elements.
toml
◆ r_core
| double stroid::config::MeshConfig::r_core = 1.5 |
Radius of the stellar core region.
toml
◆ r_infinity
| double stroid::config::MeshConfig::r_infinity = 6.0 |
Outer radius of the external domain when enabled.
toml
◆ r_instability
| double stroid::config::MeshConfig::r_instability = 1e-14 |
Radius inside which transformations are skipped to avoid singularities.
toml
◆ r_star
| double stroid::config::MeshConfig::r_star = 5.0 |
Radius of the stellar surface.
toml
◆ refinement_levels
| int stroid::config::MeshConfig::refinement_levels = 4 |
Number of uniform refinement passes applied after topology creation.
toml
◆ surface_bdr_id
| size_t stroid::config::MeshConfig::surface_bdr_id = 1 |
Boundary attribute id for stellar surface.
toml
◆ vacuum_id
| size_t stroid::config::MeshConfig::vacuum_id = 3 |
Material attribute id for the external domain (if enabled)
toml
The documentation for this struct was generated from the following file: