11 double const &u,
double const &v,
double const &w,
12 const std::vector<std::vector<double> > &faceFunctions,
13 std::vector<std::vector<double> > &quadFaceFunctionsAllOrientation,
14 std::vector<std::vector<double> > &triFaceFunctionsAllOrientation,
15 std::string typeFunction)
20 for(
int iOrientation = 0; iOrientation < 8; iOrientation++) {
24 std::vector<std::vector<double> > orientedFaceFunction(
27 orientedFaceFunction[r][0] = faceFunctions[r][0];
28 orientedFaceFunction[r][1] = faceFunctions[r][1];
29 orientedFaceFunction[r][2] = faceFunctions[r][2];
31 switch(iOrientation) {
33 flag1 = 1, flag2 = 1, flag3 = 1;
36 flag1 = -1, flag2 = 1, flag3 = 1;
39 flag1 = 1, flag2 = -1, flag3 = 1;
42 flag1 = -1, flag2 = -1, flag3 = 1;
45 flag1 = 1, flag2 = 1, flag3 = -1;
48 flag1 = -1, flag2 = 1, flag3 = -1;
51 flag1 = 1, flag2 = -1, flag3 = -1;
54 flag1 = -1, flag2 = -1, flag3 = -1;
57 for(
int iFace = 0; iFace <
_nfaceQuad; iFace++) {
58 orientOneFace(u, v, w, flag1, flag2, flag3, iFace, orientedFaceFunction,
62 quadFaceFunctionsAllOrientation[it][0] = orientedFaceFunction[r][0];
63 quadFaceFunctionsAllOrientation[it][1] = orientedFaceFunction[r][1];
64 quadFaceFunctionsAllOrientation[it][2] = orientedFaceFunction[r][2];
72 for(
int iOrientation = 0; iOrientation < 6; iOrientation++) {
73 std::vector<std::vector<double> > orientedFaceFunction(
76 orientedFaceFunction[r] = faceFunctions[r];
81 switch(iOrientation) {
92 flag1 = 0, flag2 = -1;
95 flag1 = 1, flag2 = -1;
98 flag1 = 2, flag2 = -1;
102 orientOneFace(u, v, w, flag1, flag2, flag3, iFace, orientedFaceFunction,
106 triFaceFunctionsAllOrientation[it][0] =
108 triFaceFunctionsAllOrientation[it][1] =
110 triFaceFunctionsAllOrientation[it][2] =