divergence_v2c Subroutine

public subroutine divergence_v2c(self, div_u, u, v, w, x_stagder_v2c, x_interpl_v2c, y_stagder_v2c, y_interpl_v2c, z_stagder_v2c, z_interpl_v2c)

Divergence of a vector field (u, v, w).

Evaluated at the cell centres (data_loc=CELL) Input fields are at vertices (data_loc=VERT)

Input fields are in DIR_X data layout. Output field is in DIR_Z data layout.

Type Bound

vector_calculus_t

Arguments

Type IntentOptional Attributes Name
class(vector_calculus_t) :: self
class(field_t), intent(inout) :: div_u
class(field_t), intent(in) :: u
class(field_t), intent(in) :: v
class(field_t), intent(in) :: w
class(tdsops_t), intent(in) :: x_stagder_v2c
class(tdsops_t), intent(in) :: x_interpl_v2c
class(tdsops_t), intent(in) :: y_stagder_v2c
class(tdsops_t), intent(in) :: y_interpl_v2c
class(tdsops_t), intent(in) :: z_stagder_v2c
class(tdsops_t), intent(in) :: z_interpl_v2c

Calls

proc~~divergence_v2c~~CallsGraph proc~divergence_v2c m_vector_calculus::vector_calculus_t%divergence_v2c proc~abort_run m_logger::abort_run proc~divergence_v2c->proc~abort_run proc~get_block m_allocator::allocator_t%get_block proc~divergence_v2c->proc~get_block proc~release_block m_allocator::allocator_t%release_block proc~divergence_v2c->proc~release_block proc~reorder_base m_base_backend::base_backend_t%reorder_base proc~divergence_v2c->proc~reorder_base proc~tds_solve_base m_base_backend::base_backend_t%tds_solve_base proc~divergence_v2c->proc~tds_solve_base proc~vecadd_base m_base_backend::base_backend_t%vecadd_base proc~divergence_v2c->proc~vecadd_base interface~str m_logger::str proc~abort_run->interface~str mpi_abort mpi_abort proc~abort_run->mpi_abort mpi_barrier mpi_barrier proc~abort_run->mpi_barrier mpi_comm_rank mpi_comm_rank proc~abort_run->mpi_comm_rank mpi_comm_size mpi_comm_size proc~abort_run->mpi_comm_size mpi_finalized mpi_finalized proc~abort_run->mpi_finalized mpi_initialized mpi_initialized proc~abort_run->mpi_initialized proc~create_block m_allocator::allocator_t%create_block proc~get_block->proc~create_block proc~set_shape m_field::field_t%set_shape proc~get_block->proc~set_shape proc~reorder_base->proc~abort_run proc~tds_solve_base->proc~abort_run proc~vecadd_base->proc~abort_run

Called by

proc~~divergence_v2c~~CalledByGraph proc~divergence_v2c m_vector_calculus::vector_calculus_t%divergence_v2c proc~divergence_v2p m_solver::solver_t%divergence_v2p proc~divergence_v2p->proc~divergence_v2c proc~pressure_correction m_solver::solver_t%pressure_correction proc~pressure_correction->proc~divergence_v2p proc~write_step~2 m_monitoring::monitoring_t%write_step proc~write_step~2->proc~divergence_v2p proc~postprocess_abl m_case_abl::case_abl_t%postprocess_abl proc~postprocess_abl->proc~write_step~2 proc~postprocess_channel m_case_channel::case_channel_t%postprocess_channel proc~postprocess_channel->proc~write_step~2 proc~postprocess_cylinder m_case_cylinder::case_cylinder_t%postprocess_cylinder proc~postprocess_cylinder->proc~write_step~2 proc~postprocess_generic m_case_generic::case_generic_t%postprocess_generic proc~postprocess_generic->proc~write_step~2 proc~postprocess_tgv m_case_tgv::case_tgv_t%postprocess_tgv proc~postprocess_tgv->proc~write_step~2 proc~postprocess_wind_turbine m_case_wind_turbine::case_wind_turbine_t%postprocess_wind_turbine proc~postprocess_wind_turbine->proc~write_step~2 proc~run m_base_case::base_case_t%run proc~run->proc~pressure_correction program~xcompact xcompact program~xcompact->proc~run