36 #ifndef STOKESFLOWPROBLEMDEFINITION_HPP_
37 #define STOKESFLOWPROBLEMDEFINITION_HPP_
39 #include "ContinuumMechanicsProblemDefinition.hpp"
47 template<
unsigned DIM>
87 EXCEPTION(
"Viscosity hasn't been set yet (for the Stokes' flow problem)");
112 void SetPrescribedFlowNodes(std::vector<unsigned>& rPrescribedFlowNodes, std::vector<c_vector<double,DIM> >& rPrescribedFlow)
114 assert(rPrescribedFlowNodes.size()==rPrescribedFlow.size());
131 #endif // STOKESFLOWPROBLEMDEFINITION_HPP_
virtual ~StokesFlowProblemDefinition()
void SetViscosity(double mu)
std::vector< unsigned > mDirichletNodes
void SetPrescribedFlowNodes(std::vector< unsigned > &rPrescribedFlowNodes, std::vector< c_vector< double, DIM > > &rPrescribedFlow)
#define EXCEPTION(message)
void SetZeroDirichletNodes(std::vector< unsigned > &rZeroDirichletNodes)
std::vector< c_vector< double, DIM > > mDirichletNodeValues
void SetZeroFlowNodes(std::vector< unsigned > &rZeroFlowNodes)
StokesFlowProblemDefinition(AbstractTetrahedralMesh< DIM, DIM > &rMesh)