#include <fixedvaluecondition.h>

Classes | |
| class | Node |
Public Member Functions | |
| FixedValueCondition () | |
| ~FixedValueCondition () | |
| void | applyConditions (VecDouble &v) |
| void | applyConditions (ArrayOfVecDouble &v) |
| void | addFixedCondition (OrthoMesh &mesh, Point3D &p, double value) |
| void | addFixedCondition (unsigned index, double value) |
| void | addTransportFixedCondition (OrthoMesh &mesh, const VecWellInfo &wells) |
Private Attributes | |
| std::vector< Node > | data |
Definition at line 10 of file fixedvaluecondition.h.
| FixedValueCondition::FixedValueCondition | ( | ) |
Definition at line 51 of file fixedvaluecondition.cpp.
| FixedValueCondition::~FixedValueCondition | ( | ) | [inline] |
Definition at line 23 of file fixedvaluecondition.h.
| void FixedValueCondition::addFixedCondition | ( | unsigned | index, | |
| double | value | |||
| ) |
Definition at line 41 of file fixedvaluecondition.cpp.
00042 { 00043 Node node; 00044 node.index = index; 00045 node.values.reinit(1); 00046 node.values(0)= value; 00047 data.push_back(node); 00048 }
Definition at line 29 of file fixedvaluecondition.cpp.
00030 { 00031 OrthoMesh::Cell_It cell = mesh.getCellAt(p); 00032 Node node; 00033 node.index = cell->index(); 00034 node.values.reinit(1); 00035 node.values(0)= value; 00036 data.push_back(node); 00037 00038 }
| void FixedValueCondition::addTransportFixedCondition | ( | OrthoMesh & | mesh, | |
| const VecWellInfo & | wells | |||
| ) |
Definition at line 57 of file fixedvaluecondition.cpp.
00058 { 00059 OrthoMesh::Cell_It cell = mesh.begin_cell(); 00060 OrthoMesh::Cell_It endc = mesh.end_cell(); 00061 Node node; 00062 for(;cell!=endc;cell++) 00063 { 00064 Point3D p; 00065 cell->barycenter(p); 00066 for (unsigned i=0;i<wells.size();i++) 00067 { 00068 if (wells[i].isPointInWell(p)) 00069 { 00070 node.index=cell->index(); 00071 node.values=wells[i].getTransportBC(); 00072 } 00073 } 00074 } 00075 }
| void FixedValueCondition::applyConditions | ( | ArrayOfVecDouble & | v | ) |
| void FixedValueCondition::applyConditions | ( | VecDouble & | v | ) |
Definition at line 4 of file fixedvaluecondition.cpp.
std::vector<Node> FixedValueCondition::data [private] |
Definition at line 18 of file fixedvaluecondition.h.
1.6.3