set_phi_coarse Subroutine

public subroutine set_phi_coarse(self, new_phi)

Sets phi value on coarse meshes to a new value On finest mesh that is pointed to, needs to be set separately

Type Bound

multigrid_t

Arguments

Type IntentOptional Attributes Name
class(multigrid_t), intent(inout), target :: self

Instance of the type

real(kind=FP), intent(in) :: new_phi

New phi value