GCMC Simulation
A C++ and Python-based Monte Carlo simulation framework for interacting particles.
|
Functions | |
double | idealPotential () |
Calculates the Ideal potential energy. | |
double | idealForceDotR () |
Calculates the force between two ideal particles. | |
double | lennardJonesPotential (double r2) |
Calculates the Lennard-Jones potential energy. | |
double | lennardJonesForceDotR (double r2) |
Calculates the force between two particles using Lennard-Jones potential. | |
double | wcaPotential (double r2) |
Calculates the WCA potential energy. | |
double | wcaForceDotR (double r2) |
Calculates the force between two particles using WCA potential. | |
double | yukawaPotential (double r2) |
Calculates the Yukawa potential energy. | |
double | yukawaForceDotR (double r2) |
Calculates the force between two particles using Yukawa potential. | |
double | athermalStarPotential (double r2, float f_dependant) |
Calculates the logarithmic potential energy. | |
double | athermalStarForceDotR (double r2, float f_Dependant) |
Calculates the force between two star polymer cores. | |
PotentialType | selectPotentialType (const std::string &potentialName) |
Selects the potential type based on a string input. | |
double | computePairPotential (double r2, PotentialType potentialType, float f_prime) |
Returns the pair potential betwen two particles. | |
double | computePairForce (double r2, PotentialType potentialType, float f_prime) |
Returns the pair potential betwen two particles. | |
double athermalStarForceDotR | ( | double | r2, |
float | f_Dependant ) |
Calculates the force between two star polymer cores.
f_dependant | star polymer functtionality dependant part. |
r2 | The squared distance between two particles. |
double athermalStarPotential | ( | double | r2, |
float | f_dependant ) |
Calculates the logarithmic potential energy.
f_dependant | star polymer functtionality dependant part. |
r2 | The squared distance between two particles. |
double computePairForce | ( | double | r2, |
PotentialType | potentialType, | ||
float | f_prime ) |
Returns the pair potential betwen two particles.
r2 | the squared distance between the two particles |
type | The type of potential |
f_prime | for the case of the ultrasoft potential. |
double computePairPotential | ( | double | r2, |
PotentialType | potentialType, | ||
float | f_prime ) |
Returns the pair potential betwen two particles.
r2 | the squared distance between the two particles |
type | The type of potential |
f_prime | for the case of the ultrasoft potential. |
double idealForceDotR | ( | ) |
Calculates the force between two ideal particles.
double idealPotential | ( | ) |
Calculates the Ideal potential energy.
double lennardJonesForceDotR | ( | double | r2 | ) |
Calculates the force between two particles using Lennard-Jones potential.
r2 | The squared distance between two particles. |
double lennardJonesPotential | ( | double | r2 | ) |
Calculates the Lennard-Jones potential energy.
r2 | The squared distance between two particles. |
PotentialType selectPotentialType | ( | const std::string & | potentialName | ) |
Selects the potential type based on a string input.
potentialName | The name of the potential type as a string. |
double wcaForceDotR | ( | double | r2 | ) |
Calculates the force between two particles using WCA potential.
r2 | The squared distance between two particles. |
double wcaPotential | ( | double | r2 | ) |
Calculates the WCA potential energy.
Calculates the Weeks-Chandler-Andersen (WCA) potential energy.
r2 | The squared distance between two particles. |
double yukawaForceDotR | ( | double | r2 | ) |
Calculates the force between two particles using Yukawa potential.
r2 | The squared distance between two particles. |
double yukawaPotential | ( | double | r2 | ) |
Calculates the Yukawa potential energy.
r2 | The squared distance between two particles. |