def grid_z_step_gt_zero_le_grid_z_size( self, conf ): production_assert( ( conf["Spatial mesh"].getfloat("grid_z_step") > 0 ) and ( conf["Spatial mesh"].getfloat("grid_z_step") <= conf["Spatial mesh"].getfloat("grid_z_size") ), "grid_z_step < 0 or grid_z_step >= grid_z_size" )
def time_save_step_ge_time_step_size( self, conf ): production_assert( conf["Time grid"].getfloat("time_save_step") >= \ conf["Time grid"].getfloat("time_step_size"), "time_save_step < time_step_size" )
def grid_z_size_gt_zero( self, conf ): production_assert( conf["Spatial mesh"].getfloat("grid_z_size") > 0, "grid_z_size < 0" )
def time_step_size_gt_zero_le_total_time( self, conf ): production_assert( ( conf["Time grid"].getfloat("time_step_size") > 0 ) and ( conf["Time grid"].getfloat("time_step_size") <= \ conf["Time grid"].getfloat("total_time") ), "time_step_size <= 0 or time_step_size > total_time" )