WARPXM v1.10.0
Loading...
Searching...
No Matches
warpy.dg_sim.dg_sim Class Reference

Discontinuous finite element RK simulation. More...

Inheritance diagram for warpy.dg_sim.dg_sim:
warpy.simulation.simulation

Detailed Description

Discontinuous finite element RK simulation.

Public Member Functions

def __init__ (self, name, meshes, initial_conditions, temporal_solvers, writers, dt_controller, time=[0., 1.], write_steps=1, cfl_max=1, flexible_writeout=False, verbosity='info', global_verbosity='info', num_partitions=1, enable_fpe=True, extra_start_host_actions=None, pre_ti_host_actions=None, post_ti_host_actions=None, extra_end_host_actions=None, copy_other_files=[])
 
- Public Member Functions inherited from warpy.simulation.simulation
def __init__ (self, name, meshes, solver_sequence, dt_controller, time=[0., 1.], write_steps=1, cfl_max=1, flexible_writeout=False, global_verbosity='info', verbosity='info', variables=[], num_partitions=1, enable_fpe=True, copy_other_files=[])
 
def generate (self)
 
def __str__ (self)
 
def write (self, f=None)
 Writes this simulation input file to disk.
 
def run (self, category, local_path=None, site_path='warpy_config.py', wxm_args=[], gen_xdmf=True, detect_nonscalar=True, sim_param=None)
 runs this simulation.
 
def setup_sim (self, category, local_path=None, site_path='warpy_config.py', wxm_args=[], sim_param=None)
 Setups the simulation run directory.
 
def gen_xdmf (self, category, local_path=None, site_path='warpy_config.py', detect_nonscalar=True)
 

Additional Inherited Members

- Public Attributes inherited from warpy.simulation.simulation
 name
 
 meshes
 
 root
 
 cfl_max
 
 dt_controller
 
 solver_sequence
 
 seq_groups
 
 h_acts
 
 variables
 
 copy_other_files
 

Constructor & Destructor Documentation

◆ __init__()

def warpy.dg_sim.dg_sim.__init__ (   self,
  name,
  meshes,
  initial_conditions,
  temporal_solvers,
  writers,
  dt_controller,
  time = [0., 1.],
  write_steps = 1,
  cfl_max = 1,
  flexible_writeout = False,
  verbosity = 'info',
  global_verbosity = 'info',
  num_partitions = 1,
  enable_fpe = True,
  extra_start_host_actions = None,
  pre_ti_host_actions = None,
  post_ti_host_actions = None,
  extra_end_host_actions = None,
  copy_other_files = [] 
)
Parameters
name
meshes
initial_conditions
temporal_solvers
writers
dt_controller
time
write_steps
cfl_max
flexible_writeout
verbosityhow much log information is printed out to the console
global_verbosityhow much log information is saved to the log file
num_partitionsnumber of patches to create per MPI rank
enable_fpe
extra_start_host_actionsAn optional list of host actions to run after initial conditions
pre_ti_host_actionsAn optional list of host actions to run before the time integrators every timestep
post_ti_host_actionsAn optional list of host actions to run after the time integrators every timestep
extra_end_host_actionsAn optional list of host actions to run at the very end of the simulation

Reimplemented from warpy.simulation.simulation.


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