From 6bdb12698f672cd0eb42a0c6aec61e10f4b0e0de Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 17 Sep 2013 09:57:34 +0000 Subject: [PATCH] MT modification. --- src/ParaMEDMEM/ICoCoMEDField.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) 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) { -- 2.39.2