Commit b572baab authored by Manon Eugénie Voisin--Leprince's avatar Manon Eugénie Voisin--Leprince
Browse files

exercises week8

parent 1933e4a6
step-*.csv
doc/html
\ No newline at end of file
This diff is collapsed.
class Real(double)
class UInt(unsigned int)
class Vector
public Vector(UInt dim);
public ~Vector();
public Real & operator[](UInt i);
private Real * values;
private UInt dim;
class Particle
public Particle();
public ~Particle();
public Real & getMass();
public Vector & getPosition();
public Vector & getVelocity();
public Vector & getForce();
protected Real mass;
protected Vector position;
protected Vector velocity;
protected Vector force;
class PingPongBall(Particle)
public PingPongBall();
public ~PingPongBall();
public Real & getRadius();
public Real & getContactDissipation();
private Real radius;
private Real contact_dissipation;
class Planet(Particle)
public Planet();
public ~Planet();
public std::string & getName();
private std::string name;
class Compute
public Compute();
public ~Compute();
public pure virtual void compute(System & system);
class ComputeInteraction(Compute)
public ComputeInteraction();
public ~ComputeInteraction();
public pure virtual void compute(System & system);
class ComputeContact(ComputeInteraction)
public ComputeContact();
public ~ComputeContact();
public void compute(System & system);
class ComputeGravity(ComputeInteraction)
public ComputeGravity();
public ~ComputeGravity();
public void compute(System & system);
class CsvReader(Compute)
public CsvReader(const std::string & filename);
public ~CsvReader();
public void read(System & system);
public void compute(System & system);
protected std::string filename;
class CsvWriter(Compute)
public CsvWriter(const std::string & filename);
public ~CsvWriter();
public void write(System& system);
public void compute(System & system);
protected std::string filename;
class ComputeVerletIntegration(Compute)
public ComputeVerletIntegration(Real dt);
public ~ComputeVerletIntegration();
public void compute(System& system);
public void addInteraction(std::shared_ptr<ComputeInteraction> interaction);
public setDeltaT(Real dt);
private Real dt;
private InteractionList interactions;
class System
public System()
public ~System()
public UInt getListSize();
public Particle & getParticle(UInt i);
public addParticle(Particle& new_particle);
public removeParticle(UInt particle);
private ListParticles list_particles;
class SystemEvolution
public SystemEvolution(System & system);
public evolve();
protected std::vector<Compute *> computes;
protected System & system;
class ListParticles(std::vector<Particle*>)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment