PSCF v1.5.0
R1::Domain

A Pscf::R1::Domain object represents a one-dimensional coordinate interval and its discretization in planar, cylindrical, or spherical geometry.

See also
Pscf::R1::Domain

The parameter file format for a Domain is:

Domain{
mode* enumeration (planar by default)
xMin* real (0.0 by default)
xMax real
nx int
}
double real(fftw_complex const &a)
Return the real part of an fftw_complex number.
Definition cpp/complex.h:38

Parameters and subblocks are described below:

mode* Enumeration value of type "R1::GeometryMode". String representations of allowed values are "planar", "cylindrical" or "spherical". Optional, with "planar" as the default.
xMin* Minimum coordinate value, at lower boundary of the domain. (real, optional, 0.0 by default)
xMax Maximum coordinate value, at upper boundary of the domain
nx Number of grid points, including endpoints at xMin and xMax

Comments:

 - For cylindrical and spherical modes, omit xMin to simulate a
   simply connected cylindrical or spherical region, or include
   to simulate an annular shell. 

 - For cylindrical and spherical modes, if xMin is present, it
   must be assigned a value xMin > 0.