proteus  1.2.0
C/C++/Fortran libraries
Public Member Functions | Public Attributes | List of all members
FSWEikonalSolverBase Class Reference

#include </home/cekees/proteus/proteus/FMMandFSW.h>

Inheritance diagram for FSWEikonalSolverBase:
[legend]
Collaboration diagram for FSWEikonalSolverBase:
[legend]

Public Member Functions

 FSWEikonalSolverBase (Mesh *meshIn=0, int nSpace=1, double atolIn=1.0e-8, double rtolIn=1.0e-8, int maxItsIn=1000, INIT_TYPE initIn=MAGNITUDE, int nRefPointsIn=0, const double *refPointsIn=0)
 
virtual ~FSWEikonalSolverBase ()
 
virtual bool initializeKnownPointsUsingMagnitude (const double *phi0, double *T, double zeroTol=1.0e-4, int verbose=0)
 
virtual bool initializeKnownPointsUsingFrontIntersection (const double *phi0, double *T, double zeroTol=1.0e-4, int verbose=0)
 
virtual bool initializeKnownPointsAlaWeakDirBCs (const double *phi0, double *T, double zeroTol=0.0, int verbose=0)
 
virtual bool buildOrderings ()
 
virtual bool solve (const double *phi0, const double *nodalSpeeds, double *T, double zeroTol=1.0e-4, double trialTol=1.0e-1, int initTypeFlag=-1, int verbose=0)
 
- Public Member Functions inherited from FMMEikonalSolverBase
 FMMEikonalSolverBase (Mesh *meshIn=0, int nSpace=1, INIT_TYPE initIn=MAGNITUDE, bool forcePositiveInitialValuesIn=true)
 
virtual ~FMMEikonalSolverBase ()
 
virtual bool initializeKnownPoints (const double *phi0, double *T, double zeroTol=1.0e-4, int verbose=0)
 
virtual bool localUpdate (int N, double &T_N, const double *T, double speed=1.0, int verbose=0)=0
 

Public Attributes

int nRefPoints
 
std::valarray< double > refPoints
 
std::vector< std::vector< int > > Order
 
double iterAtol
 
double iterRtol
 
int maxIts
 
std::valarray< double > T0
 
- Public Attributes inherited from FMMEikonalSolverBase
Meshmesh
 
std::vector< STATUSStatus
 
std::vector< int > Known
 
const int nSpace
 
UnstructuredLocalUpwindSolvers localSolvers
 
const double UNINITIALIZED
 
INIT_TYPE initFlag
 
bool forcePositiveInitialValues
 

Additional Inherited Members

- Public Types inherited from FMMEikonalSolverBase
enum  STATUS { FAR = -1, TRIAL = 0, KNOWN = 1 }
 
enum  INIT_TYPE { MAGNITUDE, FRONT_AND_MAGNITUDE }
 

Detailed Description

Definition at line 150 of file FMMandFSW.h.

Constructor & Destructor Documentation

FSWEikonalSolverBase::FSWEikonalSolverBase ( Mesh meshIn = 0,
int  nSpace = 1,
double  atolIn = 1.0e-8,
double  rtolIn = 1.0e-8,
int  maxItsIn = 1000,
FMMEikonalSolverBase::INIT_TYPE  initIn = MAGNITUDE,
int  nRefPointsIn = 0,
const double *  refPointsIn = 0 
)

Definition at line 910 of file FMMandFSW.cpp.

FSWEikonalSolverBase::~FSWEikonalSolverBase ( )
virtual

Definition at line 925 of file FMMandFSW.cpp.

Member Function Documentation

bool FSWEikonalSolverBase::buildOrderings ( )
virtual

Definition at line 929 of file FMMandFSW.cpp.

bool FSWEikonalSolverBase::initializeKnownPointsAlaWeakDirBCs ( const double *  phi0,
double *  T,
double  zeroTol = 0.0,
int  verbose = 0 
)
virtual

Reimplemented from FMMEikonalSolverBase.

Definition at line 1177 of file FMMandFSW.cpp.

bool FSWEikonalSolverBase::initializeKnownPointsUsingFrontIntersection ( const double *  phi0,
double *  T,
double  zeroTol = 1.0e-4,
int  verbose = 0 
)
virtual

Reimplemented from FMMEikonalSolverBase.

Definition at line 1119 of file FMMandFSW.cpp.

bool FSWEikonalSolverBase::initializeKnownPointsUsingMagnitude ( const double *  phi0,
double *  T,
double  zeroTol = 1.0e-4,
int  verbose = 0 
)
virtual

Reimplemented from FMMEikonalSolverBase.

Definition at line 1090 of file FMMandFSW.cpp.

bool FSWEikonalSolverBase::solve ( const double *  phi0,
const double *  nodalSpeeds,
double *  T,
double  zeroTol = 1.0e-4,
double  trialTol = 1.0e-1,
int  initTypeFlag = -1,
int  verbose = 0 
)
virtual

Reimplemented from FMMEikonalSolverBase.

Definition at line 1242 of file FMMandFSW.cpp.

Member Data Documentation

double FSWEikonalSolverBase::iterAtol

Definition at line 188 of file FMMandFSW.h.

double FSWEikonalSolverBase::iterRtol

Definition at line 188 of file FMMandFSW.h.

int FSWEikonalSolverBase::maxIts

Definition at line 189 of file FMMandFSW.h.

int FSWEikonalSolverBase::nRefPoints

Definition at line 183 of file FMMandFSW.h.

std::vector<std::vector<int> > FSWEikonalSolverBase::Order

Definition at line 187 of file FMMandFSW.h.

std::valarray<double> FSWEikonalSolverBase::refPoints

Definition at line 184 of file FMMandFSW.h.

std::valarray<double> FSWEikonalSolverBase::T0

Definition at line 190 of file FMMandFSW.h.


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