Rheolef
7.2
an efficient C++ finite element environment
|
The basis_option
class is used to manage options for the basis constructor of the finite element method. There are two main options: Lagrange nodes and raw polynomial basis.
The is_option(string)
and set(string)
members leads to easy setting of combined options at run time. By this way, options can be specified, together with basis basename, on the command line or from a file.
The stamp()
member returns an unique string. This string is used for specifying basis options, e.g. on command line or in files. This string is empty when all options are set to default values. Otherwise, it returns a comma separated list of options, enclosed by braces, specifying only non-default options. For instance, combining Warburton node set and Dubiner raw polynomials leads to "[warburton]"}. Also, combining Warburton node set and Bernstein raw polynomials leads to
"[warburton,bernstein]"`.
Note that the continuous or discontinuous feature is not specified by the stamp()
string: it will be specified into the basis basename, by appending a "d"
letter, as in "P6d[warburton]"
.
There are two distinct kind of polynomial basis: the raw basis and the finite element one. (see basis
and basis
). When using the Pk
Lagrange finite element basis, these options are used to transform from one raw (initial) polynomial basis to the Lagrange one, based on a node set. When using an alternative finite element basis, e.g. the spectral Sk
or the Bernstein Bk
, these options do not have any effect.
This documentation has been generated from file fem/lib/basis_option.h