Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
Nektar::LibUtilities::TimeIntegrationSchemeKey Class Reference

#include <TimeIntegrationScheme.h>

Classes

struct  opLess

Public Member Functions

 TimeIntegrationSchemeKey (const TimeIntegrationMethod &method)
virtual ~TimeIntegrationSchemeKey ()
 TimeIntegrationSchemeKey (const TimeIntegrationSchemeKey &key)
TimeIntegrationSchemeKeyoperator= (const TimeIntegrationSchemeKey &key)
TimeIntegrationMethod GetIntegrationMethod () const
bool operator== (const TimeIntegrationSchemeKey &key)
bool operator== (const TimeIntegrationSchemeKey *y)
bool operator!= (const TimeIntegrationSchemeKey &y)
bool operator!= (const TimeIntegrationSchemeKey *y)

Protected Attributes

TimeIntegrationMethod m_method
 integration method

Private Member Functions

 TimeIntegrationSchemeKey ()

Friends

bool operator== (const TimeIntegrationSchemeKey &lhs, const TimeIntegrationSchemeKey &rhs)
bool operator< (const TimeIntegrationSchemeKey &lhs, const TimeIntegrationSchemeKey &rhs)
bool opLess::operator() (const TimeIntegrationSchemeKey &lhs, const TimeIntegrationSchemeKey &rhs) const

Detailed Description

Definition at line 261 of file TimeIntegrationScheme.h.

Constructor & Destructor Documentation

Nektar::LibUtilities::TimeIntegrationSchemeKey::TimeIntegrationSchemeKey ( const TimeIntegrationMethod method)
inline

Definition at line 270 of file TimeIntegrationScheme.h.

:
m_method(method)
{
}
virtual Nektar::LibUtilities::TimeIntegrationSchemeKey::~TimeIntegrationSchemeKey ( )
inlinevirtual

Definition at line 275 of file TimeIntegrationScheme.h.

{
}
Nektar::LibUtilities::TimeIntegrationSchemeKey::TimeIntegrationSchemeKey ( const TimeIntegrationSchemeKey key)
inline

Definition at line 279 of file TimeIntegrationScheme.h.

{
*this = key; // defer to assignment operator
}
Nektar::LibUtilities::TimeIntegrationSchemeKey::TimeIntegrationSchemeKey ( )
inlineprivate

Definition at line 325 of file TimeIntegrationScheme.h.

References ErrorUtil::efatal, and NEKERROR.

{
NEKERROR(ErrorUtil::efatal,"Default Constructor for the TimeIntegrationSchemeKey class should not be called");
}

Member Function Documentation

TimeIntegrationMethod Nektar::LibUtilities::TimeIntegrationSchemeKey::GetIntegrationMethod ( ) const
inline
bool Nektar::LibUtilities::TimeIntegrationSchemeKey::operator!= ( const TimeIntegrationSchemeKey y)
inline

Definition at line 306 of file TimeIntegrationScheme.h.

{
return (!(*this == y));
}
bool Nektar::LibUtilities::TimeIntegrationSchemeKey::operator!= ( const TimeIntegrationSchemeKey y)
inline

Definition at line 311 of file TimeIntegrationScheme.h.

{
return (!(*this == *y));
}
TimeIntegrationSchemeKey& Nektar::LibUtilities::TimeIntegrationSchemeKey::operator= ( const TimeIntegrationSchemeKey key)
inline

Definition at line 284 of file TimeIntegrationScheme.h.

References m_method.

{
m_method = key.m_method;
return *this;
}
bool Nektar::LibUtilities::TimeIntegrationSchemeKey::operator== ( const TimeIntegrationSchemeKey key)
inline

Definition at line 296 of file TimeIntegrationScheme.h.

References m_method.

{
return (m_method == key.m_method);
}
bool Nektar::LibUtilities::TimeIntegrationSchemeKey::operator== ( const TimeIntegrationSchemeKey y)
inline

Definition at line 301 of file TimeIntegrationScheme.h.

{
return (*this == *y);
}

Friends And Related Function Documentation

bool operator< ( const TimeIntegrationSchemeKey lhs,
const TimeIntegrationSchemeKey rhs 
)
friend

Definition at line 58 of file TimeIntegrationScheme.cpp.

{
return (lhs.m_method < rhs.m_method);
}
bool operator== ( const TimeIntegrationSchemeKey lhs,
const TimeIntegrationSchemeKey rhs 
)
friend

Definition at line 53 of file TimeIntegrationScheme.cpp.

{
return (lhs.m_method == rhs.m_method);
}
bool opLess::operator() ( const TimeIntegrationSchemeKey lhs,
const TimeIntegrationSchemeKey rhs 
) const
friend

Member Data Documentation

TimeIntegrationMethod Nektar::LibUtilities::TimeIntegrationSchemeKey::m_method
protected