Skip to content

Instantly share code, notes, and snippets.

View prudhomm's full-sized avatar

Christophe Prud'homme prudhomm

View GitHub Profile

toto

here is an empty stem

\[\]
@prudhomm
prudhomm / pmm.cfg
Last active April 13, 2016 08:28
Configuration for Preconditioner
[blockns]
cd=true
pcd=true
[blockns.pmm]
# consider diagonal pressure mass matrix
@prudhomm
prudhomm / bench-mesh-hdf5-json-h=0.015-3D-after-some-opt
Created September 9, 2015 20:03
Timings comparison Mesh Loading
time mpirun -np 8 ./feelpp_mesh3d --gmsh.hsize=0.015 --gmsh.filename hypercube.geo --display-stats=1 --gmsh.use-json=1
- mesh entities
number of elements : 2075832
number of faces : 4214426
number of boundary faces : 7230
number of edges : 2516872
number of points : 378286
number of vertices : 0
- mesh sizes
h max : 0.0239245
@prudhomm
prudhomm / L
Last active August 29, 2015 14:23
true-hp
Geometry : L
h=0.05
Cores CondPCG IterPCG RATIO2 RATIO3 FACTOR PORDER HSIZE HSIZE2 SNDofs TNDofs KMAX KMIN
12 64.5482 35 2.79381 3.07246 4.80666 3 0.05 0.0625 272 3738 1 1
108 45.964 34 3.34293 3.78474 3.70805 3 0.05 0.0625 1392 6946 1 1
h=0.025
Cores CondPCG IterPCG RATIO2 RATIO3 FACTOR PORDER HSIZE HSIZE2 SNDofs TNDofs KMAX KMIN
12 80.3418 36 2.65611 3.82422 5.49981 3 0.025 0.0625 512 13479 1 1
108 59.6017 39 3.07692 4.90768 4.4012
@prudhomm
prudhomm / steps-3d-1.md
Last active August 29, 2015 14:21
step 3d timings

run on atlas clust with 32 cores P2P1

Re	      FunctionSpace	       Velocity	      Pressure
10              822416          746133          76283           

CFG file

cat steady_ns_3d.cfg 
stokes=1
newton=0
@prudhomm
prudhomm / nN=10 p=10
Last active August 29, 2015 14:18
mortar 2d paper
Cores CondPCG IterPCG RATIO2 RATIO3 FACTOR PORDER HSIZE HSIZE2 SNDofs TNDofs KMAX KMIN
16 65.1148 36 1.04129 1.04129 7.90776 10 0.025 0.025 2440 196401 1 1
64 68.6381 39 1.09764 1.09764 7.90776 10 0.0125 0.0125 11344 785001 1 1
256 66.6971 35 1.0666 1.0666 7.90776 10 0.1 0.1 48544 3134201 1 1
1024 66.4532 28 1.0627 1.0627 7.90776 10 0.05 0.05 200512 12533901 1 1
4096 66.3601 28 1.06121 1.06121 7.90776 10 0.025
@prudhomm
prudhomm / h=0.0015625
Last active August 29, 2015 14:18
Curie p=10
Cores CondPCG IterPCG RATIO2 RATIO3 FACTOR PORDER HSIZE HSIZE2 SNDofs TNDofs KMAX KMIN
1024 78.0398 36 1.05494 1.05494 8.6009 10 0.0015625 0.0015625 398912 48209701 1 1
4096 66.3601 28 1.06121 1.06121 7.90776 10 0.0015625 0.0015625 814720 50146901 1 1
@prudhomm
prudhomm / atlas-h0.1-Re100-np32-petscO1
Last active August 29, 2015 14:14
Log files for Navier-Stokes
Delaunizing vertices...
Delaunay seconds: 0.061829
Creating surface mesh ...
Surface mesh seconds: 0.015536
Recovering boundaries...
Boundary recovery seconds: 0.020214
Removing exterior tetrahedra ...
Exterior tets removal seconds: 0.003304
Recovering Delaunayness...
Delaunay recovery seconds: 0.019243
@prudhomm
prudhomm / gist:a1c9b402978850ad6942
Created September 15, 2014 20:12
computation of proximal/distal resistances
#include <iostream>
#include <boost/units/quantity.hpp>
#include <boost/units/conversion.hpp>
#include <boost/units/systems/si/energy.hpp>
#include <boost/units/systems/si/pressure.hpp>
#include <boost/units/systems/si/force.hpp>
#include <boost/units/systems/si/length.hpp>
#include <boost/units/systems/si/mass.hpp>
#include <boost/units/systems/si/electric_potential.hpp>