|
Peano
|
Dirichlet boundary conditions: given a position x outside of the domain and a time stamp t, write the prescribed solution Q there. More...


Data Structures | |
| class | Generator |
| DirichletBoundaryConditions-specific code generation. More... | |
Public Member Functions | |
| __init__ (self, str implementation=None, bool stateless=False) | |
Public Member Functions inherited from exahype2.api.PDETerm.PDETerm | |
| str | __repr__ (self) |
| str | __str__ (self) |
| "PDETerm.Generator" | generator (self) |
| Code generator for this term: an instance of this term's own (possibly subclass-specific) Generator. | |
Static Public Attributes | |
| tuple | SIGNATURE |
| str | NAME = "dirichletBoundaryConditions" |
Static Public Attributes inherited from exahype2.api.PDETerm.PDETerm | |
| str | NAME |
| str | SIGNATURE |
Additional Inherited Members | |
Data Fields inherited from exahype2.api.PDETerm.PDETerm | |
| name | |
| implementation | |
| stateless | |
Dirichlet boundary conditions: given a position x outside of the domain and a time stamp t, write the prescribed solution Q there.
Different to the legacy boundaryConditions() (
A Finite Volume scheme such as exahype2.api.fv.RusanovWithExplicitEuler evaluates the term at the centres of the ghost volumes, i.e. of the volumes of the halo layer which lie outside of the domain, and stores the result in the face data its reconstruction reads from (
A solver needs this term if and only if at least one axis of the domain is not periodic (
Only the non-stateless variant is supported at the moment, i.e. the term has to be added with stateless=False.
Definition at line 8 of file DirichletBoundaryConditions.py.
| exahype2.api.blockstructured.DirichletBoundaryConditions.DirichletBoundaryConditions.__init__ | ( | self, | |
| str | implementation = None, |
||
| bool | stateless = False |
||
| ) |
| implementation | str A C++ snippet that becomes dirichletBoundaryConditions()'s body, or None (the default) to leave dirichletBoundaryConditions() pure virtual for you to implement by hand. |
| stateless | bool Has to be False at the moment, |
Reimplemented from exahype2.api.PDETerm.PDETerm.
Definition at line 52 of file DirichletBoundaryConditions.py.
References exahype2.api.blockstructured.DirichletBoundaryConditions.DirichletBoundaryConditions.__init__(), exahype2.api.blockstructured.DirichletBoundaryConditions.DirichletBoundaryConditions.NAME, exahype2.api.blockstructured.SommerfeldBoundaryConditions.SommerfeldBoundaryConditions.NAME, exahype2.api.Flux.Flux.NAME, exahype2.api.GradientRefinement.GradientRefinement.NAME, exahype2.api.InitPointWisely.InitPointWisely.NAME, exahype2.api.MassMatrix.MassMatrix.NAME, exahype2.api.MaxEigenvalue.MaxEigenvalue.NAME, exahype2.api.NonconservativeProduct.NonconservativeProduct.NAME, exahype2.api.PDETerm.PDETerm.NAME, exahype2.api.PointSource.PointSource.NAME, exahype2.api.RefineErasePointwisely.RefineErasePointwisely.NAME, and exahype2.api.VolumetricSource.VolumetricSource.NAME.
Referenced by exahype2.api.blockstructured.DirichletBoundaryConditions.DirichletBoundaryConditions.__init__().


|
static |
Definition at line 50 of file DirichletBoundaryConditions.py.
Referenced by exahype2.api.blockstructured.DirichletBoundaryConditions.DirichletBoundaryConditions.__init__(), exahype2.api.Flux.Flux.__init__(), exahype2.api.GradientRefinement.GradientRefinement.__init__(), exahype2.api.InitPointWisely.InitPointWisely.__init__(), exahype2.api.MassMatrix.MassMatrix.__init__(), exahype2.api.MaxEigenvalue.MaxEigenvalue.__init__(), exahype2.api.NonconservativeProduct.NonconservativeProduct.__init__(), exahype2.api.PointSource.PointSource.__init__(), exahype2.api.RefineErasePointwisely.RefineErasePointwisely.__init__(), exahype2.api.VolumetricSource.VolumetricSource.__init__(), and exahype2.api.blockstructured.SommerfeldBoundaryConditions.SommerfeldBoundaryConditions.__init__().
|
static |
Definition at line 44 of file DirichletBoundaryConditions.py.