|
Peano
|
Very simple scenario in which the initial value of x is shifted in each spatial dimension. More...


Public Member Functions | |
| __init__ (self, dimensions=2) | |
| initial_conditions (self) | |
| boundary_conditions (self) | |
| Public Member Functions inherited from scenarios.scenario.Scenario | |
| refinement_criterion (self) | |
| analytical_solution (self) | |
| set_global_simulation_parameters (self, project) | |
Additional Inherited Members | |
| Static Protected Attributes inherited from scenarios.scenario.Scenario | |
| _equation = None | |
| int | _dimensions = 2 |
| float | _end_time = 1.0 |
| float | _plot_dt = 0.1 |
| float | _offset = 0.0 |
| float | _domain_size = 1.0 |
| bool | _periodic_bc = False |
Very simple scenario in which the initial value of x is shifted in each spatial dimension.
Definition at line 12 of file advection_linear.py.
| scenarios.advection_linear.AdvectionLinear.__init__ | ( | self, | |
| dimensions = 2 ) |
Definition at line 21 of file advection_linear.py.
| scenarios.advection_linear.AdvectionLinear.boundary_conditions | ( | self | ) |
Reimplemented from scenarios.scenario.Scenario.
Definition at line 34 of file advection_linear.py.
| scenarios.advection_linear.AdvectionLinear.initial_conditions | ( | self | ) |
Reimplemented from scenarios.scenario.Scenario.
Definition at line 25 of file advection_linear.py.