atl_legpolyvar_type Derived Type

type, public :: atl_legpolyvar_type

Configuration for a legpolyvar.

The legpolyvar lets you describe a spatial function with the help of a multidimensional Legendre polynomial series, as found as basis functions in the solver elements.

The Legendre modes are read from a file in restart format (all modes written unformatted consecutively into a file).


Inherited by

type~~atl_legpolyvar_type~~InheritedByGraph type~atl_legpolyvar_type atl_legpolyvar_type type~atl_varsys_solvervar_type atl_varSys_solverVar_type type~atl_varsys_solvervar_type->type~atl_legpolyvar_type legpolyvar

Components

Type Visibility Attributes Name Initial
integer, public :: poly_space

Polynomial space of the multidimensional polynomial (Q or P)

integer, public :: nDims

Dimensionality of the polynomial (needs to be between 1 and 3).

onedimensional polynomial series only vary in X, twodimensional in X and Y.

integer, public :: degree

Maximal polynomial degree in the polynomial series.

integer, public :: iComp

State component in the given file for the data to read.

The polynomial definition in the file may contain multiple quantities. iComp specifies, which of them to use for this function.

real(kind=rk), public :: origin(3)

Position of the origin corner for the box, the Legendre polynomials are to live in.

real(kind=rk), public :: extent

Extent of the box the Legendre polynomial series is defined in.

character(len=pathLen), public :: filename

Name of the file to read the polynomial coefficients from.

This file needs to contain the polynomial data in the same format as in the Ateles restart files, but only a single element is considered. Layout of the data is given by poly_space, nDims and degree.