/[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 4801 by caltinay, Wed Mar 26 03:26:58 2014 UTC revision 4810 by caltinay, Thu Mar 27 07:00:30 2014 UTC
# Line 42  Paso_FCT_Solver* Paso_FCT_Solver_alloc(P Line 42  Paso_FCT_Solver* Paso_FCT_Solver_alloc(P
42      const dim_t n =  Paso_TransportProblem_getTotalNumRows(fctp);      const dim_t n =  Paso_TransportProblem_getTotalNumRows(fctp);
43        
44      out=new Paso_FCT_Solver;      out=new Paso_FCT_Solver;
     if (! Esys_checkPtr(out)) {  
45          out->transportproblem  = Paso_TransportProblem_getReference(fctp);          out->transportproblem  = Paso_TransportProblem_getReference(fctp);
46          out->mpi_info          = Esys_MPIInfo_getReference(fctp->mpi_info);          out->mpi_info          = Esys_MPIInfo_getReference(fctp->mpi_info);
47      out->flux_limiter      = Paso_FCT_FluxLimiter_alloc(fctp);      out->flux_limiter      = Paso_FCT_FluxLimiter_alloc(fctp);
# Line 68  Paso_FCT_Solver* Paso_FCT_Solver_alloc(P Line 67  Paso_FCT_Solver* Paso_FCT_Solver_alloc(P
67          Esys_setError(VALUE_ERROR, "Paso_FCT_Solver_alloc: unknown integration scheme.");          Esys_setError(VALUE_ERROR, "Paso_FCT_Solver_alloc: unknown integration scheme.");
68          out->method = UNKNOWN;          out->method = UNKNOWN;
69      }      }
         
     }  
70            
71      if (Esys_noError()) {      if (Esys_noError()) {
72          return out;          return out;

Legend:
Removed from v.4801  
changed lines
  Added in v.4810

  ViewVC Help
Powered by ViewVC 1.1.26