Changeset 17097


Ignore:
Timestamp:
01/10/14 14:49:04 (11 years ago)
Author:
Mathieu Morlighem
Message:

NEW: added basal node indices for P2xP4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/PentaRef.cpp

    r17095 r17097  
    12471247                        indices[1] = 1;
    12481248                        indices[2] = 2;
    1249                         break;
     1249                        return;
    12501250                case P1bubbleEnum: case P1bubblecondensedEnum:
    12511251                        numindices = 3;
     
    12541254                        indices[1] = 1;
    12551255                        indices[2] = 2;
    1256                         break;
     1256                        return;
    12571257                case P2xP1Enum:
    12581258                        numindices = 6;
     
    12641264                        indices[4] = 7;
    12651265                        indices[5] = 8;
    1266                         break;
     1266                        return;
    12671267                case P1xP2Enum:
     1268                        numindices = 3;
     1269                        indices    = xNew<int>(numindices);
     1270                        indices[0] = 0;
     1271                        indices[1] = 1;
     1272                        indices[2] = 2;
     1273                        return;
     1274                case P1xP3Enum:
    12681275                        numindices = 3;
    12691276                        indices    = xNew<int>(numindices);
     
    12811288                        indices[4] = 10;
    12821289                        indices[5] = 11;
    1283                         break;
     1290                        return;
     1291                case P2xP4Enum:
     1292                        numindices = 6;
     1293                        indices    = xNew<int>(numindices);
     1294                        indices[0] = 0;
     1295                        indices[1] = 1;
     1296                        indices[2] = 2;
     1297                        indices[3] = 9;
     1298                        indices[4] = 10;
     1299                        indices[5] = 11;
     1300                        return;
    12841301                default:
    12851302                        _error_("Element type "<<EnumToStringx(this->element_type)<<" not supported yet");
Note: See TracChangeset for help on using the changeset viewer.