-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2013 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
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)
{