![]() |
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 | |
_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.
exahype2.solvers.LagrangeBasis.LagrangeBasis.__init__ | ( | self, | |
polynomial_order, | |||
render_digits = 64 ) |
Reimplemented in exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix, exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.GaussLegendreBasis, and exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.GaussLobattoBasisWithLumpedDiagonalBasis.
Definition at line 102 of file LagrangeBasis.py.
exahype2.solvers.LagrangeBasis.LagrangeBasis.dofs_per_axis | ( | self | ) |
Definition at line 113 of file LagrangeBasis.py.
References exahype2.solvers.LagrangeBasis.LagrangeBasis._polynomial_order, and exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix._polynomial_order.
Referenced by exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__compute_basis_function_values_left(), exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__compute_derivative_operator(), exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__compute_mass_matrix_diagonal(), exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__compute_restriction_matrix(), exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__compute_stiffness_operator(), peano4.toolbox.blockstructured.ReconstructPatchAndApplyFunctor.ReconstructPatchAndApplyFunctor._add_action_set_entries_to_dictionary(), exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.derivative1d(), exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.GaussLobattoBasisWithLumpedDiagonalBasis.quadrature_points(), and exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.value1d().
exahype2.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 exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.
Definition at line 119 of file LagrangeBasis.py.
Referenced by exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__str__().
exahype2.solvers.LagrangeBasis.LagrangeBasis.order | ( | self | ) |
Definition at line 108 of file LagrangeBasis.py.
References exahype2.solvers.LagrangeBasis.LagrangeBasis._polynomial_order, and exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix._polynomial_order.
Referenced by exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.init_dictionary_with_default_parameters().
|
protected |
Definition at line 103 of file LagrangeBasis.py.
Referenced by exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__compute_restriction_matrix(), exahype2.solvers.LagrangeBasis.LagrangeBasis.dofs_per_axis(), exahype2.solvers.LagrangeBasis.LagrangeBasis.order(), exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.GaussLegendreBasis.quadrature_points(), and exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.GaussLegendreBasis.quadrature_weights().
|
protected |
Definition at line 104 of file LagrangeBasis.py.