XGCa
tiny_functions.F90 File Reference
#include "petscversion.h"
#include <petsc/finclude/petscsnes.h>
Include dependency graph for tiny_functions.F90:

## Functions/Subroutines

logical function is_nan (a)

logical function is_nan_or_inf (a)

subroutine set_zero_for_nan (var)

real(8) function max_mem_use ()

subroutine remove_toroidal_average (n, x)
Removes the toroidal average of a quantity of type real(8) that is global on a poloidal plane but local in the toroidal direction. More...

## Function/Subroutine Documentation

 logical function is_nan ( real (8) a )

Here is the caller graph for this function:

 logical function is_nan_or_inf ( real (8) a )

Here is the caller graph for this function:

 real(8) function max_mem_use ( )
 subroutine remove_toroidal_average ( integer, intent(in) n, real (kind=8), dimension(n), intent(out) x )

Removes the toroidal average of a quantity of type real(8) that is global on a poloidal plane but local in the toroidal direction.

Parameters
 [in] n Number of poloidal planes input] x Input quantity from which to remove its toroidal average

Here is the call graph for this function:

 subroutine set_zero_for_nan ( real (8), intent(inout) var )

Here is the call graph for this function:

Here is the caller graph for this function: