set_coordinate_system_from_config Subroutine

public subroutine set_coordinate_system_from_config()

Set the coordinate system from the GEOM compile-time define.

Called once before usr_init, so a case does not have to call set_coordinate_system itself. Cases that do are still fine: the call is idempotent, and the consistency check in set_coordinate_system catches a name that disagrees with what the code was built for.

Doing this centrally matters because set_coordinate_system is the only writer of coordinate, ndir, r_, phi_ and z_. Leaving coordinate at its -1 default is silently catastrophic rather than loud: read_par_files skips the conversion of angular domain bounds, and the select case in get_surface_area and in the cell-volume fill match nothing, so surfaceC and dvolume are simply never written.

Arguments

None

Calls

proc~~set_coordinate_system_from_config~~CallsGraph proc~set_coordinate_system_from_config set_coordinate_system_from_config proc~set_coordinate_system set_coordinate_system proc~set_coordinate_system_from_config->proc~set_coordinate_system proc~mpistop mpistop proc~set_coordinate_system->proc~mpistop mpi_abort mpi_abort proc~mpistop->mpi_abort

Called by

proc~~set_coordinate_system_from_config~~CalledByGraph proc~set_coordinate_system_from_config set_coordinate_system_from_config proc~main main proc~main->proc~set_coordinate_system_from_config program~agile agile program~agile->proc~main

Source Code

  subroutine set_coordinate_system_from_config()
    call set_coordinate_system("Cartesian_3D")
  end subroutine set_coordinate_system_from_config