|
Peano
|
Abstract base class for all Lagrange bases available in ExaHyPE 2. More...

Public Member Functions | |
| __init__ (self, polynomial_order, render_digits=64) | |
| order (self) | |
| dofs_per_axis (self) | |
| init_dictionary_with_default_parameters (self, dictionary, use_multidimensional_arrays) | |
| To be implemented by subclass. | |
Protected Attributes | |
| _polynomial_order = polynomial_order | |
| _render_digits = render_digits | |
Abstract base class for all Lagrange bases available in ExaHyPE 2.
This tool relies heavily on SciPy. I could have used sympy as well, but eventually decided to keep it as simple as possible. So I work with functors and no symbolic representation. But I could
Definition at line 90 of file LagrangeBasis.py.
| solvers.LagrangeBasis.LagrangeBasis.__init__ | ( | self, | |
| polynomial_order, | |||
| render_digits = 64 ) |
Definition at line 102 of file LagrangeBasis.py.
| solvers.LagrangeBasis.LagrangeBasis.dofs_per_axis | ( | self | ) |
Definition at line 113 of file LagrangeBasis.py.
References _polynomial_order.
| solvers.LagrangeBasis.LagrangeBasis.init_dictionary_with_default_parameters | ( | self, | |
| dictionary, | |||
| use_multidimensional_arrays ) |
To be implemented by subclass.
multidimensional_arrays: Boolean If it is to False, all the matrices should be flattened into one array (C enumeration). If it is set, the matrices should be written down as proper two-dimensional arrays. Analogously, all inter-grid transfer operators either are represented as array or as d-dimensional construct.
Reimplemented in solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.
Definition at line 119 of file LagrangeBasis.py.
Referenced by solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__str__().

| solvers.LagrangeBasis.LagrangeBasis.order | ( | self | ) |
Definition at line 108 of file LagrangeBasis.py.
References _polynomial_order.
Referenced by solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.init_dictionary_with_default_parameters().

|
protected |
Definition at line 103 of file LagrangeBasis.py.
Referenced by solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__compute_restriction_matrix(), dofs_per_axis(), order(), solvers.LagrangeBasisWithDiagonalMassMatrix.GaussLegendreBasis.quadrature_points(), and solvers.LagrangeBasisWithDiagonalMassMatrix.GaussLegendreBasis.quadrature_weights().
|
protected |
Definition at line 104 of file LagrangeBasis.py.