12 double const &u,
double const &v,
double const &w,
13 const std::vector<double> &faceFunctions,
14 std::vector<double> &quadFaceFunctionsAllOrientations,
15 std::vector<double> &triFaceFunctionsAllOrientations)
20 for(
int iOrientation = 0; iOrientation < 8; iOrientation++) {
27 orientedFaceFunction[r] = faceFunctions[r];
29 switch(iOrientation) {
31 flag1 = 1, flag2 = 1, flag3 = 1;
34 flag1 = -1, flag2 = 1, flag3 = 1;
37 flag1 = 1, flag2 = -1, flag3 = 1;
40 flag1 = -1, flag2 = -1, flag3 = 1;
43 flag1 = 1, flag2 = 1, flag3 = -1;
46 flag1 = -1, flag2 = 1, flag3 = -1;
49 flag1 = 1, flag2 = -1, flag3 = -1;
52 flag1 = -1, flag2 = -1, flag3 = -1;
55 for(
int iFace = 0; iFace <
_nfaceQuad; iFace++) {
57 orientedFaceFunction);
60 quadFaceFunctionsAllOrientations[it] = orientedFaceFunction[r];
68 for(
int iOrientation = 0; iOrientation < 6; iOrientation++) {
72 orientedFaceFunction[r] = faceFunctions[r];
77 switch(iOrientation) {
88 flag1 = 0, flag2 = -1;
91 flag1 = 1, flag2 = -1;
94 flag1 = 2, flag2 = -1;
99 orientedFaceFunction);
102 triFaceFunctionsAllOrientations[it] =
110 double const &u,
double const &v,
double const &w,
111 const std::vector<std::vector<double> > &faceFunctions,
112 std::vector<std::vector<double> > &quadFaceFunctionsAllOrientations,
113 std::vector<std::vector<double> > &triFaceFunctionsAllOrientations,
114 std::string typeFunction)
119 for(
int iOrientation = 0; iOrientation < 8; iOrientation++) {
123 std::vector<std::vector<double> > orientedFaceFunction(
126 orientedFaceFunction[r][0] = faceFunctions[r][0];
127 orientedFaceFunction[r][1] = faceFunctions[r][1];
128 orientedFaceFunction[r][2] = faceFunctions[r][2];
130 switch(iOrientation) {
132 flag1 = 1, flag2 = 1, flag3 = 1;
135 flag1 = -1, flag2 = 1, flag3 = 1;
138 flag1 = 1, flag2 = -1, flag3 = 1;
141 flag1 = -1, flag2 = -1, flag3 = 1;
144 flag1 = 1, flag2 = 1, flag3 = -1;
147 flag1 = -1, flag2 = 1, flag3 = -1;
150 flag1 = 1, flag2 = -1, flag3 = -1;
153 flag1 = -1, flag2 = -1, flag3 = -1;
156 for(
int iFace = 0; iFace <
_nfaceQuad; iFace++) {
158 orientedFaceFunction);
161 quadFaceFunctionsAllOrientations[it][0] = orientedFaceFunction[r][0];
162 quadFaceFunctionsAllOrientations[it][1] = orientedFaceFunction[r][1];
163 quadFaceFunctionsAllOrientations[it][2] = orientedFaceFunction[r][2];
171 for(
int iOrientation = 0; iOrientation < 6; iOrientation++) {
172 std::vector<std::vector<double> > orientedFaceFunction(
175 orientedFaceFunction[r] = faceFunctions[r];
180 switch(iOrientation) {
182 flag1 = 0, flag2 = 1;
185 flag1 = 1, flag2 = 1;
188 flag1 = 2, flag2 = 1;
191 flag1 = 0, flag2 = -1;
194 flag1 = 1, flag2 = -1;
197 flag1 = 2, flag2 = -1;
202 orientedFaceFunction);
205 triFaceFunctionsAllOrientations[it][0] =
207 triFaceFunctionsAllOrientations[it][1] =
209 triFaceFunctionsAllOrientations[it][2] =