pub enum Phase {
Show 22 variants
SolverRun,
CaseValidation,
GridSetup,
InputSetup,
StateSetup,
Timestep,
Step,
MomentumRhs,
MomentumSolve,
VelocityUpdate,
PressureProjection,
PressureSolve,
PressureFactorSetup,
PressureMultigridSetup,
PressureOperatorSetup,
Turbulence,
TurbulenceSolve,
ScalarTransport,
StateValidation,
Monitor,
Assessment,
ArchiveWrite,
}Expand description
A measured solver phase. Its snake_case name (for example
pressure_solve) is the key in Profile::phases. Phases nest: an
enclosing phase’s inclusive time contains its subphases.
Variants§
SolverRun
One whole solver::run call.
CaseValidation
Semantic case checks at the start of a run.
GridSetup
Building the grid.
InputSetup
Source densities and receptor weights.
StateSetup
Initial or restart state, its validation and hash.
Timestep
Choosing the next time step, including the eddy-viscosity check.
Step
One transactional step with its momentum, pressure, turbulence and scalar subphases.
MomentumRhs
Evaluating the momentum right-hand side.
MomentumSolve
Inexact implicit momentum-correction solves; work units are inner iterations.
VelocityUpdate
Forming the momentum update (and assembling implicit matrices) before the projection.
PressureProjection
A pressure projection, including its solve.
PressureSolve
A pressure PCG solve; work units are attempted iterations.
PressureFactorSetup
Building the cached IC(0) factor; occurs only when it is built.
PressureMultigridSetup
Building the multigrid hierarchy; occurs only when it is (re)built.
PressureOperatorSetup
Gathering the compact operator of one pressure solve.
Turbulence
A k-epsilon update: in each neutral_rans step, and once after the
initial projection.
TurbulenceSolve
Inexact implicit k and ε correction solves; work units are inner iterations.
ScalarTransport
Transport of one constituent within a step.
StateValidation
Checking the candidate state before it is committed.
Monitor
Appending a monitor row.
Assessment
Recomputing the numerical checks.
ArchiveWrite
Writing the run archive (CLI).
Trait Implementations§
impl Copy for Phase
Source§impl<'de> Deserialize<'de> for Phase
impl<'de> Deserialize<'de> for Phase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Phase
Source§impl JsonSchema for Phase
impl JsonSchema for Phase
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Forget for Phase
impl Freeze for Phase
impl Move for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more