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

Backward transform operator using LocalRegions implementation. More...

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

Public Member Functions

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

Protected Attributes

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

Private Member Functions

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

Detailed Description

Backward transform operator using LocalRegions implementation.

Definition at line 223 of file BwdTrans.cpp.

Constructor & Destructor Documentation

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

Definition at line 228 of file BwdTrans.cpp.

229  {
230  }
Nektar::Collections::BwdTrans_NoCollection::BwdTrans_NoCollection ( vector< StdRegions::StdExpansionSharedPtr pCollExp,
CoalescedGeomDataSharedPtr  pGeomData 
)
inlineprivate

Definition at line 263 of file BwdTrans.cpp.

266  : Operator(pCollExp, pGeomData)
267  {
268  m_expList = pCollExp;
269  }
Operator(std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, boost::shared_ptr< CoalescedGeomData > GeomData)
Constructor.
Definition: Operator.h:112
vector< StdRegions::StdExpansionSharedPtr > m_expList
Definition: BwdTrans.cpp:260

Member Function Documentation

virtual void Nektar::Collections::BwdTrans_NoCollection::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 232 of file BwdTrans.cpp.

238  {
239  const int nCoeffs = m_expList[0]->GetNcoeffs();
240  const int nPhys = m_expList[0]->GetTotPoints();
241  Array<OneD, NekDouble> tmp;
242 
243  for (int i = 0; i < m_numElmt; ++i)
244  {
245  m_expList[i]->BwdTrans(input + i*nCoeffs,
246  tmp = output + i*nPhys);
247  }
248  }
vector< StdRegions::StdExpansionSharedPtr > m_expList
Definition: BwdTrans.cpp:260
virtual void Nektar::Collections::BwdTrans_NoCollection::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 250 of file BwdTrans.cpp.

References ASSERTL0.

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

Member Data Documentation

vector<StdRegions::StdExpansionSharedPtr> Nektar::Collections::BwdTrans_NoCollection::m_expList
protected

Definition at line 260 of file BwdTrans.cpp.