TransportBase Class Reference

#include <transportbase.h>

Inheritance diagram for TransportBase:
Inheritance graph
[legend]
Collaboration diagram for TransportBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TransportBase ()
virtual ~TransportBase ()
virtual void updateVelocities (DynamicBase &dynMod)=0
virtual double getDt (double t, double tEnd)=0
virtual void iterateN (unsigned nSteps, double dt)=0
virtual ArrayOfVecDoublegetSolutionAtCells ()=0
virtual void printOutput ()=0
virtual void updateDataForDynamicModule ()
FlashCompositionalgetFlash ()
void setFlash (FlashCompositional *pflash)

Protected Attributes

FlashCompositional_pFlash

Detailed Description

! Thi::include "arrayofvecdouble.h" include "arrayofvecdouble.h" s is the base class of all classses corresponding to methods for the advection equation. All the childrens classes must overload the updateVelocities method used to get the velocities field of the dynamic module and the iterate(t,tEnd) method. Such method is used to iterate the solution where the parameter "t" is the current time and "tEnd" is the end time of the simulation.

Definition at line 16 of file transportbase.h.


Constructor & Destructor Documentation

TransportBase::TransportBase (  ) 

Definition at line 10 of file transportbase.cpp.

00011 {
00012   _pFlash=NULL;
00013   // TODO Auto-generated constructor stub
00014 
00015 }

TransportBase::~TransportBase (  )  [virtual]

Definition at line 17 of file transportbase.cpp.

00018 {
00019         // TODO Auto-generated destructor stub
00020 }


Member Function Documentation

virtual double TransportBase::getDt ( double  t,
double  tEnd 
) [pure virtual]
FlashCompositional* TransportBase::getFlash (  )  [inline]

Definition at line 30 of file transportbase.h.

00030 {return _pFlash;}

virtual ArrayOfVecDouble& TransportBase::getSolutionAtCells (  )  [pure virtual]

Implemented in CUDAKTMethod, and LaxFriedrichsForSystem.

virtual void TransportBase::iterateN ( unsigned  nSteps,
double  dt 
) [pure virtual]
virtual void TransportBase::printOutput (  )  [pure virtual]

Implemented in CUDAKTMethod, and LaxFriedrichsForSystem.

void TransportBase::setFlash ( FlashCompositional pflash  )  [inline]

Definition at line 31 of file transportbase.h.

00031 {_pFlash=pflash;}

void TransportBase::updateDataForDynamicModule (  )  [virtual]

Event that runs imediately before the Dynamic Module

This is a function that has a true meaning just for the sequencer method that use flash computations for each iteration of the transport. It can be seen as an event that is called immediately before the dynamic module . To see an example of its use consult LaxFriedrichsMethodMPI and Sequencer::alternateIteration

Returns:

Reimplemented in CUDAKTMethod, and LaxFriedrichsSystemMPI.

Definition at line 30 of file transportbase.cpp.

00031 {
00032   ;//Nothing to be done
00033 }

virtual void TransportBase::updateVelocities ( DynamicBase dynMod  )  [pure virtual]

Implemented in CUDAKTMethod, and LaxFriedrichsForSystem.


Member Data Documentation

Definition at line 19 of file transportbase.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Sun Apr 8 23:13:29 2012 for CO2INJECTION by  doxygen 1.6.3