ABLATE Source Documentation  0.12.34
completeSublimation.hpp
1 #ifndef ABLATELIBRARY_COMPLETESUBLIMATION_HPP
2 #define ABLATELIBRARY_COMPLETESUBLIMATION_HPP
3 
4 #include "sublimationModel.hpp"
5 namespace ablate::boundarySolver::physics::subModels {
6 
8  private:
10  const PetscReal latentHeatOfFusion;
11 
13  const PetscReal solidDensity;
14 
15  public:
16  explicit CompleteSublimation(PetscReal latentHeatOfFusion, PetscReal solidDensity = 1.0);
17 
22  PetscErrorCode Compute(PetscInt faceId, PetscReal heatFluxToSurface, SurfaceState &) override;
23 };
24 } // namespace ablate::boundarySolver::physics::subModels
25 
26 #endif // ABLATELIBRARY_COMPLETESUBLIMATION_HPP
PetscErrorCode Compute(PetscInt faceId, PetscReal heatFluxToSurface, SurfaceState &) override
Definition: completeSublimation.cpp:5