MFEM v4.7.0
Finite element discretization library
|
Go to the source code of this file.
Functions | |
void | interactive_help () |
void | init_hex_mesh (Mesh &mesh) |
void | init_state () |
void | print_state (ostream &out) |
void | repaint_cube (Mesh &mesh, GridFunction &color, socketstream &sock) |
bool | validate_centers (const int max_ind=6) |
bool | validate_edges (const int max_ind=12) |
bool | validate_corners (const int max_ind=8) |
void | anim_move (char axis, int tier, int increment, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | anim_move (const Move &move, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | determine_random_moves (Array< Move > &moves) |
void | swap_corners (Mesh &mesh, GridFunction &color, socketstream &sock, int *c0=NULL, int *c1=NULL) |
void | twist_corners (Mesh &mesh, GridFunction &color, socketstream &sock, bool cw, int *c0=NULL, int *c1=NULL, int *c2=NULL) |
void | permute_edges (Mesh &mesh, GridFunction &color, socketstream &sock, int *e0, int *e1, int *e2) |
void | permute_edges (Mesh &mesh, GridFunction &color, socketstream &sock, bool cw) |
void | flip_edges (Mesh &mesh, GridFunction &color, socketstream &sock, int n, int *e0=NULL, int *e1=NULL, int *e2=NULL, int *e3=NULL) |
void | solve_top (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_mid (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_bot (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve (Mesh &mesh, GridFunction &color, socketstream &sock) |
int | main (int argc, char *argv[]) |
void | update_centers (char axis, int incr) |
void | update_corners (char axis, int tier, int incr) |
void | update_edges (char axis, int tier, int incr) |
void | update_state (char axis, int tier, int incr) |
bool | validate_centers (const int min_ind, const int max_ind) |
bool | validate_edges (const int min_ind, const int max_ind) |
bool | validate_corners (const int min_ind, const int max_ind) |
void | rotate_step (char axis, int incr, real_t *x) |
bool | anim_step (char axis, int incr, Mesh &mesh) |
void | mark_elements (Mesh &mesh, char axis, int tier) |
void | solve_top_center (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_centers (Mesh &mesh, GridFunction &color, socketstream &sock) |
int | locate_corner (int ind) |
void | move_to_c4 (int i4, int o4, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_c5 (int i5, int o5, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_c6 (int i6, int o6, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_c7 (int i7, int o7, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_top_corners (Mesh &mesh, GridFunction &color, socketstream &sock) |
int | locate_edge (int ind) |
void | move_to_e4 (int i4, int o4, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_e5 (int i5, int o5, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_e6 (int i6, int o6, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_e7 (int i7, int o7, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_e8 (int i8, int o8, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_e9 (int i9, int o9, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_e10 (int i10, int o10, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | move_to_e11 (int i11, int o11, Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_top_edges (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_mid_edges (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_corner_locations (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_bot_corner_locations (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_corner_orientations (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_edge_locations (Mesh &mesh, GridFunction &color, socketstream &sock) |
void | solve_edge_orientations (Mesh &mesh, GridFunction &color, socketstream &sock) |
void anim_move | ( | char | axis, |
int | tier, | ||
int | increment, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void anim_move | ( | const Move & | move, |
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void flip_edges | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock, | ||
int | n, | ||
int * | e0 = NULL, | ||
int * | e1 = NULL, | ||
int * | e2 = NULL, | ||
int * | e3 = NULL ) |
void move_to_c4 | ( | int | i4, |
int | o4, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_c5 | ( | int | i5, |
int | o5, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_c6 | ( | int | i6, |
int | o6, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_c7 | ( | int | i7, |
int | o7, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_e10 | ( | int | i10, |
int | o10, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_e11 | ( | int | i11, |
int | o11, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_e4 | ( | int | i4, |
int | o4, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_e5 | ( | int | i5, |
int | o5, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_e6 | ( | int | i6, |
int | o6, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_e7 | ( | int | i7, |
int | o7, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_e8 | ( | int | i8, |
int | o8, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void move_to_e9 | ( | int | i9, |
int | o9, | ||
Mesh & | mesh, | ||
GridFunction & | color, | ||
socketstream & | sock ) |
void permute_edges | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock, | ||
bool | cw ) |
void permute_edges | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock, | ||
int * | e0, | ||
int * | e1, | ||
int * | e2 ) |
void repaint_cube | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_bot | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_bot_corner_locations | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_centers | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_corner_locations | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_corner_orientations | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_edge_locations | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_edge_orientations | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_mid | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_mid_edges | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_top | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_top_center | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_top_corners | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void solve_top_edges | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock ) |
void swap_corners | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock, | ||
int * | c0 = NULL, | ||
int * | c1 = NULL ) |
void twist_corners | ( | Mesh & | mesh, |
GridFunction & | color, | ||
socketstream & | sock, | ||
bool | cw, | ||
int * | c0 = NULL, | ||
int * | c1 = NULL, | ||
int * | c2 = NULL ) |
bool validate_centers | ( | const int | max_ind = 6 | ) |
bool validate_centers | ( | const int | min_ind, |
const int | max_ind ) |
bool validate_corners | ( | const int | max_ind = 8 | ) |
bool validate_corners | ( | const int | min_ind, |
const int | max_ind ) |
bool validate_edges | ( | const int | max_ind = 12 | ) |