... | ... | @@ -37,20 +37,20 @@ You can generate meshes using [[GridGen|1390-GridGen-Example]] generator. The fo |
|
|
```
|
|
|
$ cd examples/FVDiscr
|
|
|
$ mpirun -np 4 ./FVDiscr /tmp/grid-32-32-32.pvtk /tmp/A.mtx /tmp/b.rhs
|
|
|
./FVDiscr
|
|
|
Processors: 4
|
|
|
Load(MPI_File): 0.34929
|
|
|
Assign id: 0.00495315
|
|
|
Exchange ghost: 0.0186219
|
|
|
Matrix assemble: 0.232133
|
|
|
Save matrix "/tmp/A.mtx" and RHS "/tmp/b.rhs": 0.368458
|
|
|
Solve system: 0.1323542e-06 | 1e-05
|
|
|
err_C = 0.00237783
|
|
|
err_L2 = 0.000736251
|
|
|
Compute true residual: 0.561696
|
|
|
Retrieve data: 0.000573874
|
|
|
Exchange phi: 5.00679e-06
|
|
|
Save "result.pvtk": 0.150515
|
|
|
./FVDiscr
|
|
|
Processors: 4
|
|
|
Load(MPI_File): 0.274381
|
|
|
Assign id: 0.00758195
|
|
|
Exchange ghost: 0.0783911
|
|
|
Matrix assemble: 0.242945
|
|
|
Save matrix "/tmp/A.mtx" and RHS "/tmp/b.rhs": 0.0802951
|
|
|
Solve system: 0.2625042e-07 | 1e-05
|
|
|
err_C = 0.000801001
|
|
|
err_L2 = 0.000283771
|
|
|
Compute true residual: 0.184962
|
|
|
Retrieve data: 0.000687122
|
|
|
Exchange phi: 0.000224113
|
|
|
Save "result.pvtk": 0.137682
|
|
|
```
|
|
|
If you have ParaView installed, you can open the result mesh file:
|
|
|
```
|
... | ... | |