|
Peano
|
Initialisation snippet for the Sod shock problem in different spatial dimensions. More...
Public Member Functions | |
| __init__ (self, dimensions) | |
Data Fields | |
| initialisation_snippet | |
Initialisation snippet for the Sod shock problem in different spatial dimensions.
This problem should have been initialized via a HDF5 file which set up the relevant variables. Here we initialize the rest of arrays which are mostly trivial, but also fine-tune the boundary particles.
Returns a string with C++ code.
Definition at line 5 of file SodShock.py.
| exaparty.api.scenario.SodShock.SodShockIC.__init__ | ( | self, | |
| dimensions | |||
| ) |
Definition at line 16 of file SodShock.py.
| exaparty.api.scenario.SodShock.SodShockIC.initialisation_snippet |
Definition at line 18 of file SodShock.py.