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

#include <TimeIntegrationWrapper.h>

Inheritance diagram for Nektar::LibUtilities::TimeIntegrationIMEXOrder2:
Inheritance graph
[legend]
Collaboration diagram for Nektar::LibUtilities::TimeIntegrationIMEXOrder2:
Collaboration graph
[legend]

Public Member Functions

virtual ~TimeIntegrationIMEXOrder2 ()
 
- Public Member Functions inherited from Nektar::LibUtilities::TimeIntegrationWrapper
virtual ~TimeIntegrationWrapper ()
 
void InitObject ()
 
TimeIntegrationSolutionSharedPtr InitializeScheme (const NekDouble timestep, TimeIntegrationScheme::ConstDoubleArray &y_0, const NekDouble time, const TimeIntegrationSchemeOperators &op)
 
TimeIntegrationScheme::ConstDoubleArrayTimeIntegrate (const int timestep, const NekDouble delta_t, TimeIntegrationSolutionSharedPtr &solvector, const TimeIntegrationSchemeOperators &op)
 
TimeIntegrationMethod GetIntegrationMethod ()
 
unsigned int GetIntegrationSteps ()
 

Static Public Member Functions

static
TimeIntegrationWrapperSharedPtr 
create ()
 Creates an instance of this class. More...
 

Static Public Attributes

static std::string className
 Name of class. More...
 

Protected Member Functions

virtual void v_InitObject ()
 
- Protected Member Functions inherited from Nektar::LibUtilities::TimeIntegrationWrapper
 TimeIntegrationWrapper ()
 Constructor. More...
 

Friends

class MemoryManager< TimeIntegrationIMEXOrder2 >
 

Additional Inherited Members

- Protected Attributes inherited from Nektar::LibUtilities::TimeIntegrationWrapper
TimeIntegrationMethod m_method
 
int m_intSteps
 
std::vector
< TimeIntegrationSchemeSharedPtr
m_intScheme
 

Detailed Description

Definition at line 141 of file TimeIntegrationWrapper.h.

Constructor & Destructor Documentation

virtual Nektar::LibUtilities::TimeIntegrationIMEXOrder2::~TimeIntegrationIMEXOrder2 ( )
inlinevirtual

Definition at line 157 of file TimeIntegrationWrapper.h.

157 {}

Member Function Documentation

static TimeIntegrationWrapperSharedPtr Nektar::LibUtilities::TimeIntegrationIMEXOrder2::create ( )
inlinestatic

Creates an instance of this class.

Definition at line 147 of file TimeIntegrationWrapper.h.

References Nektar::MemoryManager< DataType >::AllocateSharedPtr().

148  {
151  p->InitObject();
152  return p;
153  }
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
boost::shared_ptr< TimeIntegrationWrapper > TimeIntegrationWrapperSharedPtr
void Nektar::LibUtilities::TimeIntegrationIMEXOrder2::v_InitObject ( )
protectedvirtual

Reimplemented from Nektar::LibUtilities::TimeIntegrationWrapper.

Definition at line 82 of file TimeIntegrationWrapper.cpp.

References Nektar::LibUtilities::eIMEXOrder1, Nektar::LibUtilities::eIMEXOrder2, Nektar::LibUtilities::TimeIntegrationWrapper::m_intScheme, Nektar::LibUtilities::TimeIntegrationWrapper::m_intSteps, Nektar::LibUtilities::TimeIntegrationWrapper::m_method, and Nektar::LibUtilities::TimeIntegrationSchemeManager().

83  {
84  TimeIntegrationSchemeKey IntKey0(eIMEXOrder1);
85  TimeIntegrationSchemeKey IntKey1(eIMEXOrder2);
87  m_intSteps = 2;
88  m_intScheme = vector<TimeIntegrationSchemeSharedPtr>(m_intSteps);
90  m_intScheme[1] = TimeIntegrationSchemeManager()[IntKey1];
91  }
TimeIntegrationSchemeManagerT & TimeIntegrationSchemeManager(void)
IMEX 2nd order scheme using Backward Different Formula & Extrapolation.
std::vector< TimeIntegrationSchemeSharedPtr > m_intScheme
IMEX 1st order scheme using Euler Backwards/Euler Forwards.

Friends And Related Function Documentation

friend class MemoryManager< TimeIntegrationIMEXOrder2 >
friend

Definition at line 144 of file TimeIntegrationWrapper.h.

Member Data Documentation

string Nektar::LibUtilities::TimeIntegrationIMEXOrder2::className
static
Initial value:

Name of class.

Definition at line 155 of file TimeIntegrationWrapper.h.