Open Qmin  0.8.0
GPU-accelerated Q-tensor-based liquid crystal simulations
Functions
qTensorLatticeModel.cu File Reference
#include "qTensorLatticeModel.cuh"
#include "../../inc/qTensorFunctions.h"
Include dependency graph for qTensorLatticeModel.cu:

Functions

__global__ void gpu_largestEigenvalue_kernel (dVec *Q, scalar *defects, int *t, int N)
 
__global__ void gpu_computeDeterminant_kernel (dVec *Q, scalar *defects, int *t, int N)
 
__global__ void gpu_degenerateEigenvalue_kernel (dVec *Q, scalar *defects, int *t, int N)
 
__global__ void gpu_set_random_nematic_qTensors_kernel (dVec *pos, int *type, curandState *rngs, scalar amplitude, bool globallyAligned, scalar globalTheta, scalar globalPhi, int N)
 
__global__ void gpu_update_qTensor_simple_kernel (dVec *d_disp, dVec *d_pos, scalar scale, int N)
 
__global__ void gpu_update_qTensor_simple_kernel (dVec *d_disp, dVec *d_pos, int N)
 
bool gpu_update_qTensor (dVec *d_disp, dVec *Q, scalar scale, int N, int blockSize)
 move a qTensor by a scaled amount, keeping the components within the allowed range More...
 
bool gpu_update_qTensor (dVec *d_disp, dVec *Q, int N, int blockSize)
 move a qTensor, keep the components within the allowed range More...
 
bool gpu_set_random_nematic_qTensors (dVec *d_pos, int *d_types, curandState *rngs, scalar amplitude, int blockSize, int nBlocks, bool globallyAligned, scalar theta, scalar phi, int N)
 set 5-d spins to be random nematic Q tensors with a given amplitude More...
 
bool gpu_get_qtensor_DefectMeasures (dVec *Q, scalar *defects, int *t, int defectType, int N)
 GPU analog of function in cpp file. More...