Changeset 17406


Ignore:
Timestamp:
03/10/14 16:30:29 (11 years ago)
Author:
Mathieu Morlighem
Message:

NEW: added Jacobian:

File:
1 edited

Legend:

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

    r17405 r17406  
    301301        IssmDouble z4=xyz_list[3*3+2];
    302302
    303         _error_("Not implemented yet");
     303        J[NDOF3*0+0] = x2-x1;
     304        J[NDOF3*1+0] = y2-y1;
     305        J[NDOF3*2+0] = z2-z1;
     306
     307        J[NDOF3*0+1] = x3-x1;
     308        J[NDOF3*1+1] = y3-y1;
     309        J[NDOF3*2+1] = z3-z1;
     310
     311        J[NDOF3*0+2] = x4-x1;
     312        J[NDOF3*1+2] = y4-y1;
     313        J[NDOF3*2+2] = z4-z1;
    304314}
    305315/*}}}*/
Note: See TracChangeset for help on using the changeset viewer.