MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / updateGeomNotOldVol

Function updateGeomNotOldVol

src/finiteVolume/fvMesh/fvMesh.C:78–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77
78void Foam::fvMesh::updateGeomNotOldVol()
79{
80 bool haveV = (VPtr_ != nullptr);
81 bool haveSf = (SfPtr_ != nullptr);
82 bool haveMagSf = (magSfPtr_ != nullptr);
83 bool haveCP = (CPtr_ != nullptr);
84 bool haveCf = (CfPtr_ != nullptr);
85
86 clearGeomNotOldVol();
87
88 // Now recreate the fields
89 if (haveV)
90 {
91 (void)V();
92 }
93 if (haveSf)
94 {
95 (void)Sf();
96 }
97 if (haveMagSf)
98 {
99 (void)magSf();
100 }
101 if (haveCP)
102 {
103 (void)C();
104 }
105 if (haveCf)
106 {
107 (void)Cf();
108 }
109}
110
111
112void Foam::fvMesh::clearGeom()

Callers 1

fvMesh.CFile · 0.85

Calls 2

clearGeomNotOldVolFunction · 0.85
CClass · 0.85

Tested by

no test coverage detected