total_volume Function

public function total_volume(comm_handler, mesh, map, penalisation, is_stag, use_full_domain, sum_over_planes)

Compute total volume over all mesh points

Arguments

Type IntentOptional Attributes Name
type(comm_handler_t), intent(in) :: comm_handler

Communicator

type(mesh_cart_t), intent(in) :: mesh

Mesh within poloidal plane

type(parallel_map_t), intent(in) :: map

Parallel map

type(penalisation_t), intent(in) :: penalisation

Penalisation

logical, intent(in) :: is_stag

Wheter computation is performed on staggered grid

logical, intent(in), optional :: use_full_domain

Whether to include outer mesh points and penalisation region in the computation (default: false)

logical, intent(in), optional :: sum_over_planes

Whether to sum over all planes (default: true)

Return Value real(kind=gp)


Contents