48 |
|
/** @class Ellipsoid */ |
49 |
|
class Ellipsoid : public Shape{ |
50 |
|
public: |
51 |
< |
Ellipsoid(Vector3d origin, double rMajor, double rMinor, Mat3x3d rotMat); |
51 |
> |
Ellipsoid(Vector3d origin, RealType rMajor, RealType rMinor, Mat3x3d rotMat); |
52 |
|
virtual bool isInterior(Vector3d pos); |
53 |
|
virtual std::pair<Vector3d, Vector3d> getBoundingBox(); |
54 |
|
virtual bool hasAnalyticalSolution() {return true;} |
55 |
|
|
56 |
< |
virtual HydroProps getHydroProps(double viscosity, double temperature); |
56 |
> |
virtual HydroProp* getHydroProp(RealType viscosity, RealType temperature); |
57 |
|
|
58 |
|
|
59 |
< |
double getRMajor() {return rMajor_;} |
60 |
< |
double getRMinor() {return rMinor_;} |
59 |
> |
RealType getRMajor() {return rMajor_;} |
60 |
> |
RealType getRMinor() {return rMinor_;} |
61 |
|
|
62 |
|
private: |
63 |
|
|
64 |
|
Vector3d origin_; |
65 |
< |
double rMajor_; |
66 |
< |
double rMinor_; |
65 |
> |
RealType rMajor_; |
66 |
> |
RealType rMinor_; |
67 |
|
Mat3x3d rotMat_; |
68 |
|
}; |
69 |
|
} |