assert Interface

interface


Calls

interface~~assert~~CallsGraph interface~assert assert proc~assert assert interface~assert->proc~assert

Called by

interface~~assert~~CalledByGraph interface~assert assert proc~build_surfaces~2 build_surfaces proc~build_surfaces~2->interface~assert proc~read_wrappers_components read_wrappers_components proc~read_wrappers_components->interface~assert proc~block_identifier block_identifier proc~block_identifier->interface~assert proc~set_metadata~3 set_metadata proc~set_metadata~3->interface~assert proc~findloc_logical_dim1 findloc_logical_dim1 proc~findloc_logical_dim1->interface~assert proc~build_surfaces build_surfaces proc~build_surfaces->interface~assert proc~block_load block_load proc~block_load->interface~assert proc~verify_wrappers_components~2 verify_wrappers_components proc~verify_wrappers_components~2->interface~assert proc~read_wrappers_components~2 read_wrappers_components proc~read_wrappers_components~2->interface~assert proc~read_core_components~3 read_core_components proc~read_core_components~3->interface~assert proc~set_grid_specification set_grid_specification proc~set_grid_specification->interface~assert proc~set_grid_specification~3 set_grid_specification proc~set_grid_specification~3->interface~assert proc~block_identifier~4 block_identifier proc~block_identifier~4->interface~assert proc~compare compare proc~compare->interface~assert proc~block_identifier~2 block_identifier proc~block_identifier~2->interface~assert proc~write_formatted write_formatted proc~write_formatted->interface~assert proc~evaluate evaluate proc~evaluate->interface~assert proc~set_up_div_scalar_flux~2 set_up_div_scalar_flux proc~set_up_div_scalar_flux~2->interface~assert proc~findloc_character_dim1 findloc_character_dim1 proc~findloc_character_dim1->interface~assert proc~get_scalar get_scalar proc~get_scalar->interface~assert proc~div_scalar_flux~3 div_scalar_flux proc~div_scalar_flux~3->interface~assert proc~build_surfaces~3 build_surfaces proc~build_surfaces~3->interface~assert proc~read_wrappers_components~3 read_wrappers_components proc~read_wrappers_components~3->interface~assert proc~set_vector_components set_vector_components proc~set_vector_components->interface~assert proc~findloc_integer_dim1 findloc_integer_dim1 proc~findloc_integer_dim1->interface~assert proc~verify_wrappers_components~3 verify_wrappers_components proc~verify_wrappers_components~3->interface~assert proc~read_core_components~2 read_core_components proc~read_core_components~2->interface~assert proc~set_up_div_scalar_flux~3 set_up_div_scalar_flux proc~set_up_div_scalar_flux~3->interface~assert proc~set_grid_specification~2 set_grid_specification proc~set_grid_specification~2->interface~assert proc~set_metadata~2 set_metadata proc~set_metadata~2->interface~assert proc~div_scalar_flux~2 div_scalar_flux proc~div_scalar_flux~2->interface~assert proc~verify_wrappers_components verify_wrappers_components proc~verify_wrappers_components->interface~assert proc~set_up_div_scalar_flux set_up_div_scalar_flux proc~set_up_div_scalar_flux->interface~assert proc~set_metadata set_metadata proc~set_metadata->interface~assert proc~set_scalar set_scalar proc~set_scalar->interface~assert proc~vectors vectors proc~vectors->interface~assert proc~div_scalar_flux div_scalar_flux proc~div_scalar_flux->interface~assert proc~partition partition proc~partition->interface~assert proc~set_scalar_flux_divergence set_scalar_flux_divergence proc~set_scalar_flux_divergence->interface~assert proc~set_analytical_scalars set_analytical_scalars proc~set_analytical_scalars->interface~assert proc~read_core_components read_core_components proc~read_core_components->interface~assert interface~block_identifier block_identifier interface~block_identifier->proc~block_identifier interface~build_surfaces build_surfaces interface~build_surfaces->proc~build_surfaces interface~div_scalar_flux div_scalar_flux interface~div_scalar_flux->proc~div_scalar_flux interface~build_surfaces~3 build_surfaces interface~build_surfaces~3->proc~build_surfaces~3 interface~set_up_div_scalar_flux~3 set_up_div_scalar_flux interface~set_up_div_scalar_flux~3->proc~set_up_div_scalar_flux~2 interface~findloc_integer_dim1 findloc_integer_dim1 interface~findloc_integer_dim1->proc~findloc_integer_dim1 interface~set_grid_specification~2 set_grid_specification interface~set_grid_specification~2->proc~set_grid_specification~2 interface~block_load block_load interface~block_load->proc~block_load interface~findloc_character_dim1 findloc_character_dim1 interface~findloc_character_dim1->proc~findloc_character_dim1 interface~set_scalar set_scalar interface~set_scalar->proc~set_scalar interface~block_identifier~2 block_identifier interface~block_identifier~2->proc~block_identifier~2 interface~set_analytical_scalars set_analytical_scalars interface~set_analytical_scalars->proc~set_analytical_scalars interface~write_formatted write_formatted interface~write_formatted->proc~write_formatted interface~vectors vectors interface~vectors->proc~vectors interface~get_scalar get_scalar interface~get_scalar->proc~get_scalar interface~partition partition interface~partition->proc~partition proc~set_block_metadata set_block_metadata proc~set_block_metadata->proc~read_wrappers_components proc~set_block_metadata->proc~verify_wrappers_components proc~set_block_metadata->proc~set_metadata proc~set_block_metadata->proc~read_core_components interface~set_up_div_scalar_flux~2 set_up_div_scalar_flux interface~set_up_div_scalar_flux~2->proc~set_up_div_scalar_flux interface~evaluate evaluate interface~evaluate->proc~evaluate interface~set_grid_specification set_grid_specification interface~set_grid_specification->proc~set_grid_specification interface~set_grid_specification~3 set_grid_specification interface~set_grid_specification~3->proc~set_grid_specification~3 interface~build_surfaces~2 build_surfaces interface~build_surfaces~2->proc~build_surfaces~2 interface~div_scalar_flux~3 div_scalar_flux interface~div_scalar_flux~3->proc~div_scalar_flux~3 interface~div_scalar_flux~2 div_scalar_flux interface~div_scalar_flux~2->proc~div_scalar_flux~2 proc~set_block_metadata~3 set_block_metadata proc~set_block_metadata~3->proc~set_metadata~3 proc~set_block_metadata~3->proc~read_core_components~3 proc~set_block_metadata~3->proc~read_wrappers_components~3 proc~set_block_metadata~3->proc~verify_wrappers_components~3 interface~set_vector_components set_vector_components interface~set_vector_components->proc~set_vector_components interface~set_scalar_flux_divergence set_scalar_flux_divergence interface~set_scalar_flux_divergence->proc~set_scalar_flux_divergence interface~compare compare interface~compare->proc~compare proc~set_block_metadata~2 set_block_metadata proc~set_block_metadata~2->proc~verify_wrappers_components~2 proc~set_block_metadata~2->proc~read_wrappers_components~2 proc~set_block_metadata~2->proc~read_core_components~2 proc~set_block_metadata~2->proc~set_metadata~2 interface~findloc_logical_dim1 findloc_logical_dim1 interface~findloc_logical_dim1->proc~findloc_logical_dim1 interface~set_up_div_scalar_flux set_up_div_scalar_flux interface~set_up_div_scalar_flux->proc~set_up_div_scalar_flux~3 interface~block_identifier~4 block_identifier interface~block_identifier~4->proc~block_identifier~4 interface~findloc findloc interface~findloc->interface~findloc_integer_dim1 interface~findloc->interface~findloc_character_dim1 interface~findloc->interface~findloc_logical_dim1 interface~set_block_metadata~3 set_block_metadata interface~set_block_metadata~3->proc~set_block_metadata~3 interface~set_block_metadata set_block_metadata interface~set_block_metadata->proc~set_block_metadata interface~set_block_metadata~2 set_block_metadata interface~set_block_metadata~2->proc~set_block_metadata~2

public impure elemental module subroutine assert(assertion, description, diagnostic_data, success)

Arguments

Type IntentOptional AttributesName
logical, intent(in) :: assertion

Most assertions will be expressions, e.g., call assert( i>0, "positive i")

character(len=*), intent(in) :: description

Brief statement of what is being asserted

class(*), intent(in), optional :: diagnostic_data

Optional assertion result

logical, intent(out), optional :: success

Optional assertion result

Description

Report on the truth of an assertion or error-terminate on assertion failure