FlowFrontChute.cpp File Reference
#include <iostream>
#include <vector>
#include <Walls/InfiniteWall.h>
#include "DPMBase.h"
#include "Mercury3D.h"
#include "Chute.h"

Classes

class  FlowFrontChute
 

Functions

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

Function Documentation

◆ main()

int main ( int argc  UNUSED,
char *argv[]  UNUSED 
)
85 {
86 
87  FlowFrontChute problem;
88  problem.setName("FlowFrontChute");
89  problem.stretch();
90 
91  problem.write(std::cout, false);
92  problem.solve();
93 
94  problem.write(std::cout, false);
95  problem.writeRestartFile();
96 }
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
void solve()
The work horse of the code.
Definition: DPMBase.cc:4270
Definition: FlowFrontChute.cpp:38
void stretch()
Definition: FlowFrontChute.cpp:40

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