Peano
Loading...
Searching...
No Matches
exaparty.api.scenario.SodShock.SodShockIC Class Reference

Initialisation snippet for the Sod shock problem in different spatial dimensions. More...

Public Member Functions

 __init__ (self, dimensions)
 

Data Fields

 initialisation_snippet
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

exaparty.api.scenario.SodShock.SodShockIC.__init__ (   self,
  dimensions 
)

Definition at line 16 of file SodShock.py.

Field Documentation

◆ initialisation_snippet

exaparty.api.scenario.SodShock.SodShockIC.initialisation_snippet

Definition at line 18 of file SodShock.py.


The documentation for this class was generated from the following file: