Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Member Functions | List of all members
Nektar::Collections::BwdTrans_IterPerExp Class Reference

Backward transform operator using default StdRegions operator. More...

Inheritance diagram for Nektar::Collections::BwdTrans_IterPerExp:
Inheritance graph
[legend]
Collaboration diagram for Nektar::Collections::BwdTrans_IterPerExp:
Collaboration graph
[legend]

Public Member Functions

virtual ~BwdTrans_IterPerExp ()
 
virtual void operator() (const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &output1, Array< OneD, NekDouble > &output2, Array< OneD, NekDouble > &wsp)
 Perform operation. More...
 
virtual void operator() (int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
 
- Public Member Functions inherited from Nektar::Collections::Operator
 Operator (std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, boost::shared_ptr< CoalescedGeomData > GeomData)
 Constructor. More...
 
virtual COLLECTIONS_EXPORT ~Operator ()
 
int GetWspSize ()
 Get the size of the required workspace. More...
 

Private Member Functions

 BwdTrans_IterPerExp (vector< StdRegions::StdExpansionSharedPtr > pCollExp, CoalescedGeomDataSharedPtr pGeomData)
 

Additional Inherited Members

- Protected Attributes inherited from Nektar::Collections::Operator
StdRegions::StdExpansionSharedPtr m_stdExp
 
unsigned int m_numElmt
 
unsigned int m_wspSize
 

Detailed Description

Backward transform operator using default StdRegions operator.

Definition at line 141 of file BwdTrans.cpp.

Constructor & Destructor Documentation

virtual Nektar::Collections::BwdTrans_IterPerExp::~BwdTrans_IterPerExp ( )
inlinevirtual

Definition at line 146 of file BwdTrans.cpp.

147  {
148  }
Nektar::Collections::BwdTrans_IterPerExp::BwdTrans_IterPerExp ( vector< StdRegions::StdExpansionSharedPtr pCollExp,
CoalescedGeomDataSharedPtr  pGeomData 
)
inlineprivate

Definition at line 177 of file BwdTrans.cpp.

180  : Operator(pCollExp, pGeomData)
181  {
182  }
Operator(std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, boost::shared_ptr< CoalescedGeomData > GeomData)
Constructor.
Definition: Operator.h:112

Member Function Documentation

virtual void Nektar::Collections::BwdTrans_IterPerExp::operator() ( const Array< OneD, const NekDouble > &  input,
Array< OneD, NekDouble > &  output0,
Array< OneD, NekDouble > &  output1,
Array< OneD, NekDouble > &  output2,
Array< OneD, NekDouble > &  wsp 
)
inlinevirtual

Perform operation.

Implements Nektar::Collections::Operator.

Definition at line 150 of file BwdTrans.cpp.

156  {
157  const int nCoeffs = m_stdExp->GetNcoeffs();
158  const int nPhys = m_stdExp->GetTotPoints();
159  Array<OneD, NekDouble> tmp;
160 
161  for (int i = 0; i < m_numElmt; ++i)
162  {
163  m_stdExp->BwdTrans(input + i*nCoeffs, tmp = output + i*nPhys);
164  }
165  }
StdRegions::StdExpansionSharedPtr m_stdExp
Definition: Operator.h:146
virtual void Nektar::Collections::BwdTrans_IterPerExp::operator() ( int  dir,
const Array< OneD, const NekDouble > &  input,
Array< OneD, NekDouble > &  output,
Array< OneD, NekDouble > &  wsp 
)
inlinevirtual

Implements Nektar::Collections::Operator.

Definition at line 167 of file BwdTrans.cpp.

References ASSERTL0.

172  {
173  ASSERTL0(false, "Not valid for this operator.");
174  }
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:198