-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from ludwig-cf/develop
Release 0.17.0
- Loading branch information
Showing
54 changed files
with
4,903 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,13 @@ | |
* | ||
* fe_lc.h | ||
* | ||
* This file name is a bit of a misnomer. It's for any LC type, not | ||
* just blue phases. | ||
* | ||
* Edinburgh Soft Matter and Statistical Physics Group and | ||
* Edinburgh Parallel Computing Centre | ||
* | ||
* (c) 2010-2020 The University of Edinburgh | ||
* (c) 2010-2022 The University of Edinburgh | ||
* | ||
* Contributing authors: | ||
* Kevin Stratford ([email protected]) | ||
|
@@ -26,6 +29,8 @@ | |
#include "field_grad.h" | ||
#include "io_harness.h" | ||
|
||
#include "lc_anchoring.h" | ||
|
||
typedef struct fe_lc_s fe_lc_t; | ||
typedef struct fe_lc_param_s fe_lc_param_t; | ||
|
||
|
@@ -66,22 +71,17 @@ struct fe_lc_param_s { | |
double w2_coll; /* Second anchoring parameter */ | ||
double w1_wall; | ||
double w2_wall; | ||
double nfix[3]; /* Fixed anchoring orientation */ | ||
|
||
double nfix[3]; /* Fixed anchoring orientation */ | ||
int anchoring_coll; /* Colloids anchoring type */ | ||
int anchoring_wall; /* Wall anchoring type */ | ||
int is_redshift_updated; /* Switch */ | ||
int is_active; /* Switch for active fluid */ | ||
}; | ||
|
||
/* Surface anchoring types */ | ||
enum lc_anchoring_enum {LC_ANCHORING_PLANAR = 0, | ||
LC_ANCHORING_NORMAL, | ||
LC_ANCHORING_FIXED, | ||
LC_ANCHORING_TYPES /* Last entry */ | ||
lc_anchoring_param_t coll; /* Anchoring parameters (colloids) */ | ||
lc_anchoring_param_t wall; /* Anchoring parameters (wall) */ | ||
}; | ||
|
||
|
||
__host__ int fe_lc_create(pe_t * pe, cs_t * cs, lees_edw_t * le, | ||
field_t * q, field_grad_t * dq, fe_lc_t ** fe); | ||
__host__ int fe_lc_free(fe_lc_t * fe); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* Edinburgh Soft Matter and Statistical Physics Group and | ||
* Edinburgh Parallel Computing Centre | ||
* | ||
* (c) 2010-2021 The University of Edinburgh | ||
* (c) 2010-2022 The University of Edinburgh | ||
* | ||
* Contributing authors: | ||
* Oliver Henrich ([email protected]) wrote most of these. | ||
|
@@ -39,6 +39,7 @@ int lc_active_nematic_init_q2d(cs_t * cs, fe_lc_param_t * param, field_t * q, | |
int blue_phase_chi_edge(cs_t * cs, fe_lc_param_t * param, field_t * fq, int n, | ||
double z0, double x0); | ||
int blue_phase_random_q_init(cs_t * cs, fe_lc_param_t * param, field_t * fq); | ||
int blue_phase_random_q_2d(cs_t * cs, fe_lc_param_t * param, field_t * fq); | ||
int blue_phase_random_q_rectangle(cs_t * cs, fe_lc_param_t * param, | ||
field_t * q, int rmin[3], int rmax[3]); | ||
int blue_phase_cf1_init(cs_t * cs, fe_lc_param_t * param, field_t * fq, int axis); | ||
|
Oops, something went wrong.