12 #include "libmesh/serial_mesh.h" 13 #include "libmesh/exodusII_io.h" 23 "The name of the mesh file to extract the time sequence from (must be an exodusII file).");
24 params.
addClassDescription(
"Solves the Transient problem at a sequence of time points taken from " 25 "a specified exodus file.");
33 std::vector<Real> times;
42 ExodusII_IO exodusII_io(
mesh);
44 times = exodusII_io.get_time_steps();
48 unsigned int num_steps = times.size();
50 times.resize(num_steps);
ExodusTimeSequenceStepper(const InputParameters ¶meters)
void setupSequence(const std::vector< Real > ×)
const Parallel::Communicator & _communicator
static InputParameters validParams()
Solves the PDEs at a sequence of time points given as a vector in the input file. ...
bool checkFileReadable(const std::string &filename, bool check_line_endings=false, bool throw_on_unreadable=true, bool check_for_git_lfs_pointer=true)
Checks to see if a file is readable (exists and permissions)
void broadcast(T &data, const unsigned int root_id=0, const bool identical_sizes=false) const
Solves the PDEs at a sequence of given time points.
static InputParameters validParams()
registerMooseObject("MooseApp", ExodusTimeSequenceStepper)
processor_id_type processor_id() const
std::string _mesh_file
The ExodusII file that is being read.