|
Peano
|


Public Member Functions | |
| __init__ (self, Solver solver) | |
| construct_output (self, exahype2_project, peano_project) | |
| Dump the solver into actual C++ classes. | |
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 | |
Definition at line 14 of file SolverToCPPFiles.py.
| exahype2.api.SolverToCPPFiles.SolverToCPPFiles.__init__ | ( | self, | |
| Solver | solver | ||
| ) |
Reimplemented from exahype2.api.Solver.Solver.SolverGenerator.
Definition at line 134 of file SolverToCPPFiles.py.
References exahype2.api.SolverToCPPFiles.SolverToCPPFiles.__init__().
Referenced by exahype2.api.SolverToCPPFiles.SolverToCPPFiles.__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 137 of file SolverToCPPFiles.py.
References solvers.aderdg.actionsets.AbstractADERDGActionSet.AbstractADERDGActionSet._solver, solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, solvers.fv.EnclaveTasking.UpdateCell._solver, solvers.fv.SingleSweep.UpdateCell._solver, solvers.limiting.actionsets.AbstractLimiterActionSet.AbstractLimiterActionSet._solver, solvers.rkdg.actionsets.AbstractRungeKuttaDGActionSet.AbstractRungeKuttaDGActionSet._solver, 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.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, exahype2.api.Solver.Solver.NumericalScheme._solver, exahype2.api.Solver.Solver.GridConstruction._solver, exahype2.api.Solver.Solver.Plotter._solver, exahype2.api.Solver.Solver.MeshAdaptation._solver, 20_additional-solver-steps.RusanovWithDensityFloor._solver, and 20_additional-solver-steps.RungeKuttaWithDensityFloor._solver.
Referenced by exahype2.api.SolverToCPPFiles.SolverToCPPFiles.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 159 of file SolverToCPPFiles.py.
References solvers.aderdg.actionsets.AbstractADERDGActionSet.AbstractADERDGActionSet._solver, solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, solvers.fv.EnclaveTasking.UpdateCell._solver, solvers.fv.SingleSweep.UpdateCell._solver, solvers.limiting.actionsets.AbstractLimiterActionSet.AbstractLimiterActionSet._solver, solvers.rkdg.actionsets.AbstractRungeKuttaDGActionSet.AbstractRungeKuttaDGActionSet._solver, 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.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, exahype2.api.Solver.Solver.NumericalScheme._solver, exahype2.api.Solver.Solver.GridConstruction._solver, exahype2.api.Solver.Solver.Plotter._solver, exahype2.api.Solver.Solver.MeshAdaptation._solver, 20_additional-solver-steps.RusanovWithDensityFloor._solver, 20_additional-solver-steps.RungeKuttaWithDensityFloor._solver, exahype2.api.SolverToCPPFiles.SolverToCPPFiles._variables_declaration(), exahype2.api.SolverToCPPFiles.SolverToCPPFiles.TEMPLATE_ABSTRACT_CPP_FILE, exahype2.api.SolverToCPPFiles.SolverToCPPFiles.TEMPLATE_ABSTRACT_HEADER_FILE, exahype2.api.SolverToCPPFiles.SolverToCPPFiles.TEMPLATE_SOLVER_CPP_FILE, and exahype2.api.SolverToCPPFiles.SolverToCPPFiles.TEMPLATE_SOLVER_HEADER_FILE.

|
static |
Definition at line 64 of file SolverToCPPFiles.py.
Referenced by exahype2.api.SolverToCPPFiles.SolverToCPPFiles.construct_output().
|
static |
Definition at line 15 of file SolverToCPPFiles.py.
Referenced by exahype2.api.SolverToCPPFiles.SolverToCPPFiles.construct_output().
|
static |
Definition at line 114 of file SolverToCPPFiles.py.
Referenced by exahype2.api.SolverToCPPFiles.SolverToCPPFiles.construct_output().
|
static |
Definition at line 81 of file SolverToCPPFiles.py.
Referenced by exahype2.api.SolverToCPPFiles.SolverToCPPFiles.construct_output().