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

 ~BwdTrans_NoCollection () final
 
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...
 
void operator() (int dir, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp) final
 
virtual void CheckFactors (StdRegions::FactorMap factors, int coll_phys_offset)
 Check the validity of the supplied factor map. More...
 
- Public Member Functions inherited from Nektar::Collections::Operator
 Operator (std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, std::shared_ptr< CoalescedGeomData > GeomData, StdRegions::FactorMap factors)
 Constructor. More...
 
virtual COLLECTIONS_EXPORT ~Operator ()
 
unsigned int GetWspSize ()
 Get the size of the required workspace. More...
 
unsigned int GetNumElmt ()
 Get expansion pointer. More...
 
StdRegions::StdExpansionSharedPtr GetExpSharedPtr ()
 Get expansion pointer. More...
 

Protected Attributes

vector< StdRegions::StdExpansionSharedPtrm_expList
 
- Protected Attributes inherited from Nektar::Collections::Operator
bool m_isDeformed
 
StdRegions::StdExpansionSharedPtr m_stdExp
 
unsigned int m_numElmt
 
unsigned int m_nqe
 
unsigned int m_wspSize
 

Private Member Functions

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

Detailed Description

Backward transform operator using LocalRegions implementation.

Definition at line 350 of file BwdTrans.cpp.

Constructor & Destructor Documentation

◆ ~BwdTrans_NoCollection()

Nektar::Collections::BwdTrans_NoCollection::~BwdTrans_NoCollection ( )
inlinefinal

Definition at line 355 of file BwdTrans.cpp.

356  {
357  }

◆ BwdTrans_NoCollection()

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

Definition at line 398 of file BwdTrans.cpp.

401  : Operator(pCollExp, pGeomData, factors)
402  {
403  m_expList = pCollExp;
404  }
vector< StdRegions::StdExpansionSharedPtr > m_expList
Definition: BwdTrans.cpp:395
Operator(std::vector< StdRegions::StdExpansionSharedPtr > pCollExp, std::shared_ptr< CoalescedGeomData > GeomData, StdRegions::FactorMap factors)
Constructor.
Definition: Operator.cpp:41

Member Function Documentation

◆ CheckFactors()

virtual void Nektar::Collections::BwdTrans_NoCollection::CheckFactors ( StdRegions::FactorMap  factors,
int  coll_phys_offset 
)
inlinevirtual

Check the validity of the supplied factor map.

Implements Nektar::Collections::Operator.

Definition at line 387 of file BwdTrans.cpp.

389  {
390  boost::ignore_unused(factors, coll_phys_offset);
391  ASSERTL0(false, "Not valid for this operator.");
392  }
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:216

References ASSERTL0.

◆ operator()() [1/2]

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

364  {
365  boost::ignore_unused(output1, output2, wsp);
366 
367  const int nCoeffs = m_expList[0]->GetNcoeffs();
368  const int nPhys = m_expList[0]->GetTotPoints();
369  Array<OneD, NekDouble> tmp;
370 
371  for (int i = 0; i < m_numElmt; ++i)
372  {
373  m_expList[i]->BwdTrans(input + i*nCoeffs,
374  tmp = output + i*nPhys);
375  }
376  }

◆ operator()() [2/2]

void Nektar::Collections::BwdTrans_NoCollection::operator() ( int  dir,
const Array< OneD, const NekDouble > &  input,
Array< OneD, NekDouble > &  output,
Array< OneD, NekDouble > &  wsp 
)
inlinefinalvirtual

Implements Nektar::Collections::Operator.

Definition at line 378 of file BwdTrans.cpp.

382  {
383  boost::ignore_unused(dir, input, output, wsp);
384  ASSERTL0(false, "Not valid for this operator.");
385  }

References ASSERTL0.

Member Data Documentation

◆ m_expList

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

Definition at line 395 of file BwdTrans.cpp.