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

Diff of /trunk/finley/src/Assemble_RobinCondition.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 123  void Finley_Assemble_RobinCondition(Finl Line 123  void Finley_Assemble_RobinCondition(Finl
123          EM_S=EM_F=V=dVdv=dSdV=Area=NULL;          EM_S=EM_F=V=dVdv=dSdV=Area=NULL;
124          index_row=index_col=NULL;          index_row=index_col=NULL;
125          /* allocate work arrays: */          /* allocate work arrays: */
126          EM_S=THREAD_MEMALLOC(p.NN_col*p.NN_row*p.numEqu*p.numComp,double);          EM_S=(double*) THREAD_MEMALLOC(p.NN_col*p.NN_row*p.numEqu*p.numComp*sizeof(double));
127          EM_F=THREAD_MEMALLOC(p.NN_row*p.numEqu,double);          EM_F=(double*) THREAD_MEMALLOC(p.NN_row*p.numEqu*sizeof(double));
128          V=THREAD_MEMALLOC(p.NN*p.numDim,double);          V=(double*) THREAD_MEMALLOC(p.NN*p.numDim*sizeof(double));
129          dVdv=THREAD_MEMALLOC(p.numDim*p.numElementDim*p.numQuad,double);          dVdv=(double*) THREAD_MEMALLOC(p.numDim*p.numElementDim*p.numQuad*sizeof(double));
130          Area=THREAD_MEMALLOC(p.numQuad,double);          Area=(double*) THREAD_MEMALLOC(p.numQuad*sizeof(double));
131          index_row=THREAD_MEMALLOC(p.NN_row,maybelong);          index_row=(maybelong*) THREAD_MEMALLOC(p.NN_row*sizeof(maybelong));
132          index_col=THREAD_MEMALLOC(p.NN_col,maybelong);          index_col=(maybelong*) THREAD_MEMALLOC(p.NN_col*sizeof(maybelong));
133          if (! ( Finley_checkPtr(EM_S) || Finley_checkPtr(EM_F) || Finley_checkPtr(index_row) || Finley_checkPtr(index_col) ||          if (! ( Finley_checkPtr(EM_S) || Finley_checkPtr(EM_F) || Finley_checkPtr(index_row) || Finley_checkPtr(index_col) ||
134                  Finley_checkPtr(V) || Finley_checkPtr(dVdv) || Finley_checkPtr(Area))) {                  Finley_checkPtr(V) || Finley_checkPtr(dVdv) || Finley_checkPtr(Area))) {
135             /*  open loop over all colors: */             /*  open loop over all colors: */
# Line 223  void Finley_Assemble_RobinCondition(Finl Line 223  void Finley_Assemble_RobinCondition(Finl
223  }  }
224  /*  /*
225   * $Log$   * $Log$
226   * Revision 1.2  2004/12/14 05:39:29  jgs   * Revision 1.3  2004/12/15 03:48:44  jgs
227   * *** empty log message ***   * *** empty log message ***
228   *   *
  * 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  
  *  
229   * Revision 1.1.1.1  2004/10/26 06:53:57  jgs   * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
230   * initial import of project esys2   * initial import of project esys2
231   *   *

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

  ViewVC Help
Powered by ViewVC 1.1.26