destroy_solver_state Subroutine

private subroutine destroy_solver_state(self)

Nullify procedure pointer components of a solver_state_t instance.

Called automatically by the compiler when a solver_state_t goes out of scope or is deallocated. Allocatable array components (ub, num_flux, resid, fp, fm, bdf2_ub_prev) are deallocated automatically by Fortran without any action here.

Arguments

Type IntentOptional Attributes Name
type(solver_state_t), intent(inout) :: self

The solver state being finalised.