00001 #ifndef _MY__VelReader2D_ 00002 #define _MY_VelReader2D_ 00003 #include "dynamicbase.h" 00004 #include "orthomesh.h" 00005 00009 class VelReader2D : public DynamicBase 00010 { 00011 private: 00012 std::string file; 00013 OrthoMesh &mesh; 00014 VecDouble m_vFNC; 00015 protected: 00016 00017 public: 00018 VelReader2D(std::string filename,OrthoMesh &mesh); 00019 ~VelReader2D(){} 00020 virtual void getVelocitiesAtFaces(Matrix &vel); 00021 virtual void getNormalVelocityAtFaces(VecDouble &vFNC); 00022 virtual void iterate(TransportBase &trans); 00023 virtual void printOutput(); 00024 // virtual void getFluxAtFaces(VecDouble &vFNC){} 00025 //virtual void getPressionAtCells(VecDouble &p){} 00026 // virtual void getVelocitiesAtCells(Matrix &vel)=0; 00027 //virtual ~DynamicBase(){} 00028 00029 }; 00030 00031 #endif