Nektar++
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TestPhysDerivFFTInterleaved< TData > Class Template Reference

As TestPhysDerivFFT, applied to the input interleaved at the vector width of the execution space, its blocks padded to that width. More...

#include <TestPhysDeriv.hpp>

Inheritance diagram for TestPhysDerivFFTInterleaved< TData >:
[legend]

Public Member Functions

 TestPhysDerivFFTInterleaved ()=default
 
void RunTestCase ()
 
- Public Member Functions inherited from TestPhysDerivFFT< TData >
 TestPhysDerivFFT ()=default
 
- Public Member Functions inherited from TestPhysDeriv< TData >
 TestPhysDeriv ()=default
 
void SetFixture (const unsigned int nhomo) override
 
void RunTestCase ()
 
void SetTestCase ()
 
void ExpectedSolution ()
 
- Public Member Functions inherited from TestOp< TData, FieldState::Phys, FieldState::Phys >
 TestOp ()=default
 
virtual ~TestOp ()
 
void Configure (void)
 
void Configure3DH1 (const unsigned int nhomo=1)
 
void Configure3DH2 (const unsigned int nhomoY=1, const unsigned int nhomoZ=1)
 
void SetSession (void)
 
void SetExpList (void)
 
void SetExpList3DH1 (const unsigned int nhomo=1)
 
void SetExpList3DH2 (const unsigned int nhomoY=1, const unsigned int nhomoZ=1)
 
virtual bool Compare (TData tol)
 Compare this field to another field, with absolute tolerance tol. The two must have the same blocks and components; their interleave widths may differ.
 

Additional Inherited Members

- Static Public Member Functions inherited from TestOp< TData, FieldState::Phys, FieldState::Phys >
static void MixInterleaveWidths (TField &field)
 Put the blocks of field at alternating interleave widths, the execution space's vector width on even blocks and 1 on odd ones, reshaping the data in place: a field whose blocks differ in width, for an operator that must read any mix, such as the trace flux, which addresses each trace at the width of the element block it lies in. On Serial every width is 1 and nothing changes.
 
- Protected Attributes inherited from TestPhysDeriv< TData >
unsigned int m_coordDim
 Direction components the field carries: three on a multi-plane 3DH1 expansion, where the homogeneous direction adds one the planes themselves do not count, and the plane's own dimension otherwise.
 
- Protected Attributes inherited from TestOp< TData, FieldState::Phys, FieldState::Phys >
std::string meshName
 
Field< TData, stateIn > * fixt_in
 
Field< TData, stateOut > * fixt_out
 
Field< TData, stateIn > * fixt_out_2
 
Field< TData, stateOut > * fixt_expected
 
std::shared_ptr< MultiRegions::ExpList > fixt_explist
 
LibUtilities::SessionReaderSharedPtr session
 

Detailed Description

template<typename TData>
class TestPhysDerivFFTInterleaved< TData >

As TestPhysDerivFFT, applied to the input interleaved at the vector width of the execution space, its blocks padded to that width.

Definition at line 346 of file TestPhysDeriv.hpp.

Constructor & Destructor Documentation

◆ TestPhysDerivFFTInterleaved()

template<typename TData >
TestPhysDerivFFTInterleaved< TData >::TestPhysDerivFFTInterleaved ( )
default

Member Function Documentation

◆ RunTestCase()

template<typename TData >
void TestPhysDerivFFTInterleaved< TData >::RunTestCase ( )
inline

Definition at line 351 of file TestPhysDeriv.hpp.

352 {
353 const std::string execStr(GlobalConfiguration::ExecStr());
354 this->fixt_in->ReshapeStorage(
355 NektarSpaces::GetVectorWidth<TData>(execStr), execStr);
357 }
void ReshapeStorage(const unsigned int &interleaveWidth, const std::string &execSpace)

References TestPhysDeriv< TData >::RunTestCase().