15 #if !defined(KRATOS_SPLIT_PRISM)
16 #define KRATOS_SPLIT_PRISM
72 const int aux_ids[12],
79 if (aux_ids[0] > aux_ids[1])
98 if (aux_ids[1] > aux_ids[2])
117 if (aux_ids[2] > aux_ids[0])
152 const int prism_index,
154 const int aux_ids[12],
163 unsigned int base = prism_index * 6;
164 *id0 = aux_ids[
t[base]];
165 *id1 = aux_ids[
t[base + 1]];
166 *id2 = aux_ids[
t[base + 2]];
167 *id3 = aux_ids[
t[base + 3]];
168 *id4 = aux_ids[
t[base + 4]];
169 *id5 = aux_ids[
t[base + 5]];
199 for (
unsigned int i = 0;
i < 6;
i++)
204 *splitted_edges = *splitted_edges + 1;
208 if (*splitted_edges == 0 && *nint == 0)
225 else if (*splitted_edges == 0 && *nint == 1)
256 else if (*splitted_edges == 2)
260 if (topology[0] == 1)
281 else if (topology[1] == 1)
302 else if (topology[2] == 1)
325 else if (*splitted_edges == 4)
329 if (topology[0] == 1 && topology[1] == 1)
360 else if (edges[2] == 2)
390 else if (topology[1] == 1 && topology[2] == 1)
407 else if (edges[0] == 1)
424 else if (topology[0] == 1 && topology[2] == 1)
454 else if (edges[1] == 2)
485 else if (*splitted_edges == 6)
int t
Definition: ode_solve.py:392
integer i
Definition: TensorModule.f:17
void PrismGetNewConnectivityGID(const int prism_index, const int t[24], const int aux_ids[12], int *id0, int *id1, int *id2, int *id3, int *id4, int *id5)
Definition: split_prism.hpp:151
void PrismSplitMode(const int aux_ids[12], int edge_ids[6])
Definition: split_prism.hpp:71
int Split_Prism(const int edges[6], int t[24], int *number_elem, int *splitted_edges, int *nint)
Definition: split_prism.hpp:182