When running the mesh generation routine on the open head model we have been using, with surface refinement (mesh generation) on in
active compartments
ventricles
singular cortex
skull and
scalp
and volumetric refinement (post-processing) on in
active compartments and
gray matter
the following error is raised during post-processing:
Error using vertcat
Dimensions of arrays being concatenated are not consistent.
Error in zef_postprocess_fem_mesh (line 157)
refinement_compartments = [refinement_compartments ; refinement_compartments_aux(:)];
Error in zef_create_finite_element_mesh (line 12)
zef = zef_postprocess_fem_mesh(zef);
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 410)
Error while evaluating Button PrivateButtonPushedFcn.
It looks like the size of refinement_compartments is [1,11] whereas the size of refinement_compartments_aux is [2,1]. These of course cannot be vertically concatenated without resizing or repeating.
When running the mesh generation routine on the open head model we have been using, with surface refinement (mesh generation) on in
and volumetric refinement (post-processing) on in
the following error is raised during post-processing:
The initial mesh resolution was set at 2 mm.