|
Nektar++
|
#include <TestPhysTraceExtractBndCond.hpp>
Public Member Functions | |
| TestPhysTraceExtractBndCond () | |
| void | Configure (unsigned int boundaryRegionId) |
| void | SetFixture (const unsigned int nhomo) override |
| void | SetTestCase () |
| void | RunTestCase () |
| template<typename ExecSpace > | |
| void | RunTestCase () |
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. | |
Protected Attributes | |
| MultiRegions::ExpListSharedPtr | m_bcExpList |
| unsigned int | m_inputInterleaveWidth = 1 |
| Interleave width the volume field is given to Apply() at. | |
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 |
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. | |
Definition at line 59 of file TestPhysTraceExtractBndCond.hpp.
|
inline |
Definition at line 63 of file TestPhysTraceExtractBndCond.hpp.
|
inline |
Definition at line 68 of file TestPhysTraceExtractBndCond.hpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::Collections::eNoImpType, TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_explist, Nektar::SpatialDomains::BoundaryConditions::GetBoundaryRegions(), graph, TestPhysTraceExtractBndCond< TData >::m_bcExpList, TestOp< TData, FieldState::Phys, FieldState::Phys >::session, TestOp< TData, FieldState::Phys, FieldState::Phys >::SetExpList(), TestPhysTraceExtractBndCond< TData >::SetFixture(), and TestOp< TData, FieldState::Phys, FieldState::Phys >::SetSession().
|
inline |
Definition at line 183 of file TestPhysTraceExtractBndCond.hpp.
References Nektar::ErrorUtil::efatal, Nektar::NektarSpaces::Serial::name, Nektar::NektarSpaces::AVX::name, and NEKERROR.
|
inline |
Definition at line 203 of file TestPhysTraceExtractBndCond.hpp.
References Nektar::MultiRegions::detail::PhysTraceExtractBndCond< ExecSpace, TData >::Apply(), TestOp< TData, FieldState::Phys, FieldState::Phys >::Compare(), TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_explist, TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_in, TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_out, Nektar::LibUtilities::Field< TData, TState >::GetBlocks(), TestPhysTraceExtractBndCond< TData >::m_bcExpList, TestPhysTraceExtractBndCond< TData >::m_inputInterleaveWidth, Nektar::LibUtilities::Field< TData, TState >::ReshapeStorage(), and TestOp< TData, FieldState::Phys, FieldState::Phys >::session.
|
inlineoverridevirtual |
Reimplemented from TestOp< TData, FieldState::Phys, FieldState::Phys >.
Definition at line 90 of file TestPhysTraceExtractBndCond.hpp.
References TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_expected, TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_explist, TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_in, TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_out, TestPhysTraceExtractBndCond< TData >::m_bcExpList, and TestOp< TData, FieldState::Phys, FieldState::Phys >::session.
Referenced by TestPhysTraceExtractBndCond< TData >::Configure().
|
inline |
Definition at line 111 of file TestPhysTraceExtractBndCond.hpp.
References el, TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_expected, TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_explist, TestOp< TData, FieldState::Phys, FieldState::Phys >::fixt_in, Nektar::LibUtilities::Field< TData, TState >::GetBlocks(), Nektar::MultiRegions::GetCollection(), Nektar::LibUtilities::Field< TData, TState >::GetNumComponents(), Nektar::LibUtilities::Field< TData, TState >::GetNumHomoModes(), and TestPhysTraceExtractBndCond< TData >::m_bcExpList.
|
protected |
|
protected |
Interleave width the volume field is given to Apply() at.
Definition at line 237 of file TestPhysTraceExtractBndCond.hpp.
Referenced by TestPhysTraceExtractBndCond< TData >::RunTestCase().