Nektar++
Public Member Functions | Protected Attributes | List of all members
Nektar::SpatialDomains::BoundaryConditionBase Struct Reference

#include <Conditions.h>

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

Public Member Functions

 BoundaryConditionBase (BoundaryConditionType type, const std::string &userDefined=std::string("NoUserDefined"), LibUtilities::CommSharedPtr comm=LibUtilities::CommSharedPtr())
 
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)
 
LibUtilities::CommSharedPtr GetComm ()
 

Protected Attributes

BoundaryConditionType m_boundaryConditionType
 
std::string m_userDefined
 
bool m_isTimeDependent
 
LibUtilities::CommSharedPtr m_comm
 

Detailed Description

Definition at line 60 of file Conditions.h.

Constructor & Destructor Documentation

◆ BoundaryConditionBase()

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

Definition at line 62 of file Conditions.h.

◆ ~BoundaryConditionBase()

virtual Nektar::SpatialDomains::BoundaryConditionBase::~BoundaryConditionBase ( )
inlinevirtual

Definition at line 71 of file Conditions.h.

71{};

Member Function Documentation

◆ GetBoundaryConditionType()

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

Definition at line 73 of file Conditions.h.

74 {
76 }

References m_boundaryConditionType.

◆ GetComm()

LibUtilities::CommSharedPtr Nektar::SpatialDomains::BoundaryConditionBase::GetComm ( )
inline

Definition at line 103 of file Conditions.h.

104 {
105 return m_comm;
106 }

References m_comm.

◆ GetUserDefined()

const std::string Nektar::SpatialDomains::BoundaryConditionBase::GetUserDefined ( ) const
inline

Definition at line 88 of file Conditions.h.

89 {
90 return m_userDefined;
91 }

References m_userDefined.

◆ IsTimeDependent()

bool Nektar::SpatialDomains::BoundaryConditionBase::IsTimeDependent ( void  )
inline

Definition at line 98 of file Conditions.h.

99 {
100 return m_isTimeDependent;
101 }

References m_isTimeDependent.

◆ SetBoundaryConditionType()

void Nektar::SpatialDomains::BoundaryConditionBase::SetBoundaryConditionType ( BoundaryConditionType  boundaryType)
inline

Definition at line 78 of file Conditions.h.

79 {
80 m_boundaryConditionType = boundaryType;
81 }

References m_boundaryConditionType.

◆ SetIsTimeDependent()

void Nektar::SpatialDomains::BoundaryConditionBase::SetIsTimeDependent ( bool  value)
inline

Definition at line 93 of file Conditions.h.

94 {
95 m_isTimeDependent = value;
96 }

References m_isTimeDependent.

◆ SetUserDefined()

void Nektar::SpatialDomains::BoundaryConditionBase::SetUserDefined ( std::string &  type)
inline

Definition at line 83 of file Conditions.h.

84 {
85 m_userDefined = type;
86 }

References m_userDefined.

Member Data Documentation

◆ m_boundaryConditionType

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

Definition at line 109 of file Conditions.h.

Referenced by GetBoundaryConditionType(), and SetBoundaryConditionType().

◆ m_comm

LibUtilities::CommSharedPtr Nektar::SpatialDomains::BoundaryConditionBase::m_comm
protected

Definition at line 112 of file Conditions.h.

Referenced by GetComm().

◆ m_isTimeDependent

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

Definition at line 111 of file Conditions.h.

Referenced by IsTimeDependent(), and SetIsTimeDependent().

◆ m_userDefined

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

Definition at line 110 of file Conditions.h.

Referenced by GetUserDefined(), and SetUserDefined().