36 #ifndef NEKTAR_SPATIALDOMAINS_BOUNDARYCONDITIONS_H
37 #define NEKTAR_SPATIALDOMAINS_BOUNDARYCONDITIONS_H
51 namespace SpatialDomains
66 const std::string &userDefined
67 = std::string(
"NoUserDefined")):
119 const std::string& eqn,
120 const std::string& userDefined = std::string(
"NoUserDefined"),
121 const std::string& filename=std::string(
"")):
138 const std::string& eqn,
139 const std::string& userDefined = std::string(
"NoUserDefined"),
140 const std::string& filename=std::string(
"")):
155 const std::string &a,
156 const std::string &b,
157 const std::string &userDefined = std::string(
"NoUserDefined"),
158 const std::string& filename=std::string(
"")):
189 const std::string& eqn,
190 const std::string& userDefined = std::string(
"NoUserDefined"),
191 const std::string& filename=std::string(
"")):
264 void Read(TiXmlElement *conditions);
270 typedef boost::shared_ptr<BoundaryConditions>
275 #endif //NEKTAR_SPATIALDOMAINS_BOUNDARYCONDITIONS_H
NotDefinedBoundaryCondition(const LibUtilities::SessionReaderSharedPtr &pSession, const std::string &eqn, const std::string &userDefined=std::string("NoUserDefined"), const std::string &filename=std::string(""))
RobinBoundaryCondition(const LibUtilities::SessionReaderSharedPtr &pSession, const std::string &a, const std::string &b, const std::string &userDefined=std::string("NoUserDefined"), const std::string &filename=std::string(""))
BoundaryRegionCollection m_boundaryRegions
void SetIsTimeDependent(bool value)
void AddBoundaryRegions(const int regionID, BoundaryRegionShPtr &bRegion)
const BoundaryConditionCollection & GetBoundaryConditions(void) const
static const Array< OneD, BoundaryConditionShPtr > NullBoundaryConditionShPtrArray
boost::shared_ptr< const BoundaryRegion > ConstBoundaryRegionShPtr
DirichletBoundaryCondition(const LibUtilities::SessionReaderSharedPtr &pSession, const std::string &eqn, const std::string &userDefined=std::string("NoUserDefined"), const std::string &filename=std::string(""))
boost::shared_ptr< NeumannBoundaryCondition > NeumannBCShPtr
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
unsigned int m_connectedBoundaryRegion
NeumannBoundaryCondition(const LibUtilities::SessionReaderSharedPtr &pSession, const std::string &eqn, const std::string &userDefined=std::string("NoUserDefined"), const std::string &filename=std::string(""))
const std::string GetVariable(unsigned int indx)
BoundaryConditionType m_boundaryConditionType
boost::shared_ptr< DirichletBoundaryCondition > DirichletBCShPtr
LibUtilities::Equation m_notDefinedCondition
bool IsTimeDependent(void)
LibUtilities::Equation m_dirichletCondition
std::string m_userDefined
PeriodicBoundaryCondition(const unsigned int n)
std::map< int, BoundaryRegionShPtr > BoundaryRegionCollection
std::map< std::string, BoundaryConditionShPtr > BoundaryConditionMap
std::map< int, BoundaryConditionMapShPtr > BoundaryConditionCollection
void SetUserDefined(std::string &type)
LibUtilities::Equation m_robinPrimitiveCoeff
std::map< int, Composite > BoundaryRegion
virtual ~BoundaryConditionBase()
void ReadBoundaryRegions(TiXmlElement *regions)
void Read(TiXmlElement *conditions)
Read segments (and general MeshGraph) given TiXmlDocument.
void SetBoundaryConditionType(BoundaryConditionType boundaryType)
boost::shared_ptr< BoundaryConditionMap > BoundaryConditionMapShPtr
LibUtilities::Equation m_neumannCondition
LibUtilities::SessionReaderSharedPtr m_session
BoundaryConditionCollection m_boundaryConditions
boost::shared_ptr< BoundaryConditions > BoundaryConditionsSharedPtr
~BoundaryConditions(void)
BoundaryConditionType GetBoundaryConditionType() const
MeshGraphSharedPtr m_meshGraph
The mesh graph to use for referencing geometry info.
const BoundaryRegionCollection & GetBoundaryRegions(void) const
void AddBoundaryConditions(const int regionID, BoundaryConditionMapShPtr &bCond)
boost::shared_ptr< BoundaryConditionBase > BoundaryConditionShPtr
BoundaryConditionBase(BoundaryConditionType type, const std::string &userDefined=std::string("NoUserDefined"))
void ReadBoundaryConditions(TiXmlElement *conditions)
boost::shared_ptr< MeshGraph > MeshGraphSharedPtr
boost::shared_ptr< BoundaryRegion > BoundaryRegionShPtr
const std::string GetUserDefined() const
#define SPATIAL_DOMAINS_EXPORT
boost::shared_ptr< RobinBoundaryCondition > RobinBCShPtr
LibUtilities::Equation m_robinFunction