|
Peano
|
This file is part of the MGHyPE project within Peano 4.
More...
Data Structures | |
| class | DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver |
| Most efficient solver we have for this type of problem class. More... | |
Functions | |
| _hold_cell_and_face_data_guard (self) | |
| Goard when to hold data in mesh. | |
| _load_cell_and_face_data_guard (self) | |
| Goard when to hold data in mesh. | |
| _additional_includes (self) | |
| add_to_Peano4_datamodel (self, datamodel, verbose) | |
| add_use_statements (self, observer) | |
| add_to_plot (self, observer) | |
| Tell the project's observer how to plot the data. | |
| add_to_create_grid (self, observer) | |
| add_to_init_solution (self, observer) | |
| Solution initialisation. | |
| add_to_solve (self, observer) | |
| I ignore the order of the action sets here and instead derive my own ordering starting from _basic_descend_order. | |
| add_implementation_files_to_project (self, namespace, output, subdirectory="", abstract_overwrite=True) | |
| The solver creates two classes: An abstract base class and its implementations. | |
| get_face_merge_method (self) | |
| The actual merge of faces is simple, as we compute the numerical flux redundantly, i.e. | |
| create_dictionary (self) | |
This file is part of the MGHyPE project within Peano 4.
For conditions of distribution and use, please see the copyright notice at www.peano-framework.org
|
protected |
Definition at line 535 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Goard when to hold data in mesh.
Compare with the discussion in the Peano tutorial on when and how to load data. We don't need the data throughout the mesh construction, where it only blows up the memory consumption and makes the load balancing more expensive as we exchange data via MPI which, at this point, doesn't hold anything meaningful.
Definition at line 491 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Goard when to hold data in mesh.
Compare with the discussion in the Peano tutorial on when and how to load data. We don't need the data throughout the mesh construction, where it only blows up the memory consumption and makes the load balancing more expensive as we exchange data via MPI which, at this point, doesn't hold anything meaningful.
Definition at line 511 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_implementation_files_to_project | ( | self, | |
| namespace, | |||
| output, | |||
subdirectory = "", |
|||
abstract_overwrite = True |
|||
| ) |
The solver creates two classes: An abstract base class and its implementations.
The abstract base class will be overwritten if there is one in the directory. I pipe all the Python constants into this base class, so they are available in the C++ code.
Definition at line 610 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_to_create_grid | ( | self, | |
| observer | |||
| ) |
Definition at line 566 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_to_init_solution | ( | self, | |
| observer | |||
| ) |
Solution initialisation.
Is given the project's observer and asks the solver to add all of its action sets to this one.
| observer | Observer Observer object of the underlying project representing its algorithmic step. Routine is asked to add its own action sets to this step. |
Definition at line 571 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_to_Peano4_datamodel | ( | self, | |
| datamodel, | |||
| verbose | |||
| ) |
Definition at line 542 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
References solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_to_Peano4_datamodel().
Referenced by solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_to_Peano4_datamodel().


| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_to_plot | ( | self, | |
| observer | |||
| ) |
Tell the project's observer how to plot the data.
Nothing fancy here. We add plotters from Peano's toolbox to visualise solution and right-hand side.
Definition at line 548 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_to_solve | ( | self, | |
| observer | |||
| ) |
I ignore the order of the action sets here and instead derive my own ordering starting from _basic_descend_order.
Definition at line 590 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_use_statements | ( | self, | |
| observer | |||
| ) |
Definition at line 545 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
References solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_use_statements().
Referenced by solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.add_use_statements().


| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.create_dictionary | ( | self | ) |
Definition at line 677 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.get_face_merge_method | ( | self | ) |
The actual merge of faces is simple, as we compute the numerical flux redundantly, i.e.
we really only have to copy stuff one way or the other.
Definition at line 653 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 485 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 486 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 484 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 487 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 703 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 704 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 695 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 696 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 474 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 702 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 699 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 700 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 705 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 709 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 688 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 697 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 698 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 706 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 710 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 693 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 694 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 508 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 707 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 692 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 701 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 691 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 679 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 708 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 684 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 690 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 686 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 685 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
|
protected |
Definition at line 711 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| int solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.descend_order = 0 |
Definition at line 483 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.max_h |
Definition at line 567 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.merge_implementation |
Definition at line 469 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.min_h |
Definition at line 680 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.postprocessing_action_set |
Definition at line 472 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.
| solvers.api.DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.preprocessing_action_set |
Definition at line 471 of file DiscontinuousGalerkinDiscretisationPointWiseRiemannSolver.py.