Nektar++
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 More...
 

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.

270  :
271  m_method(method)
272  {
273  }
TimeIntegrationMethod m_method
integration method
virtual Nektar::LibUtilities::TimeIntegrationSchemeKey::~TimeIntegrationSchemeKey ( )
inlinevirtual

Definition at line 275 of file TimeIntegrationScheme.h.

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

Definition at line 279 of file TimeIntegrationScheme.h.

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

Definition at line 325 of file TimeIntegrationScheme.h.

References ErrorUtil::efatal, and NEKERROR.

326  {
327  NEKERROR(ErrorUtil::efatal,"Default Constructor for the TimeIntegrationSchemeKey class should not be called");
328  }
#define NEKERROR(type, msg)
Assert Level 0 – Fundamental assert which is used whether in FULLDEBUG, DEBUG or OPT compilation mod...
Definition: ErrorUtil.hpp:132

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.

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

Definition at line 311 of file TimeIntegrationScheme.h.

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

Definition at line 284 of file TimeIntegrationScheme.h.

References m_method.

285  {
286  m_method = key.m_method;
287 
288  return *this;
289  }
TimeIntegrationMethod m_method
integration method
bool Nektar::LibUtilities::TimeIntegrationSchemeKey::operator== ( const TimeIntegrationSchemeKey key)
inline

Definition at line 296 of file TimeIntegrationScheme.h.

References m_method.

297  {
298  return (m_method == key.m_method);
299  }
TimeIntegrationMethod m_method
integration method
bool Nektar::LibUtilities::TimeIntegrationSchemeKey::operator== ( const TimeIntegrationSchemeKey y)
inline

Definition at line 301 of file TimeIntegrationScheme.h.

302  {
303  return (*this == *y);
304  }

Friends And Related Function Documentation

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

Definition at line 58 of file TimeIntegrationScheme.cpp.

59  {
60  return (lhs.m_method < rhs.m_method);
61  }
StandardMatrixTag & lhs
bool operator== ( const TimeIntegrationSchemeKey lhs,
const TimeIntegrationSchemeKey rhs 
)
friend

Definition at line 53 of file TimeIntegrationScheme.cpp.

54  {
55  return (lhs.m_method == rhs.m_method);
56  }
StandardMatrixTag & lhs
bool opLess::operator() ( const TimeIntegrationSchemeKey lhs,
const TimeIntegrationSchemeKey rhs 
) const
friend

Member Data Documentation

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