Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
Nektar::SpatialDomains::BoundaryConditionBase Struct Reference

#include <Conditions.h>

Inheritance diagram for Nektar::SpatialDomains::BoundaryConditionBase:
Inheritance graph
[legend]
Collaboration diagram for Nektar::SpatialDomains::BoundaryConditionBase:
Collaboration graph
[legend]

Public Member Functions

 BoundaryConditionBase (BoundaryConditionType type, const std::string &userDefined=std::string("NoUserDefined"))
 
virtual ~BoundaryConditionBase ()
 
BoundaryConditionType GetBoundaryConditionType () const
 
void SetBoundaryConditionType (BoundaryConditionType boundaryType)
 
void SetUserDefined (std::string &type)
 
const std::string GetUserDefined () const
 
void SetIsTimeDependent (bool value)
 
bool IsTimeDependent (void)
 

Protected Attributes

BoundaryConditionType m_boundaryConditionType
 
std::string m_userDefined
 
bool m_isTimeDependent
 

Detailed Description

Definition at line 62 of file Conditions.h.

Constructor & Destructor Documentation

Nektar::SpatialDomains::BoundaryConditionBase::BoundaryConditionBase ( BoundaryConditionType  type,
const std::string &  userDefined = std::string("NoUserDefined") 
)
inline

Definition at line 64 of file Conditions.h.

67  :
69  m_userDefined(userDefined),
70  m_isTimeDependent(false)
71  {
72  }
virtual Nektar::SpatialDomains::BoundaryConditionBase::~BoundaryConditionBase ( )
inlinevirtual

Definition at line 74 of file Conditions.h.

75  {};

Member Function Documentation

BoundaryConditionType Nektar::SpatialDomains::BoundaryConditionBase::GetBoundaryConditionType ( ) const
inline

Definition at line 77 of file Conditions.h.

References m_boundaryConditionType.

78  {
80  }
const std::string Nektar::SpatialDomains::BoundaryConditionBase::GetUserDefined ( ) const
inline

Definition at line 92 of file Conditions.h.

References m_userDefined.

93  {
94  return m_userDefined;
95  }
bool Nektar::SpatialDomains::BoundaryConditionBase::IsTimeDependent ( void  )
inline

Definition at line 102 of file Conditions.h.

References m_isTimeDependent.

103  {
104  return m_isTimeDependent;
105  }
void Nektar::SpatialDomains::BoundaryConditionBase::SetBoundaryConditionType ( BoundaryConditionType  boundaryType)
inline

Definition at line 82 of file Conditions.h.

References m_boundaryConditionType.

83  {
84  m_boundaryConditionType = boundaryType;
85  }
void Nektar::SpatialDomains::BoundaryConditionBase::SetIsTimeDependent ( bool  value)
inline

Definition at line 97 of file Conditions.h.

References m_isTimeDependent.

98  {
99  m_isTimeDependent = value;
100  }
void Nektar::SpatialDomains::BoundaryConditionBase::SetUserDefined ( std::string &  type)
inline

Definition at line 87 of file Conditions.h.

References m_userDefined.

88  {
89  m_userDefined = type;
90  }

Member Data Documentation

BoundaryConditionType Nektar::SpatialDomains::BoundaryConditionBase::m_boundaryConditionType
protected

Definition at line 108 of file Conditions.h.

Referenced by GetBoundaryConditionType(), and SetBoundaryConditionType().

bool Nektar::SpatialDomains::BoundaryConditionBase::m_isTimeDependent
protected

Definition at line 110 of file Conditions.h.

Referenced by IsTimeDependent(), and SetIsTimeDependent().

std::string Nektar::SpatialDomains::BoundaryConditionBase::m_userDefined
protected

Definition at line 109 of file Conditions.h.

Referenced by GetUserDefined(), and SetUserDefined().