Changeset 5989
- Timestamp:
- 09/23/10 13:13:08 (14 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 1 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Makefile.am
r5986 r5989 272 272 ./shared/Elements/GetGlobalDofList.cpp\ 273 273 ./shared/Elements/GetNumberOfDofs.cpp\ 274 ./shared/Elements/NewElementMatrix.cpp\275 274 ./shared/String/DescriptorIndex.cpp\ 276 275 ./shared/String/sharedstring.h\ … … 831 830 ./shared/Elements/GetGlobalDofList.cpp\ 832 831 ./shared/Elements/GetNumberOfDofs.cpp\ 833 ./shared/Elements/NewElementMatrix.cpp\834 832 ./shared/String/DescriptorIndex.cpp\ 835 833 ./shared/String/sharedstring.h\ -
issm/trunk/src/c/objects/Elements/Penta.cpp
r5986 r5989 2005 2005 /*Initialize Element matrix and return if necessary*/ 2006 2006 if(IsOnWater()) return NULL; 2007 ElementMatrix* Ke1= NewElementMatrix(pentabase->nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum);2008 ElementMatrix* Ke2= NewElementMatrix(this->nodes ,NUMVERTICES,this->parameters,PattynApproximationEnum);2007 ElementMatrix* Ke1=new ElementMatrix(pentabase->nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum); 2008 ElementMatrix* Ke2=new ElementMatrix(this->nodes ,NUMVERTICES,this->parameters,PattynApproximationEnum); 2009 2009 ElementMatrix* Ke=new ElementMatrix(Ke1,Ke2); 2010 2010 delete Ke1; delete Ke2; … … 2073 2073 2074 2074 /*compute all stiffness matrices for this element*/ 2075 ElementMatrix* Ke1= NewElementMatrix(this->nodes,NUMVERTICES,this->parameters,PattynApproximationEnum);2076 ElementMatrix* Ke2= NewElementMatrix(this->nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);2075 ElementMatrix* Ke1=new ElementMatrix(this->nodes,NUMVERTICES,this->parameters,PattynApproximationEnum); 2076 ElementMatrix* Ke2=new ElementMatrix(this->nodes,NUMVERTICES,this->parameters,StokesApproximationEnum); 2077 2077 ElementMatrix* Ke=new ElementMatrix(Ke1,Ke2); 2078 2078 delete Ke1; … … 2141 2141 /*Initialize Element matrix and return if necessary*/ 2142 2142 if(IsOnWater()) return NULL; 2143 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);2143 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 2144 2144 2145 2145 /*Spawn 3 beam elements: */ … … 2257 2257 /*Initialize Element matrix and return if necessary*/ 2258 2258 if(IsOnWater()) return NULL; 2259 ElementMatrix* Ke= NewElementMatrix(tria->nodes,NUMVERTICES2D,this->parameters,MacAyealApproximationEnum);2259 ElementMatrix* Ke=new ElementMatrix(tria->nodes,NUMVERTICES2D,this->parameters,MacAyealApproximationEnum); 2260 2260 2261 2261 /*Retrieve all inputs and parameters*/ … … 2373 2373 /*Initialize Element matrix and return if necessary*/ 2374 2374 if(IsOnWater()) return NULL; 2375 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,PattynApproximationEnum);2375 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,PattynApproximationEnum); 2376 2376 2377 2377 /*Retrieve all inputs and parameters*/ … … 2481 2481 inputs->GetParameterValue(&approximation,ApproximationEnum); 2482 2482 if(IsOnWater() || (approximation!=StokesApproximationEnum && approximation!=PattynStokesApproximationEnum)) return NULL; 2483 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);2483 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum); 2484 2484 2485 2485 /*Retrieve all inputs and parameters*/ … … 2549 2549 inputs->GetParameterValue(&approximation,ApproximationEnum); 2550 2550 if(IsOnWater() || IsOnShelf() || !IsOnBed() || (approximation!=StokesApproximationEnum && approximation!=PattynStokesApproximationEnum)) return NULL; 2551 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum);2551 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,StokesApproximationEnum); 2552 2552 2553 2553 /*Retrieve all inputs and parameters*/ … … 2640 2640 /*Initialize Element matrix and return if necessary*/ 2641 2641 if(IsOnWater()) return NULL; 2642 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);2642 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 2643 2643 2644 2644 /*Retrieve all inputs and parameters*/ … … 2781 2781 /*Initialize Element matrix and return if necessary*/ 2782 2782 if(IsOnWater()) return NULL; 2783 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);2783 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 2784 2784 2785 2785 /*Retrieve all inputs and parameters*/ -
issm/trunk/src/c/objects/Elements/Tria.cpp
r5986 r5989 2425 2425 /*Initialize Element matrix and return if necessary*/ 2426 2426 if(IsOnWater()) return NULL; 2427 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);2427 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 2428 2428 2429 2429 /*Retrieve all Inputs and parameters: */ … … 2530 2530 /*Initialize Element matrix and return if necessary*/ 2531 2531 if(IsOnWater()) return NULL; 2532 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);2532 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 2533 2533 2534 2534 /*Retrieve all inputs and parameters*/ … … 2597 2597 /*Initialize Element matrix and return if necessary*/ 2598 2598 if(IsOnWater()) return NULL; 2599 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);2599 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 2600 2600 2601 2601 /*Retrieve all inputs and parameters*/ … … 2729 2729 /*Initialize Element matrix and return if necessary*/ 2730 2730 if(IsOnWater()) return NULL; 2731 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum);2731 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum); 2732 2732 2733 2733 /*Retrieve all inputs and parameters*/ … … 2797 2797 /*Initialize Element matrix and return if necessary*/ 2798 2798 if(IsOnWater() || IsOnShelf()) return NULL; 2799 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum);2799 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum); 2800 2800 2801 2801 /*Retrieve all inputs and parameters*/ … … 2868 2868 /*Initialize Element matrix and return if necessary*/ 2869 2869 if(IsOnWater() || IsOnShelf()) return NULL; 2870 ElementMatrix* Ke1= NewElementMatrix(nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum);2871 ElementMatrix* Ke2= NewElementMatrix(nodes,NUMVERTICES,this->parameters,PattynApproximationEnum);2870 ElementMatrix* Ke1=new ElementMatrix(nodes,NUMVERTICES,this->parameters,MacAyealApproximationEnum); 2871 ElementMatrix* Ke2=new ElementMatrix(nodes,NUMVERTICES,this->parameters,PattynApproximationEnum); 2872 2872 ElementMatrix* Ke=new ElementMatrix(Ke1,Ke2); 2873 2873 delete Ke1; delete Ke2; … … 2957 2957 /*Initialize Element matrix and return if necessary*/ 2958 2958 if(IsOnWater() || IsOnShelf()) return NULL; 2959 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,PattynApproximationEnum);2959 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,PattynApproximationEnum); 2960 2960 2961 2961 /*Retrieve all inputs and parameters*/ … … 3017 3017 /*Initialize Element matrix and return if necessary*/ 3018 3018 if(IsOnWater()) return NULL; 3019 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);3019 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 3020 3020 3021 3021 /*Create Element matrix*/ … … 3047 3047 /*Initialize Element matrix and return if necessary*/ 3048 3048 if(IsOnWater()) return NULL; 3049 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);3049 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 3050 3050 3051 3051 /*Retrieve all inputs and parameters*/ … … 3097 3097 /*Initialize Element matrix and return if necessary*/ 3098 3098 if(IsOnWater()) return NULL; 3099 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);3099 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 3100 3100 3101 3101 /*Retrieve all inputs and parameters*/ … … 3168 3168 /*Initialize Element matrix and return if necessary*/ 3169 3169 if(IsOnWater()) return NULL; 3170 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);3170 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 3171 3171 3172 3172 /*Retrieve all inputs and parameters*/ … … 3287 3287 /*Initialize Element matrix and return if necessary*/ 3288 3288 if(IsOnWater()) return NULL; 3289 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);3289 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 3290 3290 3291 3291 /*Retrieve all inputs and parameters*/ … … 3362 3362 /*Initialize Element matrix and return if necessary*/ 3363 3363 if(IsOnWater()) return NULL; 3364 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);3364 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 3365 3365 3366 3366 GetVerticesCoordinates(&xyz_list[0][0],nodes,NUMVERTICES); … … 3410 3410 /*Initialize Element matrix and return if necessary*/ 3411 3411 if(IsOnWater() || !IsOnShelf()) return NULL; 3412 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum);3412 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters,NoneApproximationEnum); 3413 3413 3414 3414 /*Retrieve all inputs and parameters*/ -
issm/trunk/src/c/objects/Loads/Numericalflux.cpp
r5986 r5989 444 444 Tria* tria=(Tria*)element; 445 445 if(tria->IsOnWater()) return NULL; 446 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES_INTERNAL,this->parameters);446 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES_INTERNAL,this->parameters); 447 447 448 448 /*Retrieve all inputs and parameters*/ … … 515 515 Tria* tria=(Tria*)element; 516 516 if(tria->IsOnWater()) return NULL; 517 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES_BOUNDARY,this->parameters);517 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES_BOUNDARY,this->parameters); 518 518 519 519 /*Retrieve all inputs and parameters*/ -
issm/trunk/src/c/objects/Loads/Pengrid.cpp
r5986 r5989 545 545 penta->inputs->GetParameterValue(&approximation,ApproximationEnum); 546 546 if(approximation!=StokesApproximationEnum) return NULL; 547 ElementMatrix* Ke= NewElementMatrix(&node,1,this->parameters,StokesApproximationEnum);547 ElementMatrix* Ke=new ElementMatrix(&node,1,this->parameters,StokesApproximationEnum); 548 548 549 549 /*Retrieve all inputs and parameters*/ … … 572 572 /*check that pengrid is not a clone (penalty to be added only once)*/ 573 573 if (node->IsClone()) return NULL; 574 ElementMatrix* Ke= NewElementMatrix(&node,1,this->parameters);574 ElementMatrix* Ke=new ElementMatrix(&node,1,this->parameters); 575 575 576 576 /*Retrieve all inputs and parameters*/ … … 599 599 /*Initialize Element matrix and return if necessary*/ 600 600 if(!this->active) return NULL; 601 ElementMatrix* Ke= NewElementMatrix(&node,NUMVERTICES,this->parameters);601 ElementMatrix* Ke=new ElementMatrix(&node,NUMVERTICES,this->parameters); 602 602 603 603 /*recover parameters: */ -
issm/trunk/src/c/objects/Loads/Penpair.cpp
r5940 r5989 312 312 313 313 /*Initialize Element vector and return if necessary*/ 314 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters);314 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters); 315 315 316 316 /*recover parameters: */ … … 339 339 340 340 /*Initialize Element vector and return if necessary*/ 341 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters);341 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters); 342 342 343 343 /*recover parameters: */ -
issm/trunk/src/c/objects/Loads/Riftfront.cpp
r5986 r5989 499 499 /*Initialize Element Matrix*/ 500 500 if(!this->active) return NULL; 501 ElementMatrix* Ke= NewElementMatrix(nodes,NUMVERTICES,this->parameters);501 ElementMatrix* Ke=new ElementMatrix(nodes,NUMVERTICES,this->parameters); 502 502 503 503 /*Get some parameters: */ -
issm/trunk/src/c/objects/Numerics/ElementMatrix.cpp
r5885 r5989 188 188 } 189 189 /*}}}*/ 190 /*FUNCTION ElementMatrix::ElementMatrix( bool square,int* in_gglobaldoflist,int gsize){{{1*/191 ElementMatrix::ElementMatrix( bool square,int* in_gglobaldoflist,int gsize){192 193 if(square=false)ISSMERROR(" calling square constructor with false square flag!");194 195 this->nrows=gsize; 196 this->ncols=gsize;190 /*FUNCTION ElementMatrix::ElementMatrix(Node** nodes,int numnodes,Parameters* parameters,int approximation){{{1*/ 191 ElementMatrix::ElementMatrix(Node** nodes,int numnodes,Parameters* parameters,int approximation){ 192 193 /*retrieve some parameters: */ 194 parameters->FindParam(&kff,KffEnum); 195 196 /*get Matrix size and properties*/ 197 197 this->square=true; 198 this->kff=false; 198 this->nrows=GetNumberOfDofs(nodes,numnodes,GsetEnum,approximation); 199 this->ncols=this->nrows; 199 200 200 201 /*fill values with 0: */ 201 202 this->values=(double*)xcalloc(this->nrows*this->ncols,sizeof(double)); 202 203 if(this->nrows){ 204 this->gglobaldoflist=(int*)xmalloc(this->nrows*sizeof(int)); 205 memcpy(this->gglobaldoflist,in_gglobaldoflist,this->nrows*sizeof(int)); 206 } 207 else{ 208 this->gglobaldoflist=NULL; 209 } 210 211 /*don't do rows and cols, because kff is false:*/ 212 this->row_fsize=0; 213 this->row_flocaldoflist=NULL; 214 this->row_fglobaldoflist=NULL; 215 this->row_ssize=0; 216 this->row_slocaldoflist=NULL; 217 this->row_sglobaldoflist=NULL; 218 219 this->col_fsize=0; 220 this->col_flocaldoflist=NULL; 221 this->col_fglobaldoflist=NULL; 222 this->col_ssize=0; 223 this->col_slocaldoflist=NULL; 224 this->col_sglobaldoflist=NULL; 225 226 } 227 /*}}}*/ 228 /*FUNCTION ElementMatrix::ElementMatrix(bool square,int* in_gglobaldoflist,int gsize,int* flocaldoflist,int* fglobaldoflist,int fsize,int* slocaldoflist,int* sglobaldoflist,int ssize){{{1*/ 229 ElementMatrix::ElementMatrix(bool square,int* in_gglobaldoflist,int gsize,int* flocaldoflist,int* fglobaldoflist,int fsize,int* slocaldoflist,int* sglobaldoflist,int ssize){ 230 231 if(square=false)ISSMERROR(" calling square constructor with false square flag!"); 232 ISSMASSERT(gsize); 233 234 this->nrows=gsize; 235 this->ncols=gsize; 236 this->square=true; 237 this->kff=true; 238 239 /*fill values with 0: */ 240 this->values=(double*)xcalloc(this->nrows*this->ncols,sizeof(double)); 241 242 /*g dofs*/ 243 this->gglobaldoflist=(int*)xmalloc(gsize*sizeof(int)); 244 memcpy(this->gglobaldoflist,in_gglobaldoflist,gsize*sizeof(int)); 245 246 /*row dofs: */ 247 this->row_fsize=fsize; 248 if(fsize){ 249 this->row_flocaldoflist=(int*)xmalloc(fsize*sizeof(int)); 250 this->row_fglobaldoflist=(int*)xmalloc(fsize*sizeof(int)); 251 memcpy(this->row_flocaldoflist,flocaldoflist,fsize*sizeof(int)); 252 memcpy(this->row_fglobaldoflist,fglobaldoflist,fsize*sizeof(int)); 253 } 254 else{ 203 204 /*g list*/ 205 this->gglobaldoflist=GetGlobalDofList(nodes,numnodes,GsetEnum,approximation); 206 207 /*get dof lists for f and s set: */ 208 if(kff){ 209 this->row_fsize=GetNumberOfDofs(nodes,numnodes,FsetEnum,approximation); 210 this->row_flocaldoflist =GetLocalDofList( nodes,numnodes,FsetEnum,approximation); 211 this->row_fglobaldoflist=GetGlobalDofList(nodes,numnodes,FsetEnum,approximation); 212 this->row_ssize=GetNumberOfDofs(nodes,numnodes,SsetEnum,approximation); 213 this->row_slocaldoflist =GetLocalDofList( nodes,numnodes,SsetEnum,approximation); 214 this->row_sglobaldoflist=GetGlobalDofList(nodes,numnodes,SsetEnum,approximation); 215 } 216 else{ 217 this->row_fsize=0; 255 218 this->row_flocaldoflist=NULL; 256 219 this->row_fglobaldoflist=NULL; 257 } 258 259 this->row_ssize=ssize; 260 if(ssize){ 261 this->row_slocaldoflist=(int*)xmalloc(ssize*sizeof(int)); 262 this->row_sglobaldoflist=(int*)xmalloc(ssize*sizeof(int)); 263 memcpy(this->row_slocaldoflist,slocaldoflist,ssize*sizeof(int)); 264 memcpy(this->row_sglobaldoflist,sglobaldoflist,ssize*sizeof(int)); 265 } 266 else{ 220 this->row_ssize=0; 267 221 this->row_slocaldoflist=NULL; 268 222 this->row_sglobaldoflist=NULL; 269 223 } 270 224 271 /* don't do cols, we can pick them up from the rows: */225 /*Because this matrix is "square" don't do cols, we can pick them up from the rows: */ 272 226 this->col_fsize=0; 273 227 this->col_flocaldoflist=NULL; -
issm/trunk/src/c/objects/Numerics/ElementMatrix.h
r5885 r5989 13 13 #include "../Object.h" 14 14 #include "../../toolkits/toolkits.h" 15 #include "../../EnumDefinitions/EnumDefinitions.h" 16 class Node; 15 17 /*}}}*/ 16 18 … … 52 54 ElementMatrix(ElementMatrix* Ke1,ElementMatrix* Ke2); 53 55 ElementMatrix(ElementMatrix* Ke1,ElementMatrix* Ke2,ElementMatrix* Ke3); 54 ElementMatrix(bool square,int* gglobaldoflist,int gsize); 55 ElementMatrix(bool square,int* gglobaldoflist,int gsize,int* flocaldoflist,int* fglobaldoflist,int fsize,int* slocaldoflist,int* sglobaldoflist,int ssize); 56 ElementMatrix(Node** nodes,int numnodes,Parameters* parameters,int approximation=NoneApproximationEnum); 56 57 ~ElementMatrix(); 57 58 /*}}}*/ -
issm/trunk/src/c/objects/Numerics/ElementVector.cpp
r5986 r5989 137 137 parameters->FindParam(&this->pf,KffEnum); 138 138 139 /*get number of dofs in sets g,f and s:*/139 /*get Vector size and properties*/ 140 140 this->nrows=GetNumberOfDofs(nodes,numnodes,GsetEnum,approximation); 141 141 … … 143 143 this->values=(double*)xcalloc(this->nrows,sizeof(double)); 144 144 145 /*g list*/ 146 this->gglobaldoflist=GetGlobalDofList(nodes,numnodes,GsetEnum,approximation); 147 145 148 /*Get fsize*/ 146 if(pf) fsize=GetNumberOfDofs(nodes,numnodes,FsetEnum,approximation);147 else fsize=0;148 149 /*get dof lists for f and s set: */150 gglobaldoflist=GetGlobalDofList(nodes,numnodes,GsetEnum,approximation);151 149 if(pf){ 152 flocaldoflist =GetLocalDofList( nodes,numnodes,FsetEnum,approximation); 153 fglobaldoflist=GetGlobalDofList(nodes,numnodes,FsetEnum,approximation); 154 } 155 else{ 156 flocaldoflist =NULL; 157 fglobaldoflist=NULL; 150 this->fsize=GetNumberOfDofs(nodes,numnodes,FsetEnum,approximation); 151 this->flocaldoflist =GetLocalDofList( nodes,numnodes,FsetEnum,approximation); 152 this->fglobaldoflist=GetGlobalDofList(nodes,numnodes,FsetEnum,approximation); 153 } 154 else{ 155 this->fsize=0; 156 this->flocaldoflist =NULL; 157 this->fglobaldoflist=NULL; 158 158 } 159 159 } -
issm/trunk/src/c/shared/Elements/elements.h
r5986 r5989 11 11 class ElementVector; 12 12 13 double Paterson(double temperature); 14 int GetVerticesCoordinates(double* xyz, Node** nodes, int numvertices); 15 int GetNumberOfDofs( Node** nodes,int numnodes,int setenum,int approximation_enum); 16 int* GetLocalDofList( Node** nodes,int numnodes,int setenum,int approximation_enum); 17 int* GetGlobalDofList(Node** nodes,int numnodes,int setenum,int approximation_enum); 18 ElementMatrix* NewElementMatrix(Node** nodes,int numnodes,Parameters* parameters,int approximation=NoneApproximationEnum); 13 double Paterson(double temperature); 14 int GetVerticesCoordinates(double* xyz, Node** nodes, int numvertices); 15 int GetNumberOfDofs( Node** nodes,int numnodes,int setenum,int approximation_enum); 16 int* GetLocalDofList( Node** nodes,int numnodes,int setenum,int approximation_enum); 17 int* GetGlobalDofList(Node** nodes,int numnodes,int setenum,int approximation_enum); 19 18 20 19 inline void printarray(double* array,int lines,int cols=1){
Note:
See TracChangeset
for help on using the changeset viewer.