Changeset 3392
- Timestamp:
- 04/05/10 10:55:25 (15 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/ElementProperties.cpp
r3385 r3392 104 104 105 105 if(prop->h)this->h=(double*)xmalloc(this->numnodes*sizeof(double)); 106 else this->h=NULL; 106 107 if(prop->s)this->s=(double*)xmalloc(this->numnodes*sizeof(double)); 108 else this->s=NULL; 107 109 if(prop->b)this->b=(double*)xmalloc(this->numnodes*sizeof(double)); 110 else this->b=NULL; 108 111 if(prop->k)this->k=(double*)xmalloc(this->numnodes*sizeof(double)); 112 else this->k=NULL; 109 113 if(prop->melting)this->melting=(double*)xmalloc(this->numnodes*sizeof(double)); 114 else this->melting=NULL; 110 115 if(prop->accumulation)this->accumulation=(double*)xmalloc(this->numnodes*sizeof(double)); 116 else this->accumulation=NULL; 111 117 if(prop->geothermalflux)this->geothermalflux=(double*)xmalloc(this->numnodes*sizeof(double)); 118 else this->geothermalflux=NULL; 112 119 113 120 for(i=0;i<this->numnodes;i++){ -
issm/trunk/src/c/objects/Node.cpp
r3390 r3392 58 58 } 59 59 /*}}}*/ 60 /*FUNCTION Node destruct eur{{{1*/60 /*FUNCTION Node destructor{{{1*/ 61 61 Node::~Node(){ 62 62 return;
Note:
See TracChangeset
for help on using the changeset viewer.