00001 #ifndef _MY_FixedValueCondition_ 00002 #define _MY_FixedValueCondition_ 00003 #include "orthomesh.h" 00004 00005 00010 class FixedValueCondition 00011 { 00012 class Node { 00013 public: 00014 unsigned index; 00015 VecDouble values; 00016 }; 00017 private: 00018 std::vector<Node> data; 00019 protected: 00020 00021 public: 00022 FixedValueCondition(); 00023 ~FixedValueCondition(){} 00024 void applyConditions(VecDouble &v); 00025 void applyConditions(ArrayOfVecDouble &v); 00026 00027 void addFixedCondition(OrthoMesh &mesh, Point3D &p,double value); 00028 void addFixedCondition(unsigned index, double value); 00029 00030 void addTransportFixedCondition(OrthoMesh &mesh,const VecWellInfo &wells); 00031 }; 00032 00033 #endif