|
NAMD
|
#include <LincsSolver.h>
Public Member Functions | |
| void | setUpSolver (atomData *, constraintTuple *) |
| interface to set up the solver with two given arrays of data. More... | |
| void | solve () |
| interface to run the solver with CG. More... | |
| LincsSolver (int loop=10000, BigReal r=1e-12) | |
| ~LincsSolver () | |
This class is for solving the long-chain constraints for the Martini model with LINCS algorithm by the conjugate gradient method.
Definition at line 13 of file LincsSolver.h.
|
inline |
The constructor of the class.
Definition at line 52 of file LincsSolver.h.
|
inline |
Definition at line 54 of file LincsSolver.h.
| void LincsSolver::setUpSolver | ( | atomData * | data, |
| constraintTuple * | constraints | ||
| ) |
interface to set up the solver with two given arrays of data.
Definition at line 419 of file LincsSolver.C.
| void LincsSolver::solve | ( | ) |
interface to run the solver with CG.
Definition at line 432 of file LincsSolver.C.
References constraintTuple::dist, constraintTuple::i, constraintTuple::j, and Malloc().
1.8.14