flash.Simulation_base.pySimulation

class pySimulation

Bases: object

Methods

adjustEvolution

This function is called at the very beginning of every time step.

bcIHI

Implements the USER defined boundary condition on the IHI face.

bcILO

Implements the USER defined boundary condition on the ILO face.

bcJHI

Implements the USER defined boundary condition on the JHI face.

bcJLO

Implements the USER defined boundary condition on the JLO face.

bcKHI

Implements the USER defined boundary condition on the KHI face.

bcKLO

Implements the USER defined boundary condition on the KLO face.

finalize

Called at the very end of the FLASH simulation.

init

This function binds to Simulation_init.F90 and is called durring FLASH's initialization as the last unit.

initBlock

This function is responsible for initializing all the grid data on the block blockID.

adjustEvolution()

This function is called at the very beginning of every time step. Can be used to modify the simulation.

The pyFlash4.Grid.BlockList API provides patterns for accessing the block data

bcIHI(bcRegion)

Implements the USER defined boundary condition on the IHI face.

See the pyFlash4.Grid.bcRegion API

bcILO(bcRegion)

Implements the USER defined boundary condition on the ILO face.

See the pyFlash4.Grid.bcRegion API

bcJHI(bcRegion)

Implements the USER defined boundary condition on the JHI face.

See the pyFlash4.Grid.bcRegion API

bcJLO(bcRegion)

Implements the USER defined boundary condition on the JLO face.

See the pyFlash4.Grid.bcRegion API

bcKHI(bcRegion)

Implements the USER defined boundary condition on the KHI face.

See the pyFlash4.Grid.bcRegion API

bcKLO(bcRegion)

Implements the USER defined boundary condition on the KLO face.

See the pyFlash4.Grid.bcRegion API

finalize()

Called at the very end of the FLASH simulation. Use this for any final housekeeping.

init()

This function binds to Simulation_init.F90 and is called durring FLASH’s initialization as the last unit.

initBlock(blockID)

This function is responsible for initializing all the grid data on the block blockID. The pyFlash4.Grid.Block API provides patterns for accessing the block data.

Parameters:

blockID (int): id of current block

Returns:

after return EoS will be called on the CENTER variables using mode given by the runtime parameter eosModeInit