/[escript]/trunk/paso/src/Transport.h
ViewVC logotype

Diff of /trunk/paso/src/Transport.h

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

revision 3004 by gross, Tue Mar 16 01:32:43 2010 UTC revision 3005 by gross, Thu Apr 22 05:59:31 2010 UTC
# Line 38  typedef struct Paso_TransportProblem { Line 38  typedef struct Paso_TransportProblem {
38      Paso_SystemMatrix * mass_matrix;      Paso_SystemMatrix * mass_matrix;
39            
40      Paso_Coupler* u_coupler;      Paso_Coupler* u_coupler;
   
     index_t *main_iptr;  
41      Paso_SystemMatrix * iteration_matrix;      Paso_SystemMatrix * iteration_matrix;
42      double* main_diagonal_low_order_transport_matrix;      double* main_diagonal_low_order_transport_matrix;
43      double* lumped_mass_matrix;      double* lumped_mass_matrix;
44        double* reactive_matrix;
45        double* main_diagonal_mass_matrix;
46    
47      Paso_MPIInfo *mpi_info;      Paso_MPIInfo *mpi_info;
48      dim_t reference_counter;      dim_t reference_counter;
# Line 63  dim_t Paso_TransportProblem_getBlockSize Line 63  dim_t Paso_TransportProblem_getBlockSize
63  PASO_DLL_API  PASO_DLL_API
64  double Paso_TransportProblem_getSafeTimeStepSize(Paso_TransportProblem* in);  double Paso_TransportProblem_getSafeTimeStepSize(Paso_TransportProblem* in);
65    
   
   
66  PASO_DLL_API  PASO_DLL_API
67  Paso_SystemMatrix* Paso_TransportProblem_borrowTransportMatrix(Paso_TransportProblem* in);  Paso_SystemMatrix* Paso_TransportProblem_borrowTransportMatrix(Paso_TransportProblem* in);
68    
# Line 99  void Paso_TransportProblem_insertConstra Line 97  void Paso_TransportProblem_insertConstra
97  PASO_DLL_API  PASO_DLL_API
98  void Paso_TransportProblem_setUpConstraint(Paso_TransportProblem* fctp,  const double* q, const double factor);  void Paso_TransportProblem_setUpConstraint(Paso_TransportProblem* fctp,  const double* q, const double factor);
99    
100    #define Paso_TransportProblem_borrowMainDiagonalPointer(_fct_) Paso_SparseMatrix_borrowMainDiagonalPointer((_fct_)->mass_matrix->mainBlock)
101    #define Paso_Transport_getTheta(_fct_) ( ( (_fct_)->useBackwardEuler ) ? 1. : 0.5 )
102    
103  #endif /* #ifndef INC_PASOTRANSPORT */  #endif /* #ifndef INC_PASOTRANSPORT */

Legend:
Removed from v.3004  
changed lines
  Added in v.3005

  ViewVC Help
Powered by ViewVC 1.1.26