/[escript]/trunk/paso/src/FCT_Solver.cpp
ViewVC logotype

Diff of /trunk/paso/src/FCT_Solver.cpp

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

revision 4869 by caltinay, Mon Apr 14 10:39:22 2014 UTC revision 4934 by jfenwick, Tue May 13 00:28:11 2014 UTC
# Line 44  FCT_Solver::FCT_Solver(const_TransportPr Line 44  FCT_Solver::FCT_Solver(const_TransportPr
44  {  {
45      const dim_t blockSize = tp->getBlockSize();      const dim_t blockSize = tp->getBlockSize();
46      const dim_t n = tp->getTotalNumRows();      const dim_t n = tp->getTotalNumRows();
47      mpi_info = Esys_MPIInfo_getReference(tp->mpi_info);      mpi_info = tp->mpi_info;
48      flux_limiter = new FCT_FluxLimiter(tp);      flux_limiter = new FCT_FluxLimiter(tp);
49      b = new double[n];      b = new double[n];
50      if (options->ode_solver == PASO_CRANK_NICOLSON || options->ode_solver == PASO_BACKWARD_EULER) {      if (options->ode_solver == PASO_CRANK_NICOLSON || options->ode_solver == PASO_BACKWARD_EULER) {
# Line 69  FCT_Solver::FCT_Solver(const_TransportPr Line 69  FCT_Solver::FCT_Solver(const_TransportPr
69  FCT_Solver::~FCT_Solver()  FCT_Solver::~FCT_Solver()
70  {  {
71      delete flux_limiter;      delete flux_limiter;
     Esys_MPIInfo_free(mpi_info);  
72      delete[] b;      delete[] b;
73      delete[] z;      delete[] z;
74      delete[] du;      delete[] du;

Legend:
Removed from v.4869  
changed lines
  Added in v.4934

  ViewVC Help
Powered by ViewVC 1.1.26