ENH: parProfiling: add few more functionality to test
This commit is contained in:
parent
979b5a20cd
commit
66a2894da8
@ -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
|
||||||
|
@ -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);
|
||||||
|
//}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user