copy Subroutine

public subroutine copy(self, multigrid_copy, mesh_finest)

Copies the type to multigrid_copy, setting the internal pointer to mesh_finest

Type Bound

multigrid_t

Arguments

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

Instance of the type

type(multigrid_t), intent(out) :: multigrid_copy

Copied multigrid

type(mesh_cart_t), intent(in), target :: mesh_finest

Finest (lvl=1) mesh to point to