chute_periodic_restart.cpp File Reference
#include <iostream>
#include "DPMBase.h"
#include "Mercury3D.h"
#include "Chute.h"

Classes

class  ChutePeriodic
 

Functions

int main (int argc UNUSED, char *argv[] UNUSED)
 

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
58 {
59 
60  ChutePeriodic problem;
61  problem.setName("c3d");
62  problem.load_restart_data();
63  //problem.setName("chute_periodic");
64 
65  //problem.solve();
66 
67  problem.write(std::cout, false);
68  problem.writeRestartFile();
69 }
Definition: chute_periodic_autorun.cpp:37
void write(std::ostream &os, bool writeAllParticles=true) const override
This function writes the Chute properties to an ostream, and adds the properties of ALL chute particl...
Definition: Chute.cc:206
void setName(const std::string &name)
Allows to set the name of all the files (ene, data, fstat, restart, stat)
Definition: DPMBase.cc:422
virtual void writeRestartFile()
Stores all the particle data for current save time step to a "restart" file, which is a file simply i...
Definition: DPMBase.cc:2942

References DPMBase::setName(), Chute::write(), and DPMBase::writeRestartFile().