Open Qmin
0.8.0
GPU-accelerated Q-tensor-based liquid crystal simulations
|
Functions | |
HOSTDEVICE int | getBoundaryCase (int xd, int xu, int yd, int yu, int zd, int zu) |
HOSTDEVICE void | bulkL1Force (const scalar L1, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, dVec &spatialTerm) |
HOSTDEVICE void | boundaryL1Force (const scalar L1, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, const int &ixd, const int &ixu, const int &iyd, const int &iyu, const int &izd, const int &izu, dVec &spatialTerm) |
HOSTDEVICE void | bulkL2Force (const scalar L2, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, const cubicLatticeDerivativeVector &xDownDerivative, const cubicLatticeDerivativeVector &xUpDerivative, const cubicLatticeDerivativeVector &yDownDerivative, const cubicLatticeDerivativeVector &yUpDerivative, const cubicLatticeDerivativeVector &zDownDerivative, const cubicLatticeDerivativeVector &zUpDerivative, dVec &spatialTerm) |
HOSTDEVICE void | boundaryL2Force (const scalar L2, int boundaryCase, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, const cubicLatticeDerivativeVector &xDownDerivative, const cubicLatticeDerivativeVector &xUpDerivative, const cubicLatticeDerivativeVector &yDownDerivative, const cubicLatticeDerivativeVector &yUpDerivative, const cubicLatticeDerivativeVector &zDownDerivative, const cubicLatticeDerivativeVector &zUpDerivative, dVec &spatialTerm) |
HOSTDEVICE void | bulkL3Force (const scalar L3, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, const cubicLatticeDerivativeVector &xDownDerivative, const cubicLatticeDerivativeVector &xUpDerivative, const cubicLatticeDerivativeVector &yDownDerivative, const cubicLatticeDerivativeVector &yUpDerivative, const cubicLatticeDerivativeVector &zDownDerivative, const cubicLatticeDerivativeVector &zUpDerivative, dVec &spatialTerm) |
HOSTDEVICE void | boundaryL3Force (const scalar L3, int boundaryCase, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, const cubicLatticeDerivativeVector &xDownDerivative, const cubicLatticeDerivativeVector &xUpDerivative, const cubicLatticeDerivativeVector &yDownDerivative, const cubicLatticeDerivativeVector &yUpDerivative, const cubicLatticeDerivativeVector &zDownDerivative, const cubicLatticeDerivativeVector &zUpDerivative, dVec &spatialTerm) |
HOSTDEVICE void | bulkL4Force (const scalar L4, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, const cubicLatticeDerivativeVector &xDownDerivative, const cubicLatticeDerivativeVector &xUpDerivative, const cubicLatticeDerivativeVector &yDownDerivative, const cubicLatticeDerivativeVector &yUpDerivative, const cubicLatticeDerivativeVector &zDownDerivative, const cubicLatticeDerivativeVector &zUpDerivative, dVec &spatialTerm) |
HOSTDEVICE void | boundaryL4Force (const scalar L4, int boundaryCase, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, const cubicLatticeDerivativeVector &xDownDerivative, const cubicLatticeDerivativeVector &xUpDerivative, const cubicLatticeDerivativeVector &yDownDerivative, const cubicLatticeDerivativeVector &yUpDerivative, const cubicLatticeDerivativeVector &zDownDerivative, const cubicLatticeDerivativeVector &zUpDerivative, dVec &spatialTerm) |
HOSTDEVICE void | bulkL6Force (const scalar L6, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, const cubicLatticeDerivativeVector &xDownDerivative, const cubicLatticeDerivativeVector &xUpDerivative, const cubicLatticeDerivativeVector &yDownDerivative, const cubicLatticeDerivativeVector &yUpDerivative, const cubicLatticeDerivativeVector &zDownDerivative, const cubicLatticeDerivativeVector &zUpDerivative, dVec &spatialTerm) |
HOSTDEVICE void | boundaryL6Force (const scalar L6, int boundaryCase, const dVec &qCurrent, const dVec &xDown, const dVec &xUp, const dVec &yDown, const dVec &yUp, const dVec &zDown, const dVec &zUp, const cubicLatticeDerivativeVector &xDownDerivative, const cubicLatticeDerivativeVector &xUpDerivative, const cubicLatticeDerivativeVector &yDownDerivative, const cubicLatticeDerivativeVector &yUpDerivative, const cubicLatticeDerivativeVector &zDownDerivative, const cubicLatticeDerivativeVector &zUpDerivative, dVec &spatialTerm) |
Note that all of these "forces" actually return the negative of a force
HOSTDEVICE int lcForce::getBoundaryCase | ( | int | xd, |
int | xu, | ||
int | yd, | ||
int | yu, | ||
int | zd, | ||
int | zu | ||
) |
HOSTDEVICE void lcForce::bulkL1Force | ( | const scalar | L1, |
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
dVec & | spatialTerm | ||
) |
References scalar.
Referenced by landauDeGennesLC::computeAllDistortionTermsBoundaryCPU(), landauDeGennesLC::computeAllDistortionTermsBulkCPU(), landauDeGennesLC::computeL1BoundaryCPU(), landauDeGennesLC::computeL1BulkCPU(), gpu_qTensor_multiConstantForce_kernel(), and gpu_qTensor_oneConstantForce_kernel().
HOSTDEVICE void lcForce::boundaryL1Force | ( | const scalar | L1, |
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
const int & | ixd, | ||
const int & | ixu, | ||
const int & | iyd, | ||
const int & | iyu, | ||
const int & | izd, | ||
const int & | izu, | ||
dVec & | spatialTerm | ||
) |
HOSTDEVICE void lcForce::bulkL2Force | ( | const scalar | L2, |
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
const cubicLatticeDerivativeVector & | xDownDerivative, | ||
const cubicLatticeDerivativeVector & | xUpDerivative, | ||
const cubicLatticeDerivativeVector & | yDownDerivative, | ||
const cubicLatticeDerivativeVector & | yUpDerivative, | ||
const cubicLatticeDerivativeVector & | zDownDerivative, | ||
const cubicLatticeDerivativeVector & | zUpDerivative, | ||
dVec & | spatialTerm | ||
) |
HOSTDEVICE void lcForce::boundaryL2Force | ( | const scalar | L2, |
int | boundaryCase, | ||
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
const cubicLatticeDerivativeVector & | xDownDerivative, | ||
const cubicLatticeDerivativeVector & | xUpDerivative, | ||
const cubicLatticeDerivativeVector & | yDownDerivative, | ||
const cubicLatticeDerivativeVector & | yUpDerivative, | ||
const cubicLatticeDerivativeVector & | zDownDerivative, | ||
const cubicLatticeDerivativeVector & | zUpDerivative, | ||
dVec & | spatialTerm | ||
) |
HOSTDEVICE void lcForce::bulkL3Force | ( | const scalar | L3, |
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
const cubicLatticeDerivativeVector & | xDownDerivative, | ||
const cubicLatticeDerivativeVector & | xUpDerivative, | ||
const cubicLatticeDerivativeVector & | yDownDerivative, | ||
const cubicLatticeDerivativeVector & | yUpDerivative, | ||
const cubicLatticeDerivativeVector & | zDownDerivative, | ||
const cubicLatticeDerivativeVector & | zUpDerivative, | ||
dVec & | spatialTerm | ||
) |
HOSTDEVICE void lcForce::boundaryL3Force | ( | const scalar | L3, |
int | boundaryCase, | ||
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
const cubicLatticeDerivativeVector & | xDownDerivative, | ||
const cubicLatticeDerivativeVector & | xUpDerivative, | ||
const cubicLatticeDerivativeVector & | yDownDerivative, | ||
const cubicLatticeDerivativeVector & | yUpDerivative, | ||
const cubicLatticeDerivativeVector & | zDownDerivative, | ||
const cubicLatticeDerivativeVector & | zUpDerivative, | ||
dVec & | spatialTerm | ||
) |
HOSTDEVICE void lcForce::bulkL4Force | ( | const scalar | L4, |
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
const cubicLatticeDerivativeVector & | xDownDerivative, | ||
const cubicLatticeDerivativeVector & | xUpDerivative, | ||
const cubicLatticeDerivativeVector & | yDownDerivative, | ||
const cubicLatticeDerivativeVector & | yUpDerivative, | ||
const cubicLatticeDerivativeVector & | zDownDerivative, | ||
const cubicLatticeDerivativeVector & | zUpDerivative, | ||
dVec & | spatialTerm | ||
) |
HOSTDEVICE void lcForce::boundaryL4Force | ( | const scalar | L4, |
int | boundaryCase, | ||
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
const cubicLatticeDerivativeVector & | xDownDerivative, | ||
const cubicLatticeDerivativeVector & | xUpDerivative, | ||
const cubicLatticeDerivativeVector & | yDownDerivative, | ||
const cubicLatticeDerivativeVector & | yUpDerivative, | ||
const cubicLatticeDerivativeVector & | zDownDerivative, | ||
const cubicLatticeDerivativeVector & | zUpDerivative, | ||
dVec & | spatialTerm | ||
) |
HOSTDEVICE void lcForce::bulkL6Force | ( | const scalar | L6, |
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
const cubicLatticeDerivativeVector & | xDownDerivative, | ||
const cubicLatticeDerivativeVector & | xUpDerivative, | ||
const cubicLatticeDerivativeVector & | yDownDerivative, | ||
const cubicLatticeDerivativeVector & | yUpDerivative, | ||
const cubicLatticeDerivativeVector & | zDownDerivative, | ||
const cubicLatticeDerivativeVector & | zUpDerivative, | ||
dVec & | spatialTerm | ||
) |
HOSTDEVICE void lcForce::boundaryL6Force | ( | const scalar | L6, |
int | boundaryCase, | ||
const dVec & | qCurrent, | ||
const dVec & | xDown, | ||
const dVec & | xUp, | ||
const dVec & | yDown, | ||
const dVec & | yUp, | ||
const dVec & | zDown, | ||
const dVec & | zUp, | ||
const cubicLatticeDerivativeVector & | xDownDerivative, | ||
const cubicLatticeDerivativeVector & | xUpDerivative, | ||
const cubicLatticeDerivativeVector & | yDownDerivative, | ||
const cubicLatticeDerivativeVector & | yUpDerivative, | ||
const cubicLatticeDerivativeVector & | zDownDerivative, | ||
const cubicLatticeDerivativeVector & | zUpDerivative, | ||
dVec & | spatialTerm | ||
) |