Changeset 15446
- Timestamp:
- 07/05/13 14:51:53 (12 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/Elements
- Files:
-
- 2 edited
-
Tria.cpp (modified) (2 diffs)
-
TriaRef.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r15444 r15446 992 992 993 993 /* Start looping on the number of vertices: */ 994 if (input){994 if(input){ 995 995 GaussTria* gauss=new GaussTria(); 996 for (int iv=0;iv<this->NumberofNodes();iv++){996 for(int iv=0;iv<this->NumberofNodes();iv++){ 997 997 gauss->GaussNode(numnodes,iv); 998 998 input->GetInputValue(&pvalue[iv],gauss); … … 1001 1001 } 1002 1002 else{ 1003 for (int iv=0;iv<numnodes;iv++) pvalue[iv]=defaultvalue;1003 for(int iv=0;iv<numnodes;iv++) pvalue[iv]=defaultvalue; 1004 1004 } 1005 1005 } -
issm/trunk-jpl/src/c/classes/Elements/TriaRef.cpp
r15439 r15446 541 541 dbasis[NUMNODESP2*1+0]=-2.*SQRT3/3.*gauss->coord1 + SQRT3/6.; 542 542 /*Nodal function 2*/ 543 dbasis[NUMNODESP2*0+1]=+2.*gauss->coord2 +0.5;543 dbasis[NUMNODESP2*0+1]=+2.*gauss->coord2 - 0.5; 544 544 dbasis[NUMNODESP2*1+1]=-2.*SQRT3/3.*gauss->coord2 + SQRT3/6.; 545 545 /*Nodal function 3*/
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)