Commit 6310d900 authored by Matthieu Constant's avatar Matthieu Constant
Browse files

Merge branch 'oneFluid' of git.immc.ucl.ac.be:fluidparticles/marblesbag into oneFluid

parents 4fa7e0d4 0b212350
Pipeline #3896 passed with stage
in 57 seconds
......@@ -59,6 +59,7 @@ int fluid_problem_import_vtk(FluidProblem *problem, const char *filename)
int ncon = -1;
while(mb_read_vtk_data_array(r,&a) != 0){
if(!strcasecmp(a.name,"Connectivity")) {
free(m->elements);
m->elements = mb_vtk_data_array_to_int(&a,m->n_elements,DIMENSION+1);
mb_vtk_data_array_destroy(&a);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment