ENH: parProfiling: add few more functionality to test

This commit is contained in:
mattijs 2023-06-19 15:53:27 +01:00
parent 979b5a20cd
commit 66a2894da8
3 changed files with 26 additions and 11 deletions

View File

@ -1,3 +1,4 @@
Testcase for parProfiling wrapper linear solver. Testcase for parProfiling wrapper linear solver.
- activates parProfiling within the linear solver.
It only activates parProfiling within the linear solver. - tests multiLevel scotch
- test distributedDI* preconditioners

View File

@ -14,14 +14,26 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 2; numberOfSubdomains 20;
method scotch;
method hierarchical;
coeffs coeffs
{ {
n (2 1 1); // Divide into 20/10=2 nodes
domains (10);
// Inside a node the communication weight is 1% of that inbetween nodes
domainWeights (0.01);
} }
//numberOfSubdomains 2;
//
//method hierarchical;
//
//coeffs
//{
// n (2 1 1);
//}
// ************************************************************************* // // ************************************************************************* //

View File

@ -20,7 +20,7 @@ solvers
{ {
solver parProfiling; solver parProfiling;
baseSolver PCG; baseSolver PCG;
preconditioner DIC; preconditioner distributedDIC;
tolerance 1e-06; tolerance 1e-06;
relTol 0.05; relTol 0.05;
} }
@ -28,14 +28,16 @@ solvers
{ {
solver parProfiling; solver parProfiling;
baseSolver PCG; baseSolver PCG;
preconditioner DIC; preconditioner distributedDIC;
tolerance 1e-06; tolerance 1e-06;
relTol 0; relTol 0;
} }
U U
{ {
solver smoothSolver; //solver smoothSolver;
smoother symGaussSeidel; //smoother symGaussSeidel;
solver PBiCGStab;
preconditioner distributedDILU;
tolerance 1e-05; tolerance 1e-05;
relTol 0; relTol 0;
} }