Peano
Loading...
Searching...
No Matches
matrices.DgGenerator Class Reference

use this class to pre-generate matrices to be used in Peano as far as possible. More...

Inheritance diagram for matrices.DgGenerator:
Collaboration diagram for matrices.DgGenerator:

Public Member Functions

 __init__ (self, dimensions, poly_degree, unknowns_per_cell_dof)
 
 getCellCellMassMatrix (self)
 needs to be scaled by h**2
 
 getCellCellSystemMatrix (self)
 needs to be scaled 0.5*h, that is why we use factor=2.0 as evaluateIntegral2d() has coeff.
 
 getCellToFaceMatrix (self)
 
 getFaceFaceMatrix (self)
 

Detailed Description

use this class to pre-generate matrices to be used in Peano as far as possible.

Definition at line 8 of file matrices.py.

Constructor & Destructor Documentation

◆ __init__()

matrices.DgGenerator.__init__ ( self,
dimensions,
poly_degree,
unknowns_per_cell_dof )

Definition at line 13 of file matrices.py.

References matrices.DgGenerator.__init__().

Referenced by matrices.DgGenerator.__init__().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ getCellCellMassMatrix()

matrices.DgGenerator.getCellCellMassMatrix ( self)

needs to be scaled by h**2

Definition at line 25 of file matrices.py.

References ScenarioFactory.createScenario().

Here is the call graph for this function:

◆ getCellCellSystemMatrix()

matrices.DgGenerator.getCellCellSystemMatrix ( self)

needs to be scaled 0.5*h, that is why we use factor=2.0 as evaluateIntegral2d() has coeff.

0.25 as default, so normalise by h

Definition at line 38 of file matrices.py.

References ScenarioFactory.createScenario().

Here is the call graph for this function:

◆ getCellToFaceMatrix()

◆ getFaceFaceMatrix()

matrices.DgGenerator.getFaceFaceMatrix ( self)

Definition at line 61 of file matrices.py.

References ScenarioFactory.createScenario().

Here is the call graph for this function:

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