From 1476eea036074c9e79cdc42939eccb57cb8790b4 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