/[escript]/trunk/finley/src/finley/Assemble_PDE.c
ViewVC logotype

Diff of /trunk/finley/src/finley/Assemble_PDE.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 97 by jgs, Tue Dec 14 05:39:33 2004 UTC revision 100 by jgs, Wed Dec 15 03:48:48 2004 UTC
# Line 251  void Finley_Assemble_PDE(Finley_NodeFile Line 251  void Finley_Assemble_PDE(Finley_NodeFile
251    
252           /* allocate work arrays: */           /* allocate work arrays: */
253    
254           EM_S=(double*) THREAD_MEMALLOC(p.NN_row*p.NN_col*p.numEqu*p.numComp,double);           EM_S=(double*) THREAD_MEMALLOC(p.NN_row*p.NN_col*p.numEqu*p.numComp*sizeof(double));
255           EM_F=(double*) THREAD_MEMALLOC(p.NN_row*p.numEqu,double);           EM_F=(double*) THREAD_MEMALLOC(p.NN_row*p.numEqu*sizeof(double));
256           V=(double*) THREAD_MEMALLOC(p.NN*p.numDim,double);           V=(double*) THREAD_MEMALLOC(p.NN*p.numDim*sizeof(double));
257           dVdv=(double*) THREAD_MEMALLOC(p.numDim*p.numDim*p.numQuad,double);           dVdv=(double*) THREAD_MEMALLOC(p.numDim*p.numDim*p.numQuad*sizeof(double));
258           dvdV=(double*) THREAD_MEMALLOC(p.numDim*p.numDim*p.numQuad,double);           dvdV=(double*) THREAD_MEMALLOC(p.numDim*p.numDim*p.numQuad*sizeof(double));
259           dSdV=(double*) THREAD_MEMALLOC(p.NS_row*p.numQuad*p.numDim,double);           dSdV=(double*) THREAD_MEMALLOC(p.NS_row*p.numQuad*p.numDim*sizeof(double));
260           Vol=(double*) THREAD_MEMALLOC(p.numQuad,double);           Vol=(double*) THREAD_MEMALLOC(p.numQuad*sizeof(double));
261           index_col=(maybelong*) THREAD_MEMALLOC(p.NN_col,maybelong);           index_col=(maybelong*) THREAD_MEMALLOC(p.NN_col*sizeof(maybelong));
262           index_row=(maybelong*) THREAD_MEMALLOC(p.NN_row,maybelong);           index_row=(maybelong*) THREAD_MEMALLOC(p.NN_row*sizeof(maybelong));
263    
264           if (! (Finley_checkPtr(EM_S) || Finley_checkPtr(EM_F) || Finley_checkPtr(V) || Finley_checkPtr(index_col) ||           if (! (Finley_checkPtr(EM_S) || Finley_checkPtr(EM_F) || Finley_checkPtr(V) || Finley_checkPtr(index_col) ||
265                  Finley_checkPtr(index_row) || Finley_checkPtr(dVdv) || Finley_checkPtr(dSdV) || Finley_checkPtr(Vol) ))  {                  Finley_checkPtr(index_row) || Finley_checkPtr(dVdv) || Finley_checkPtr(dSdV) || Finley_checkPtr(Vol) ))  {
# Line 342  void Finley_Assemble_PDE(Finley_NodeFile Line 342  void Finley_Assemble_PDE(Finley_NodeFile
342  }  }
343  /*  /*
344   * $Log$   * $Log$
345   * Revision 1.2  2004/12/14 05:39:29  jgs   * Revision 1.3  2004/12/15 03:48:44  jgs
346   * *** empty log message ***   * *** empty log message ***
347   *   *
  * Revision 1.1.1.1.2.1  2004/11/24 01:37:12  gross  
  * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now  
  *  
348   * Revision 1.1.1.1  2004/10/26 06:53:57  jgs   * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
349   * initial import of project esys2   * initial import of project esys2
350   *   *

Legend:
Removed from v.97  
changed lines
  Added in v.100

  ViewVC Help
Powered by ViewVC 1.1.26