12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
-
-
-
-
-
-
- #ifndef __kernel_h
- #define __kernel_h
-
- #ifdef LEMMAUSEVTK
- #include "vtkImplicitFunction.h"
- #endif
-
- #include "LemmaObject.h"
- #include "receivercubes.h"
-
- namespace Lemma {
-
-
-
-
-
-
- class Kernel : public LemmaObject {
-
-
- friend std::ostream &operator<<(std::ostream &stream,
- const Kernel &ob);
-
- public:
-
-
-
-
-
- virtual void Delete()=0;
-
-
-
-
-
-
-
-
-
- virtual VectorXcr ComputeSensitivity()=0;
-
- #ifdef LEMMAUSEVTK
- virtual VectorXcr ComputeSensitivity(vtkImplicitFunction* Impl)=0;
- #endif
-
-
- virtual VectorXcr ComputeSensitivity(const Real& fval)=0;
-
-
- virtual VectorXcr ComputeSensitivity(const VectorXr& fval)=0;
-
- virtual void SetFieldCubes(ReceiverCubes* pts)=0;
-
-
-
- protected:
-
-
-
-
- Kernel (const std::string& name);
-
-
- ~Kernel ();
-
- private:
-
- };
-
- }
-
- #endif
|