Snapshot optimized solver and audit diagnostics before numerical experiments
This commit is contained in:
@@ -784,9 +784,7 @@ export namespace mean_field::preconditioning {
|
||||
) const {
|
||||
VerifyBlock(enthalpy, 2, "enthalpy direction");
|
||||
VerifyBlock(densityAction, 0, "density action");
|
||||
m_operation->GetBarotropicClosureOperator().Mult(
|
||||
m_zeroDensity, enthalpy, ZeroVolumeDisplacement(), densityAction
|
||||
);
|
||||
m_operation->GetBarotropicClosureOperator().ApplyEnthalpyJacobianAction(enthalpy, densityAction);
|
||||
}
|
||||
|
||||
void ApplySurfaceToMaterial(
|
||||
@@ -798,8 +796,8 @@ export namespace mean_field::preconditioning {
|
||||
VerifyBlock(densityAction, 0, "density action");
|
||||
VerifyBlock(enthalpyAction, 2, "enthalpy action");
|
||||
GenerateDisplacement(surface);
|
||||
m_operation->GetBarotropicClosureOperator().Mult(
|
||||
m_zeroDensity, m_zeroEnthalpy, m_volumeDisplacement, densityAction
|
||||
m_operation->GetBarotropicClosureOperator().ApplyDisplacementJacobianAction(
|
||||
m_volumeDisplacement, densityAction
|
||||
);
|
||||
m_operation->GetHydrostaticOperator().ApplyDisplacementJacobianAction(m_volumeDisplacement, enthalpyAction);
|
||||
m_operation->GetSurfaceConstraintOperator().ApplyJacobianRows(m_zeroEnthalpy, enthalpyAction);
|
||||
|
||||
Reference in New Issue
Block a user