#include <baseclass.hxx>
Inheritance diagram for Multivac::CSpeedFunction< T >:
Public Member Functions | |
CSpeedFunction () throw () | |
Default constructor. | |
virtual | ~CSpeedFunction () throw () |
Destructor. | |
bool | IsPositionDependent () const |
Does the speed function depend upon the position? | |
bool | IsTimeDependent () const |
Does the speed function depend upon the time? | |
bool | IsNormalDependent () const |
Does the speed function depend upon the normal? | |
bool | IsCurvatureDependent () const |
Does the speed function depend upon the curvature? | |
virtual void | Init (CMesh< T > &Mesh)=0 |
Matrix< T > & | GetValues () |
Returns the matrix that stores speed rates on grid points. | |
virtual T | operator() (T x, T y, T time) const=0 |
virtual T | operator() (T x, T y, T time, T nx, T ny, T curvature) const=0 |
virtual T | GetMaxF1 (T Xmin, T Xmax, T Ymin, T Ymax, T norm2) const=0 |
virtual T | GetMaxF2 (T Xmin, T Xmax, T Ymin, T Ymax, T norm2) const=0 |
virtual T | operator() (int i, int j) const |
Returns the speed rate at a given grid point. | |
virtual T | GetDerivatives (T x, T y, T nx, T ny, T t, T &dFdp, T &dFdx, T &dFdy, T &dFdnx, T &dFdny) const=0 |
virtual T | Get2ndDerivatives (T x, T y, T nx, T ny, T t, T &dFdpdp, T &dFdpdx, T &dFdpdy, T &dFdpdnx, T &dFdpdny, T &dFdxdx, T &dFdxdy, T &dFdxdnx, T &dFdxdny, T &dFdydy, T &dFdydnx, T &dFdydny, T &dFdnxdnx, T &dFdnxdny, T &dFdnydny) const=0 |
virtual void | Save (string FFile) const |
Saves current speed rates. | |
Protected Attributes | |
Matrix< T > | Values |
Speed rates on grid points. | |
bool | dependence_position |
Does the speed function depend upon the position? | |
bool | dependence_time |
Does the speed function depend upon the time? | |
bool | dependence_normal |
Does the speed function depend upon the normal? | |
bool | dependence_curvature |
Does the speed function depend upon the curvature? |
Defines the speed functions interface. All speed functions must be defined in the same way.
|
Returns the matrix that stores speed rates on grid points. The matrix is returned by reference.
|
|
Does the speed function depend upon the curvature?
|
|
Does the speed function depend upon the normal?
|
|
Does the speed function depend upon the position?
|
|
Does the speed function depend upon the time?
|
|
Returns the speed rate at a given grid point.
Reimplemented in Multivac::CConstantSpeed< T >, and Multivac::CPiecewiseConstantSpeed< T >. |
|
Saves current speed rates.
|