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::TimeIntegrationAdamsMoultonOrder2 Class Reference

#include <TimeIntegrationWrapper.h>

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

Public Member Functions

virtual ~TimeIntegrationAdamsMoultonOrder2 ()
 
- 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< TimeIntegrationAdamsMoultonOrder2 >
 

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 731 of file TimeIntegrationWrapper.h.

Constructor & Destructor Documentation

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

Definition at line 748 of file TimeIntegrationWrapper.h.

748 {}

Member Function Documentation

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

Creates an instance of this class.

Definition at line 737 of file TimeIntegrationWrapper.h.

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

738  {
742  p->InitObject();
743  return p;
744  }
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
boost::shared_ptr< TimeIntegrationWrapper > TimeIntegrationWrapperSharedPtr
void Nektar::LibUtilities::TimeIntegrationAdamsMoultonOrder2::v_InitObject ( )
protectedvirtual

Reimplemented from Nektar::LibUtilities::TimeIntegrationWrapper.

Definition at line 476 of file TimeIntegrationWrapper.cpp.

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

477  {
478  TimeIntegrationSchemeKey IntKey0(eIMEXOrder1);
479  TimeIntegrationSchemeKey IntKey1(eAdamsMoultonOrder2);
481  m_intSteps = 2;
482  m_intScheme = vector<TimeIntegrationSchemeSharedPtr>(m_intSteps);
484  m_intScheme[1] = TimeIntegrationSchemeManager()[IntKey1];
485  }
TimeIntegrationSchemeManagerT & TimeIntegrationSchemeManager(void)
Adams-Moulton Forward multi-step scheme of order 2.
std::vector< TimeIntegrationSchemeSharedPtr > m_intScheme
IMEX 1st order scheme using Euler Backwards/Euler Forwards.

Friends And Related Function Documentation

Definition at line 734 of file TimeIntegrationWrapper.h.

Member Data Documentation

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

Name of class.

Definition at line 746 of file TimeIntegrationWrapper.h.