/[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 101 by jgs, Wed Dec 15 03:48:48 2004 UTC revision 102 by jgs, Wed Dec 15 07:08:39 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=(double*) THREAD_MEMALLOC(p.NN_col*p.NN_row*p.numEqu*p.numComp*sizeof(double));          EM_S=THREAD_MEMALLOC(p.NN_col*p.NN_row*p.numEqu*p.numComp,double);
127          EM_F=(double*) THREAD_MEMALLOC(p.NN_row*p.numEqu*sizeof(double));          EM_F=THREAD_MEMALLOC(p.NN_row*p.numEqu,double);
128          V=(double*) THREAD_MEMALLOC(p.NN*p.numDim*sizeof(double));          V=THREAD_MEMALLOC(p.NN*p.numDim,double);
129          dVdv=(double*) THREAD_MEMALLOC(p.numDim*p.numElementDim*p.numQuad*sizeof(double));          dVdv=THREAD_MEMALLOC(p.numDim*p.numElementDim*p.numQuad,double);
130          Area=(double*) THREAD_MEMALLOC(p.numQuad*sizeof(double));          Area=THREAD_MEMALLOC(p.numQuad,double);
131          index_row=(maybelong*) THREAD_MEMALLOC(p.NN_row*sizeof(maybelong));          index_row=THREAD_MEMALLOC(p.NN_row,maybelong);
132          index_col=(maybelong*) THREAD_MEMALLOC(p.NN_col*sizeof(maybelong));          index_col=THREAD_MEMALLOC(p.NN_col,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.3  2004/12/15 03:48:44  jgs   * Revision 1.4  2004/12/15 07:08:32  jgs
227   * *** empty log message ***   * *** empty log message ***
228   *   *
  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs  
  * initial import of project esys2  
  *  
  * Revision 1.3  2004/07/30 04:37:06  gross  
  * escript and finley are linking now and RecMeshTest.py has been passed  
  *  
  * Revision 1.2  2004/07/21 05:00:54  gross  
  * name changes in DataC  
  *  
  * Revision 1.1  2004/07/02 04:21:13  gross  
  * Finley C code has been included  
229   *   *
230   *   *
231   */   */

Legend:
Removed from v.101  
changed lines
  Added in v.102

  ViewVC Help
Powered by ViewVC 1.1.26