#include <fvstructuredsolverwindowinfo.h>
|
| connectionNode (MInt _nDim) |
|
| connectionNode (MInt a, MInt b1, MInt *p1, MInt b2, MInt *p2, MInt _nDim) |
|
| connectionNode (MInt a, MInt b1, MInt *p1, MInt b2, MInt *p2, MBool enableSwap, MInt _nDim) |
|
void | print () |
|
MBool | operator< (const connectionNode &entry2) const |
|
MBool | operator== (const connectionNode &entry2) const |
|
◆ connectionNode() [1/3]
connectionNode::connectionNode |
( |
MInt |
_nDim | ) |
|
|
inline |
◆ connectionNode() [2/3]
◆ connectionNode() [3/3]
Definition at line 61 of file fvstructuredsolverwindowinfo.h.
61 {
64
65 if(enableSwap) {
66
67 if(b2 < b1)
swap =
true;
68 if(b1 == b2) {
69 for(
MInt countDim = 0; countDim <
nDim; ++countDim) {
70 if(p1[countDim] < p2[countDim]) break;
71 if(p1[countDim] > p2[countDim]) {
73 break;
74 }
75 }
76 }
77 }
78
79 if(swap) {
83 for(
MInt dim = 0; dim <
nDim; dim++) {
86 }
87 } else {
91 for(
MInt dim = 0; dim <
nDim; dim++) {
94 }
95 }
97 };
void swap(Tensor< TT > &a, Tensor< TT > &b)
Non-member swap exchanges the contents of two Tensors.
◆ operator<()
Definition at line 115 of file fvstructuredsolverwindowinfo.h.
115 {
117 return true;
118 }
120 return false;
121 }
123 return true;
124 }
126 return false;
127 }
129 return true;
130 }
132 return false;
133 }
136 return true;
137 }
139 return false;
140 }
142 return true;
143 }
145 return false;
146 }
147 }
148 return false;
149 };
◆ operator==()
Definition at line 150 of file fvstructuredsolverwindowinfo.h.
150 {
151 if(
BC != entry2.
BC) {
152 return false;
153 }
155 return false;
156 }
158 return false;
159 }
162 return false;
163 }
165 return false;
166 }
167 }
168 return true;
169 };
◆ print()
void connectionNode::print |
( |
| ) |
|
|
inline |
Definition at line 99 of file fvstructuredsolverwindowinfo.h.
99 {
100 std::cout << "============================" << std::endl;
101 std::cout <<
BC << std::endl;
103 for(
MInt dim = 0; dim <
nDim; dim++) {
104 std::cout <<
" " <<
pos1[dim];
105 }
106 std::cout << std::endl;
108 for(
MInt dim = 0; dim <
nDim; dim++) {
109 std::cout <<
" " <<
pos2[dim];
110 }
111 std::cout << std::endl;
112 std::cout <<
"Nstar: " <<
Nstar << std::endl;
113 std::cout << "============================" << std::endl;
114 };
◆ BC
◆ blockId1
MInt connectionNode::blockId1 |
◆ blockId2
MInt connectionNode::blockId2 |
◆ nDim
MInt connectionNode::nDim |
◆ Nstar
MInt connectionNode::Nstar |
◆ pos1
MInt connectionNode::pos1[3] |
◆ pos2
MInt connectionNode::pos2[3] |
The documentation for this class was generated from the following file: