proteus  1.2.0
C/C++/Fortran libraries
Public Types | Public Member Functions | Public Attributes | List of all members
FMMEikonalSolverBase Class Referenceabstract

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

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

Public Types

enum  STATUS { FAR = -1, TRIAL = 0, KNOWN = 1 }
 
enum  INIT_TYPE { MAGNITUDE, FRONT_AND_MAGNITUDE }
 

Public Member Functions

 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 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 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 bool localUpdate (int N, double &T_N, const double *T, double speed=1.0, int verbose=0)=0
 

Public Attributes

Meshmesh
 
std::vector< STATUSStatus
 
std::vector< int > Known
 
const int nSpace
 
UnstructuredLocalUpwindSolvers localSolvers
 
const double UNINITIALIZED
 
INIT_TYPE initFlag
 
bool forcePositiveInitialValues
 

Detailed Description

Definition at line 54 of file FMMandFSW.h.

Member Enumeration Documentation

Enumerator
MAGNITUDE 
FRONT_AND_MAGNITUDE 

Definition at line 58 of file FMMandFSW.h.

Enumerator
FAR 
TRIAL 
KNOWN 

Definition at line 57 of file FMMandFSW.h.

Constructor & Destructor Documentation

FMMEikonalSolverBase::FMMEikonalSolverBase ( Mesh meshIn = 0,
int  nSpace = 1,
FMMEikonalSolverBase::INIT_TYPE  initIn = MAGNITUDE,
bool  forcePositiveInitialValuesIn = true 
)

Definition at line 372 of file FMMandFSW.cpp.

FMMEikonalSolverBase::~FMMEikonalSolverBase ( )
virtual

Definition at line 386 of file FMMandFSW.cpp.

Member Function Documentation

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

Definition at line 389 of file FMMandFSW.cpp.

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

Reimplemented in FSWEikonalSolverBase.

Definition at line 498 of file FMMandFSW.cpp.

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

Reimplemented in FSWEikonalSolverBase.

Definition at line 435 of file FMMandFSW.cpp.

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

Reimplemented in FSWEikonalSolverBase.

Definition at line 397 of file FMMandFSW.cpp.

virtual bool FMMEikonalSolverBase::localUpdate ( int  N,
double &  T_N,
const double *  T,
double  speed = 1.0,
int  verbose = 0 
)
pure virtual
bool FMMEikonalSolverBase::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 in FSWEikonalSolverBase.

Definition at line 566 of file FMMandFSW.cpp.

Member Data Documentation

bool FMMEikonalSolverBase::forcePositiveInitialValues

Definition at line 99 of file FMMandFSW.h.

INIT_TYPE FMMEikonalSolverBase::initFlag

Definition at line 98 of file FMMandFSW.h.

std::vector<int> FMMEikonalSolverBase::Known

Definition at line 92 of file FMMandFSW.h.

UnstructuredLocalUpwindSolvers FMMEikonalSolverBase::localSolvers

Definition at line 95 of file FMMandFSW.h.

Mesh* FMMEikonalSolverBase::mesh

Definition at line 90 of file FMMandFSW.h.

const int FMMEikonalSolverBase::nSpace

Definition at line 93 of file FMMandFSW.h.

std::vector<STATUS> FMMEikonalSolverBase::Status

Definition at line 91 of file FMMandFSW.h.

const double FMMEikonalSolverBase::UNINITIALIZED

Definition at line 97 of file FMMandFSW.h.


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