MolSim
Loading...
Searching...
No Matches
ForceCalculation.h
Go to the documentation of this file.
1
9#pragma once
12#define SQR(x) ((x) * (x))
13#define SQRT2 1.41421356237309504880
14#define LJTHRESHOLD 1.12246204831
15
29void calculateF_Gravity(ParticleContainer &particles, double, CellContainer *lc = nullptr);
30
54void calculateF_LennardJones(ParticleContainer &particles, double, CellContainer *lc = nullptr);
55
80
97
Class for holding a vector of Cells that divide a domain of Particle objects.
void calculateF_LennardJones_LC_task(ParticleContainer &particles, double, CellContainer *lc)
Calculates the force for all particles using a naive approach for a linked-cell LennardJones simulat...
void calculateF_LennardJones_LC(ParticleContainer &particles, double, CellContainer *lc)
Calculates the force for all particles using a naive approach for a linked-cell LennardJones simulat...
void calculateF_LennardJones(ParticleContainer &particles, double, CellContainer *lc=nullptr)
Calculates the force for all particles using a naive approach for a LennardJones simulation.
void calculateF_Membrane_LC(ParticleContainer &particles, double, CellContainer *lc)
Calculates the force for all particles in a linked-cell membrane simulation using a standard paralle...
void calculateF_Gravity(ParticleContainer &particles, double, CellContainer *lc=nullptr)
Calculates the force for all particles using a naive approach for a Gravity simulation.
Class for encapsulating and iterating over multiple Particle objects.
Cell encapsulation class for implementing the linked cell method.
Definition CellContainer.h:31
Class for encapsulating multiple Particle objects..
Definition ParticleContainer.h:17