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

#include <TimeIntegrationWrapper.h>

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

Public Member Functions

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

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

Constructor & Destructor Documentation

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

Definition at line 817 of file TimeIntegrationWrapper.h.

817 {}

Member Function Documentation

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

Creates an instance of this class.

Definition at line 807 of file TimeIntegrationWrapper.h.

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

808  {
811  p->InitObject();
812  return p;
813  }
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
boost::shared_ptr< TimeIntegrationWrapper > TimeIntegrationWrapperSharedPtr
void Nektar::LibUtilities::TimeIntegrationMCNAB::v_InitObject ( )
protectedvirtual

Reimplemented from Nektar::LibUtilities::TimeIntegrationWrapper.

Definition at line 529 of file TimeIntegrationWrapper.cpp.

References Nektar::LibUtilities::eIMEXdirk_3_4_3, Nektar::LibUtilities::eMCNAB, Nektar::LibUtilities::TimeIntegrationWrapper::m_intScheme, Nektar::LibUtilities::TimeIntegrationWrapper::m_intSteps, Nektar::LibUtilities::TimeIntegrationWrapper::m_method, and Nektar::LibUtilities::TimeIntegrationSchemeManager().

530  {
531  TimeIntegrationSchemeKey IntKey0(eIMEXdirk_3_4_3);
532  TimeIntegrationSchemeKey IntKey1(eIMEXdirk_3_4_3);
533  TimeIntegrationSchemeKey IntKey2(eMCNAB);
534  m_method = eMCNAB;
535  m_intSteps = 3;
536  m_intScheme = vector<TimeIntegrationSchemeSharedPtr>(m_intSteps);
538  m_intScheme[1] = TimeIntegrationSchemeManager()[IntKey1];
539  m_intScheme[2] = TimeIntegrationSchemeManager()[IntKey2];
540  }
TimeIntegrationSchemeManagerT & TimeIntegrationSchemeManager(void)
L-stable, three stage, third order IMEX DIRK(3,4,3)
std::vector< TimeIntegrationSchemeSharedPtr > m_intScheme
Modified Crank-Nicolson/Adams-Bashforth Order 2 (MCNAB)

Friends And Related Function Documentation

friend class MemoryManager< TimeIntegrationMCNAB >
friend

Definition at line 804 of file TimeIntegrationWrapper.h.

Member Data Documentation

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

Name of class.

Definition at line 815 of file TimeIntegrationWrapper.h.