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

Functions

__global__ void gpu_set_random_spins_kernel (dVec *pos, curandState *rngs, int N)
 
bool gpu_set_random_spins (dVec *d_pos, curandState *rngs, int blockSize, int nBlocks, int N)
 set spins to be random points on d-sphere More...
 
__global__ void gpu_update_spins_kernel (dVec *d_disp, dVec *d_pos, scalar scale, int N, bool normalize)
 
__global__ void gpu_update_spins_simple_kernel (dVec *d_disp, dVec *d_pos, int N)
 
bool gpu_update_spins (dVec *d_disp, dVec *d_pos, scalar scale, int N, bool normalize)
 move spins More...
 
__global__ void gpu_copy_boundary_object_kernel (dVec *pos, int *sites, int *neighbors, pair< int, dVec > *assistStructure, int *types, Index2D neighborIndex, int motionDirection, bool resetLattice, int Nsites)
 
bool gpu_copy_boundary_object (dVec *pos, int *sites, int *neighbors, pair< int, dVec > *assistStructure, int *types, Index2D neighborIndex, int motionDirection, bool resetLattice, int Nsites)
 copy a boundary or surface to an assist array More...
 
__global__ void gpu_move_boundary_object_kernel (dVec *pos, int *sites, pair< int, dVec > *assistStructure, int *types, int newTypeValue, int Nsites)
 
bool gpu_move_boundary_object (dVec *pos, int *sites, pair< int, dVec > *assistStructure, int *types, int newTypeValue, int Nsites)
 Move a boundary or surface via an assist structure. More...