From: ageay Date: Tue, 17 Sep 2013 09:57:34 +0000 (+0000) Subject: MT modification. X-Git-Tag: V7_3_1b1~149 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6bdb12698f672cd0eb42a0c6aec61e10f4b0e0de;p=tools%2Fmedcoupling.git MT modification. --- diff --git a/src/ParaMEDMEM/ICoCoMEDField.cxx b/src/ParaMEDMEM/ICoCoMEDField.cxx index 4f6e825ff..eac904ddf 100644 --- a/src/ParaMEDMEM/ICoCoMEDField.cxx +++ b/src/ParaMEDMEM/ICoCoMEDField.cxx @@ -56,6 +56,15 @@ namespace ICoCo INTERP_KERNEL::NormalizedCellType elemtype; switch (triofield._mesh_dim) { + case 1: + switch (triofield._nodes_per_elem) + { + case 2: + elemtype=INTERP_KERNEL::NORM_SEG2; + break; + default: + throw INTERP_KERNEL::Exception("incompatible Trio field - wrong nb of nodes per elem"); + } case 2: switch (triofield._nodes_per_elem) {