set_up_div_scalar_flux Module Procedure

module procedure set_up_div_scalar_flux module subroutine set_up_div_scalar_flux(this, vertices, block_surfaces, div_flux_internal_points)

Evaluate 2nd partial derivatives in each coordinate direction according to equations (2.2) & (2.4) in Sundqvist & Veronis (1969) "A simple finite-difference grid with non-constant intervals", Tellus 22:1

compute scalar flux divergence at internal points and boundary points excluding x-direction boundaries

(dx_b + dx_f)/2 forward flux in x direction backward flux in x direction forward flux in y direction backward flux in y direction forward flux in z direction backward flux in z direction

Arguments

Type IntentOptional AttributesName
class(spherical_grid), intent(in) :: this
class(structured_grid), intent(in) :: vertices
type(surfaces), intent(inout) :: block_surfaces
class(structured_grid), intent(inout) :: div_flux_internal_points

Calls

proc~~set_up_div_scalar_flux~3~~CallsGraph proc~set_up_div_scalar_flux~3 set_up_div_scalar_flux npoints npoints proc~set_up_div_scalar_flux~3->npoints positions positions proc~set_up_div_scalar_flux~3->positions interface~assert assert proc~set_up_div_scalar_flux~3->interface~assert s s proc~set_up_div_scalar_flux~3->s proc~assert assert interface~assert->proc~assert

Called by

proc~~set_up_div_scalar_flux~3~~CalledByGraph proc~set_up_div_scalar_flux~3 set_up_div_scalar_flux interface~set_up_div_scalar_flux set_up_div_scalar_flux interface~set_up_div_scalar_flux->proc~set_up_div_scalar_flux~3

Contents

None