36 #ifndef FLOWSOLVER_HPP_ 37 #define FLOWSOLVER_HPP_ 40 #include "SmartPointers.hpp" 41 #include "VesselNetwork.hpp" 43 #include "VesselNode.hpp" 44 #include "LinearSystem.hpp" 51 template<
unsigned DIM>
61 std::vector<boost::shared_ptr<VesselNode<DIM> > >
mNodes;
67 std::vector<boost::shared_ptr<Vessel<DIM> > >
mVessels;
125 static boost::shared_ptr<FlowSolver<DIM> >
Create();
154 void Update(
bool runSetup=
false);
std::vector< boost::shared_ptr< VesselNode< DIM > > > mNodes
std::vector< unsigned > mBoundaryConditionNodeIndices
void SetUseDirectSolver(bool useDirectSolver)
boost::shared_ptr< LinearSystem > mpLinearSystem
static boost::shared_ptr< FlowSolver< DIM > > Create()
std::vector< std::vector< unsigned > > mNodeVesselConnectivity
boost::shared_ptr< VesselNetwork< DIM > > mpVesselNetwork
std::vector< unsigned > mUnconnectedNodeIndices
std::vector< boost::shared_ptr< Vessel< DIM > > > mVessels
void SetVesselNetwork(boost::shared_ptr< VesselNetwork< DIM > > pVesselNetwork)
std::vector< std::vector< unsigned > > mNodeNodeConnectivity
void Update(bool runSetup=false)