Peano
Loading...
Searching...
No Matches
solvers.LagrangeBasis.LagrangeBasis Class Reference

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

Inheritance diagram for solvers.LagrangeBasis.LagrangeBasis:

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

solvers.LagrangeBasis.LagrangeBasis.__init__ ( self,
polynomial_order,
render_digits = 64 )

Definition at line 102 of file LagrangeBasis.py.

Member Function Documentation

◆ dofs_per_axis()

solvers.LagrangeBasis.LagrangeBasis.dofs_per_axis ( self)

Definition at line 113 of file LagrangeBasis.py.

References _polynomial_order.

◆ init_dictionary_with_default_parameters()

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__().

Here is the caller graph for this function:

◆ order()

solvers.LagrangeBasis.LagrangeBasis.order ( self)

Field Documentation

◆ _polynomial_order

◆ _render_digits

solvers.LagrangeBasis.LagrangeBasis._render_digits = render_digits
protected

Definition at line 104 of file LagrangeBasis.py.


The documentation for this class was generated from the following file: