void compute_particle_mass(std::vector< CSpecies > &Species)
Compute Particle mass function, which required a reference to the Species vector. It copmuters the Pa...
Mdouble get_Radius() const
Defines a pair of periodic walls. The particles are in {x: position_left<=normal*x
void constructor()
This is the actual constructor it is called do both constructors above.
void set_options_fstat(unsigned int new_)
set and get for file options
Chute adds three new effects to the HGrid: the gravity direction can be set using the ChuteAngle vari...
This adds on the hierarchical grid code for 3D problems.
virtual void create_bottom()
Create the bottom of chute out of particles.
WallHandler & getWallHandler()
Mdouble get_ymin()
Gets ymin.
Mdouble get_MaxInflowParticleRadius()
Allows radius of inflow particles to be accessed.
void set_RandomizedBottom(int new_)
Changes RandomizedBottom.
Mdouble get_xmin()
Get xmin.
void copyAndAddWall(const BaseWall &B)
Creates a copy of a BaseWall and adds it to the WallHandler.
virtual bool IsInsertable(BaseParticle &P)
here, CheckObjects is called; returns true is the particle should be added
const std::vector< T * >::const_iterator end() const
Gets the end of the const_iterator over all BaseBoundary in this BaseHandler.
void set_thickness(Mdouble new_)
TangentialSpringParticle P0
unsigned int getNumberOfObjects() const
Gets the number of Object in this BaseHandler.
void set_mu(Mdouble new_, unsigned int indSpecies=0)
Allows the Coulomb friction coefficient to be changed.
void set(Vec3D normal_, Mdouble position_)
Defines a standard wall, given an outward normal vector s. t. normal*x=position.
Container to store all BaseParticle.
void actions_before_time_step()
This is action before the time step is started.
void set_Radius(const Mdouble _new)
void set_Velocity(const Vec3D &_new)
A class that defines and solves a MD problem.
void set_name(const char *name)
Sets the name of the problem, used for the same data files.
Mdouble FixedParticleRadius
Mdouble get_InflowParticleRadius()
Allows radius of inflow particles to be accessed.
Mdouble get_collision_time()
Calculates collision time of two inflow particles.
BoundaryHandler & getBoundaryHandler()
This is a class defining walls.
Mdouble MaxInflowParticleRadius
ParticleHandler & getParticleHandler()
void set(Vec3D normal_, Mdouble position_left_, Mdouble position_right_)
Defines a periodic wall, given a normal vector s.t.
void setup_particles_initial_conditions()
initialize particle position, velocity, radius
Mdouble get_xmax()
Get xmax.
Implementation of a 3D vector (by Vitaliy).
virtual void removeObject(unsigned const int id)
Removes a Object from the BaseHandler.
void set_Position(const Vec3D &_new)
void HGRID_actions_before_time_loop()
This sets up the broad phase information, has to be done at this stage becuase it requires the partcl...
ChuteBottom(Chute &other)
Mdouble get_zmax()
Gets zmax.
void clear()
Empties the whole WallHandler by removing all BaseWall.
void set_FixedParticleRadius(Mdouble new_)
Allows radius of fixed particles to be changed.
void set_collision_time_and_restitution_coefficient(Mdouble tc, Mdouble eps)
Sets k, disp such that it matches a given tc and eps for a collision of two inflow particles...
void clear()
Empties the whole BaseHandler by removing all Object.
Mdouble get_FixedParticleRadius()
Allows radius of fixed particles to be accessed.