35#ifndef NEKTAR_SPATIALDOMAINS_BOUNDARYCONDITIONS_H
36#define NEKTAR_SPATIALDOMAINS_BOUNDARYCONDITIONS_H
49namespace SpatialDomains
64 const std::string &userDefined = std::string(
"NoUserDefined"),
120 const std::string &eqn,
121 const std::string &userDefined = std::string(
"NoUserDefined"),
122 const std::string &filename = std::string(
""),
139 const std::string &eqn,
140 const std::string &userDefined = std::string(
"NoUserDefined"),
141 const std::string &filename = std::string(
""),
157 const std::string &a,
const std::string &b,
158 const std::string &userDefined = std::string(
"NoUserDefined"),
159 const std::string &filename = std::string(
""),
177 const unsigned int n,
178 const std::string &userDefined = std::string(
"NoUserDefined"),
193 const std::string &eqn,
194 const std::string &userDefined = std::string(
"NoUserDefined"),
195 const std::string &filename = std::string(
""),
282 void Read(TiXmlElement *conditions);
#define SPATIAL_DOMAINS_EXPORT
const std::map< int, std::string > & GetBoundaryLabels(void) const
std::map< int, LibUtilities::CommSharedPtr > m_boundaryCommunicators
BoundaryRegionCollection m_boundaryRegions
std::map< int, LibUtilities::CommSharedPtr > GetBoundaryCommunicators() const
~BoundaryConditions(void)
void ReadBoundaryConditions(TiXmlElement *conditions)
void CreateBoundaryComms()
void Read(TiXmlElement *conditions)
Read segments (and general MeshGraph) given TiXmlDocument.
void AddBoundaryRegions(const int regionID, BoundaryRegionShPtr &bRegion)
LibUtilities::SessionReaderSharedPtr m_session
const std::string GetVariable(unsigned int indx)
BoundaryConditionCollection m_boundaryConditions
const BoundaryRegionCollection & GetBoundaryRegions(void) const
std::map< int, std::string > m_boundaryLabels
MeshGraphSharedPtr m_meshGraph
The mesh graph to use for referencing geometry info.
void ReadBoundaryRegions(TiXmlElement *regions)
const BoundaryConditionCollection & GetBoundaryConditions(void) const
void AddBoundaryConditions(const int regionID, BoundaryConditionMapShPtr &bCond)
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< Comm > CommSharedPtr
Pointer to a Communicator object.
std::map< int, CompositeSharedPtr > BoundaryRegion
std::map< int, BoundaryRegionShPtr > BoundaryRegionCollection
std::shared_ptr< BoundaryRegion > BoundaryRegionShPtr
std::shared_ptr< BoundaryConditions > BoundaryConditionsSharedPtr
std::shared_ptr< BoundaryConditionBase > BoundaryConditionShPtr
std::map< std::string, BoundaryConditionShPtr > BoundaryConditionMap
std::shared_ptr< DirichletBoundaryCondition > DirichletBCShPtr
std::map< int, BoundaryConditionMapShPtr > BoundaryConditionCollection
std::shared_ptr< const BoundaryRegion > ConstBoundaryRegionShPtr
static const Array< OneD, BoundaryConditionShPtr > NullBoundaryConditionShPtrArray
std::shared_ptr< MeshGraph > MeshGraphSharedPtr
std::shared_ptr< NeumannBoundaryCondition > NeumannBCShPtr
std::shared_ptr< BoundaryConditionMap > BoundaryConditionMapShPtr
std::shared_ptr< RobinBoundaryCondition > RobinBCShPtr
void SetUserDefined(std::string &type)
void SetIsTimeDependent(bool value)
BoundaryConditionType GetBoundaryConditionType() const
void SetBoundaryConditionType(BoundaryConditionType boundaryType)
virtual ~BoundaryConditionBase()
const std::string GetUserDefined() const
BoundaryConditionType m_boundaryConditionType
std::string m_userDefined
bool IsTimeDependent(void)
LibUtilities::CommSharedPtr m_comm
BoundaryConditionBase(BoundaryConditionType type, const std::string &userDefined=std::string("NoUserDefined"), LibUtilities::CommSharedPtr comm=LibUtilities::CommSharedPtr())
LibUtilities::CommSharedPtr GetComm()
LibUtilities::Equation m_dirichletCondition
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())
LibUtilities::Equation m_neumannCondition
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())
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())
LibUtilities::Equation m_notDefinedCondition
unsigned int m_connectedBoundaryRegion
PeriodicBoundaryCondition(const unsigned int n, const std::string &userDefined=std::string("NoUserDefined"), const LibUtilities::CommSharedPtr comm=LibUtilities::CommSharedPtr())
LibUtilities::Equation m_robinFunction
LibUtilities::Equation m_robinPrimitiveCoeff
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())