Nektar++
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:
[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, std::shared_ptr< CoalescedGeomData > GeomData)
 Constructor. More...
 
virtual COLLECTIONS_EXPORT ~Operator ()
 
int GetWspSize ()
 Get the size of the required workspace. More...
 

Protected Attributes

vector< StdRegions::StdExpansionSharedPtrm_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 231 of file BwdTrans.cpp.

Constructor & Destructor Documentation

◆ ~BwdTrans_NoCollection()

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

Definition at line 236 of file BwdTrans.cpp.

237  {
238  }

◆ BwdTrans_NoCollection()

Nektar::Collections::BwdTrans_NoCollection::BwdTrans_NoCollection ( vector< StdRegions::StdExpansionSharedPtr pCollExp,
CoalescedGeomDataSharedPtr  pGeomData 
)
inlineprivate

Member Function Documentation

◆ operator()() [1/2]

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 240 of file BwdTrans.cpp.

246  {
247  boost::ignore_unused(output1, output2, wsp);
248 
249  const int nCoeffs = m_expList[0]->GetNcoeffs();
250  const int nPhys = m_expList[0]->GetTotPoints();
251  Array<OneD, NekDouble> tmp;
252 
253  for (int i = 0; i < m_numElmt; ++i)
254  {
255  m_expList[i]->BwdTrans(input + i*nCoeffs,
256  tmp = output + i*nPhys);
257  }
258  }
vector< StdRegions::StdExpansionSharedPtr > m_expList
Definition: BwdTrans.cpp:271

◆ operator()() [2/2]

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 260 of file BwdTrans.cpp.

References ASSERTL0.

265  {
266  boost::ignore_unused(dir, input, output, wsp);
267  ASSERTL0(false, "Not valid for this operator.");
268  }
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:216

Member Data Documentation

◆ m_expList

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

Definition at line 271 of file BwdTrans.cpp.