36 #ifndef NEKTAR_SPATIALDOMAINS_BOUNDARYCONDITIONS_H
37 #define NEKTAR_SPATIALDOMAINS_BOUNDARYCONDITIONS_H
51 namespace SpatialDomains
66 const std::string &userDefined
67 = std::string(
"NoUserDefined")):
118 const std::string& eqn,
119 const std::string& userDefined = std::string(
"NoUserDefined"),
120 const std::string& filename=std::string(
""),
140 const std::string& eqn,
141 const std::string& userDefined = std::string(
"NoUserDefined"),
142 const std::string& filename=std::string(
""),
160 const std::string &a,
161 const std::string &b,
162 const std::string &userDefined = std::string(
"NoUserDefined"),
163 const std::string& filename=std::string(
""),
197 const std::string& eqn,
198 const std::string& userDefined = std::string(
"NoUserDefined"),
199 const std::string& filename=std::string(
""),
276 void Read(TiXmlElement *conditions);
283 typedef boost::shared_ptr<BoundaryConditions>
288 #endif //NEKTAR_SPATIALDOMAINS_BOUNDARYCONDITIONS_H
LibUtilities::CommSharedPtr m_comm
BoundaryRegionCollection m_boundaryRegions
void SetIsTimeDependent(bool value)
LibUtilities::CommSharedPtr m_comm
void AddBoundaryRegions(const int regionID, BoundaryRegionShPtr &bRegion)
const BoundaryConditionCollection & GetBoundaryConditions(void) const
static const Array< OneD, BoundaryConditionShPtr > NullBoundaryConditionShPtrArray
boost::shared_ptr< const BoundaryRegion > ConstBoundaryRegionShPtr
NeumannBoundaryCondition(const LibUtilities::SessionReaderSharedPtr &pSession, const std::string &eqn, const std::string &userDefined=std::string("NoUserDefined"), const std::string &filename=std::string(""), const LibUtilities::CommSharedPtr comm=LibUtilities::CommSharedPtr())
void CreateBoundaryComms()
LibUtilities::CommSharedPtr m_comm
NotDefinedBoundaryCondition(const LibUtilities::SessionReaderSharedPtr &pSession, const std::string &eqn, const std::string &userDefined=std::string("NoUserDefined"), const std::string &filename=std::string(""), const LibUtilities::CommSharedPtr comm=LibUtilities::CommSharedPtr())
boost::shared_ptr< NeumannBoundaryCondition > NeumannBCShPtr
std::map< int, LibUtilities::CommSharedPtr > m_boundaryCommunicators
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
unsigned int m_connectedBoundaryRegion
const std::string GetVariable(unsigned int indx)
BoundaryConditionType m_boundaryConditionType
LibUtilities::CommSharedPtr m_comm
boost::shared_ptr< DirichletBoundaryCondition > DirichletBCShPtr
LibUtilities::Equation m_notDefinedCondition
boost::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
bool IsTimeDependent(void)
LibUtilities::Equation m_dirichletCondition
std::string m_userDefined
PeriodicBoundaryCondition(const unsigned int n)
std::map< int, BoundaryRegionShPtr > BoundaryRegionCollection
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(""), const LibUtilities::CommSharedPtr comm=LibUtilities::CommSharedPtr())
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
DirichletBoundaryCondition(const LibUtilities::SessionReaderSharedPtr &pSession, const std::string &eqn, const std::string &userDefined=std::string("NoUserDefined"), const std::string &filename=std::string(""), const LibUtilities::CommSharedPtr comm=LibUtilities::CommSharedPtr())
const std::string GetUserDefined() const
#define SPATIAL_DOMAINS_EXPORT
boost::shared_ptr< RobinBoundaryCondition > RobinBCShPtr
LibUtilities::Equation m_robinFunction