Changeset 17479
- Timestamp:
- 03/19/14 12:22:11 (11 years ago)
- Location:
- issm/trunk-jpl/src/c/shared/Numerics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Numerics/GaussPoints.cpp
r17421 r17479 1199 1199 }/*}}}*/ 1200 1200 /*FUNCTION GaussLegendreTetra{{{*/ 1201 void GaussLegendreTetra( int* pngaus, Issm PDouble** pl1, IssmPDouble** pl2, IssmPDouble** pl3, IssmPDouble** pl4, IssmPDouble** pwgt, int iord ) {1201 void GaussLegendreTetra( int* pngaus, IssmDouble** pl1, IssmDouble** pl2, IssmDouble** pl3, IssmDouble** pl4, IssmDouble** pwgt, int iord ) { 1202 1202 /* Gauss quadrature points for the tetrahedron. 1203 1203 … … 1402 1402 *pngaus=np[iord-1]; 1403 1403 1404 *pl1 =xNew<Issm PDouble>(*pngaus);1405 *pl2 =xNew<Issm PDouble>(*pngaus);1406 *pl3 =xNew<Issm PDouble>(*pngaus);1407 *pl4 =xNew<Issm PDouble>(*pngaus);1408 *pwgt =xNew<Issm PDouble>(*pngaus);1404 *pl1 =xNew<IssmDouble>(*pngaus); 1405 *pl2 =xNew<IssmDouble>(*pngaus); 1406 *pl3 =xNew<IssmDouble>(*pngaus); 1407 *pl4 =xNew<IssmDouble>(*pngaus); 1408 *pwgt =xNew<IssmDouble>(*pngaus); 1409 1409 1410 1410 for (i=0; i<*pngaus; i++) { … … 1422 1422 *pngaus=nigaus*nigaus*nigaus; 1423 1423 1424 *pl1 =xNew<Issm PDouble>(*pngaus);1425 *pl2 =xNew<Issm PDouble>(*pngaus);1426 *pl3 =xNew<Issm PDouble>(*pngaus);1427 *pl4 =xNew<Issm PDouble>(*pngaus);1428 *pwgt =xNew<Issm PDouble>(*pngaus);1424 *pl1 =xNew<IssmDouble>(*pngaus); 1425 *pl2 =xNew<IssmDouble>(*pngaus); 1426 *pl3 =xNew<IssmDouble>(*pngaus); 1427 *pl4 =xNew<IssmDouble>(*pngaus); 1428 *pwgt =xNew<IssmDouble>(*pngaus); 1429 1429 1430 1430 /* get the gauss points in each direction */ -
issm/trunk-jpl/src/c/shared/Numerics/GaussPoints.h
r15071 r17479 12 12 void GaussLegendreTria(int* pngaus, IssmDouble** pl1, IssmDouble** pl2, IssmDouble** pl3, IssmDouble** pwgt, int iord); 13 13 #define MAX_TETRA_SYM_ORD 6 14 void GaussLegendreTetra(int* pngaus, Issm PDouble** pl1, IssmPDouble** pl2, IssmPDouble** pl3, IssmPDouble** pl4, IssmPDouble** pwgt, int iord);14 void GaussLegendreTetra(int* pngaus, IssmDouble** pl1, IssmDouble** pl2, IssmDouble** pl3, IssmDouble** pl4, IssmDouble** pwgt, int iord); 15 15 #define MAX_LINE_GLOB_PTS 5 16 16 void GaussLobatto(IssmPDouble** pxgaus, IssmPDouble** pxwgt, int ngaus);
Note:
See TracChangeset
for help on using the changeset viewer.