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 267 of file TimeIntegrationScheme.h.

Constructor & Destructor Documentation

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

Definition at line 276 of file TimeIntegrationScheme.h.

276  :
277  m_method(method)
278  {
279  }
TimeIntegrationMethod m_method
integration method
virtual Nektar::LibUtilities::TimeIntegrationSchemeKey::~TimeIntegrationSchemeKey ( )
inlinevirtual

Definition at line 281 of file TimeIntegrationScheme.h.

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

Definition at line 285 of file TimeIntegrationScheme.h.

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

Definition at line 331 of file TimeIntegrationScheme.h.

References ErrorUtil::efatal, and NEKERROR.

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

Member Function Documentation

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

Definition at line 312 of file TimeIntegrationScheme.h.

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

Definition at line 317 of file TimeIntegrationScheme.h.

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

Definition at line 290 of file TimeIntegrationScheme.h.

References m_method.

291  {
292  m_method = key.m_method;
293 
294  return *this;
295  }
TimeIntegrationMethod m_method
integration method
bool Nektar::LibUtilities::TimeIntegrationSchemeKey::operator== ( const TimeIntegrationSchemeKey key)
inline

Definition at line 302 of file TimeIntegrationScheme.h.

References m_method.

303  {
304  return (m_method == key.m_method);
305  }
TimeIntegrationMethod m_method
integration method
bool Nektar::LibUtilities::TimeIntegrationSchemeKey::operator== ( const TimeIntegrationSchemeKey y)
inline

Definition at line 307 of file TimeIntegrationScheme.h.

308  {
309  return (*this == *y);
310  }

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