|
Peano
|


Public Member Functions | |
| __init__ (self, Solver solver) | |
| construct_output (self, exahype2_project, peano_project) | |
| Dump the solver into actual C++ classes. | |
| Public Member Functions inherited from exahype2.api.Solver.Solver.SolverGenerator | |
| __init__ (self, "Solver" solver) | |
Static Public Attributes | |
| str | TEMPLATE_ABSTRACT_HEADER_FILE |
| str | TEMPLATE_ABSTRACT_CPP_FILE |
| str | TEMPLATE_SOLVER_HEADER_FILE |
| str | TEMPLATE_SOLVER_CPP_FILE |
Protected Member Functions | |
| str | _variables_declaration (self) |
| Nested struct Variables with the position of each named variable within Q, or the empty string if the solver's variables carry no names. | |
Additional Inherited Members | |
| Protected Attributes inherited from exahype2.api.Solver.Solver.SolverGenerator | |
| _solver = solver | |
Definition at line 14 of file SolverToCPPFiles.py.
| exahype2.api.SolverToCPPFiles.SolverToCPPFiles.__init__ | ( | self, | |
| Solver | solver ) |
Definition at line 136 of file SolverToCPPFiles.py.
References __init__().
Referenced by __init__().


|
protected |
Nested struct Variables with the position of each named variable within Q, or the empty string if the solver's variables carry no names.
User code (and code injected from Python) then can write Q[Variables.rho] instead of Q[0].
Definition at line 139 of file SolverToCPPFiles.py.
References exagrype.api.FD4WithKODissipation.FD4WithKODissipation._solver, exahype2.api.blockstructured.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.blockstructured.ConsumeRefinementRequests.ConsumeRefinementRequests._solver, exahype2.api.blockstructured.DynamicMeshRefinement.DynamicMeshRefinement._solver, exahype2.api.blockstructured.LoadCheckpoint._LoadPatchesFromCheckpoint._solver, exahype2.api.blockstructured.LoadCheckpoint.LoadCheckpoint._solver, exahype2.api.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions._solver, exahype2.api.fv.actionsets.DiscardPatchInterior.DiscardPatchInterior._solver, exahype2.api.fv.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.fv.PlotAsVTKFile.PlotAsVTKFile._solver, exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEuler._solver, exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEulerGenerator._solver, exahype2.api.fv.RusanovWithOptimisticExplicitEuler.RusanovWithOptimisticExplicitEuler._solver, exahype2.api.fv.SetupSimulationOverRegularGrid.SetupSimulationOverRegularGrid._solver, exahype2.api.fv.SetupSimulationWithUserCodedRefinementCriterion.SetupSimulationWithUserCodedRefinementCriterion._solver, exahype2.api.fv.WriteCheckpoint.WriteCheckpoint._solver, exahype2.api.rkfd4.actionsets.AbstractRKFD4ActionSet.AbstractRKFD4ActionSet._solver, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions._solver, exahype2.api.rkfd4.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.rkfd4.CentralDifferencesWithRungeKutta.CentralDifferencesWithRungeKutta._solver, exahype2.api.rkfd4.PlotAsVTKFile.PlotAsVTKFile._solver, exahype2.api.rkfd4.SetupSimulationOverRegularGrid.SetupSimulationOverRegularGrid._solver, exahype2.api.rkfd4.WriteCheckpoint.WriteCheckpoint._solver, and exahype2.api.Solver.Solver.SolverGenerator._solver.
Referenced by construct_output().

| exahype2.api.SolverToCPPFiles.SolverToCPPFiles.construct_output | ( | self, | |
| exahype2_project, | |||
| peano_project ) |
Dump the solver into actual C++ classes.
Reimplemented from exahype2.api.Solver.Solver.SolverGenerator.
Definition at line 164 of file SolverToCPPFiles.py.
References exagrype.api.FD4WithKODissipation.FD4WithKODissipation._solver, exahype2.api.blockstructured.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.blockstructured.ConsumeRefinementRequests.ConsumeRefinementRequests._solver, exahype2.api.blockstructured.DynamicMeshRefinement.DynamicMeshRefinement._solver, exahype2.api.blockstructured.LoadCheckpoint._LoadPatchesFromCheckpoint._solver, exahype2.api.blockstructured.LoadCheckpoint.LoadCheckpoint._solver, exahype2.api.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions._solver, exahype2.api.fv.actionsets.DiscardPatchInterior.DiscardPatchInterior._solver, exahype2.api.fv.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.fv.PlotAsVTKFile.PlotAsVTKFile._solver, exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEuler._solver, exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEulerGenerator._solver, exahype2.api.fv.RusanovWithOptimisticExplicitEuler.RusanovWithOptimisticExplicitEuler._solver, exahype2.api.fv.SetupSimulationOverRegularGrid.SetupSimulationOverRegularGrid._solver, exahype2.api.fv.SetupSimulationWithUserCodedRefinementCriterion.SetupSimulationWithUserCodedRefinementCriterion._solver, exahype2.api.fv.WriteCheckpoint.WriteCheckpoint._solver, exahype2.api.rkfd4.actionsets.AbstractRKFD4ActionSet.AbstractRKFD4ActionSet._solver, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions._solver, exahype2.api.rkfd4.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.rkfd4.CentralDifferencesWithRungeKutta.CentralDifferencesWithRungeKutta._solver, exahype2.api.rkfd4.PlotAsVTKFile.PlotAsVTKFile._solver, exahype2.api.rkfd4.SetupSimulationOverRegularGrid.SetupSimulationOverRegularGrid._solver, exahype2.api.rkfd4.WriteCheckpoint.WriteCheckpoint._solver, exahype2.api.Solver.Solver.SolverGenerator._solver, _variables_declaration(), TEMPLATE_ABSTRACT_CPP_FILE, TEMPLATE_ABSTRACT_HEADER_FILE, TEMPLATE_SOLVER_CPP_FILE, and TEMPLATE_SOLVER_HEADER_FILE.

|
static |
Definition at line 66 of file SolverToCPPFiles.py.
Referenced by construct_output().
|
static |
Definition at line 15 of file SolverToCPPFiles.py.
Referenced by construct_output().
|
static |
Definition at line 116 of file SolverToCPPFiles.py.
Referenced by construct_output().
|
static |
Definition at line 83 of file SolverToCPPFiles.py.
Referenced by construct_output().