ENH: Adding iterative solver to S2S equations

ENH: Adding report after matrix smoothing
This commit is contained in:
sergio
2022-01-31 12:10:08 -08:00
committed by Andrew Heather
parent 343854ab31
commit c8538ee49e
8 changed files with 1146 additions and 168 deletions

View File

@ -4,7 +4,7 @@
// Maximum length for dynamicList
const label maxDynListLength
(
viewFactorDict.getOrDefault<label>("maxDynListLength", 100000)
viewFactorDict.getOrDefault<label>("maxDynListLength", 1000000)
);
for (const int proci : Pstream::allProcs())
@ -47,7 +47,7 @@ for (const int proci : Pstream::allProcs())
const vector& remA = remoteArea[j];
const label& remAgg = remoteAgg[j];
const vector& d = remFc - fc;
const vector d(remFc - fc);
if (((d & fA) < 0.) && ((d & remA) > 0))
{

View File

@ -408,7 +408,7 @@ int main(int argc, char *argv[])
List<point> availablePoints
(
upp.faceCentres().size()
+ upp.localPoints().size()
+ upp.localPoints().size()
);
SubList<point>
@ -863,21 +863,6 @@ int main(int argc, char *argv[])
IOglobalFaceFaces.write();
labelListIOList IOvisibleFaceFaces
(
IOobject
(
"visibleFaceFaces",
mesh.facesInstance(),
mesh,
IOobject::NO_READ,
IOobject::NO_WRITE,
false
),
std::move(visibleFaceFaces)
);
IOvisibleFaceFaces.write();
IOmapDistribute IOmapDist
(
IOobject