CG  Version 25
Public Member Functions | Protected Attributes | List of all members
ProjectVelocity Class Reference

#include <ProjectVelocity.h>

Public Member Functions

 ProjectVelocity ()
 
 ~ProjectVelocity ()
 
real computeDivergence (const realCompositeGridFunction &u, realCompositeGridFunction &divergence)
 
real computeDivergence (const realCompositeGridFunction &u, realCompositeGridFunction &divergence, real &divl2Norm)
 
void smoothVelocity (realCompositeGridFunction &u, const int numberOfSmooths)
 
int projectVelocity (realCompositeGridFunction &u, GenericCompositeGridOperators &op)
 
int setCompare3Dto2D (int value)
 
int setIsAxisymmetric (bool trueOrFalse=TRUE)
 
int setNumberOfSmoothsPerProjectionIteration (int number)
 
int setMinimumNumberOfProjectionIterations (int number)
 
int setMaximumNumberOfProjectionIterations (int number)
 
int setDebug (int number)
 
int setConvergenceTolerance (real value)
 
int setVelocityComponent (int uc)
 
int setPoissonSolver (Oges *poissonSolver)
 

Protected Attributes

int uc
 
bool axisymmetric
 
int numberOfSmoothsPerProjectionIteration
 
int minimumNumberOfProjectionIterations
 
int maximumNumberOfProjectionIterations
 
int debug
 
int compare3Dto2D
 
real convergenceTolerance
 
Oges * poissonSolver
 

Constructor & Destructor Documentation

ProjectVelocity::ProjectVelocity ( )
ProjectVelocity::~ProjectVelocity ( )

Member Function Documentation

real ProjectVelocity::computeDivergence ( const realCompositeGridFunction &  u,
realCompositeGridFunction &  divergence 
)

Referenced by Cgins::project(), and projectVelocity().

real ProjectVelocity::computeDivergence ( const realCompositeGridFunction &  u,
realCompositeGridFunction &  divergence,
real &  divl2Norm 
)
int ProjectVelocity::projectVelocity ( realCompositeGridFunction &  u,
GenericCompositeGridOperators &  op 
)
int ProjectVelocity::setCompare3Dto2D ( int  value)

References compare3Dto2D.

Referenced by Cgins::project(), and DomainSolver::project().

int ProjectVelocity::setConvergenceTolerance ( real  value)

References convergenceTolerance.

int ProjectVelocity::setDebug ( int  number)

References debug.

int ProjectVelocity::setIsAxisymmetric ( bool  trueOrFalse = TRUE)

References axisymmetric.

Referenced by Cgins::project(), and DomainSolver::project().

int ProjectVelocity::setMaximumNumberOfProjectionIterations ( int  number)
int ProjectVelocity::setMinimumNumberOfProjectionIterations ( int  number)
int ProjectVelocity::setNumberOfSmoothsPerProjectionIteration ( int  number)
int ProjectVelocity::setPoissonSolver ( Oges *  poissonSolver)

References poissonSolver.

Referenced by Cgins::project(), and DomainSolver::project().

int ProjectVelocity::setVelocityComponent ( int  uc)

References uc.

Referenced by Cgins::project(), and DomainSolver::project().

void ProjectVelocity::smoothVelocity ( realCompositeGridFunction &  u,
const int  numberOfSmooths 
)

References axis, cg, compare3Dto2D, getIndex(), grid, I1, I2, I3, N(), uc, and v.

Referenced by computeDivergence(), and projectVelocity().

Member Data Documentation

bool ProjectVelocity::axisymmetric
protected
int ProjectVelocity::compare3Dto2D
protected
real ProjectVelocity::convergenceTolerance
protected
int ProjectVelocity::debug
protected
int ProjectVelocity::maximumNumberOfProjectionIterations
protected
int ProjectVelocity::minimumNumberOfProjectionIterations
protected
int ProjectVelocity::numberOfSmoothsPerProjectionIteration
protected
Oges* ProjectVelocity::poissonSolver
protected
int ProjectVelocity::uc
protected

The documentation for this class was generated from the following files: