Skip to content
Snippets Groups Projects

Remove m_cell_global_index from Connectivity

Merged Stéphane Del Pino requested to merge feature/loadbalancing into develop
1 file
+ 18
0
Compare changes
  • Side-by-side
  • Inline
+ 18
0
@@ -4495,6 +4495,24 @@ to different meshes.
A good example of the use of this kind of function is mass fractions.
***** ~get_mesh:Vh -> mesh~
This function allows to retrieve the mesh that is used to define a
discrete function.
#+BEGIN_SRC pugs :exports both :results none
import mesh;
import scheme;
let m:mesh, m = cartesianMesh(0, [1,1], (10,10));
let f: R^2 -> R, x -> 2*x[0]+x[1];
let fh:Vh, fh = interpolate(m, P0(), f);
let m2: mesh, m2 = get_mesh(sum);
#+END_SRC
Observe that in this example the two variables refer to the same exact
mesh. There is no duplication.
***** ~load_balance: (Vh) -> (Vh)~
This function performs a parallel load balancing of a list of ~Vh~
Loading