|
Nektar++
|
#include <TestFwdTransBC.hpp>
Public Member Functions | |
| TestFwdTransBC ()=default | |
| void | SetFixture (const unsigned int nhomo) override |
| void | SetTestCase () |
| void | RunTestCase () |
| void | ExpectedSolution () |
Public Member Functions inherited from TestOp< TData, FieldState::Phys, FieldState::Coeff > | |
| 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. | |
Private Member Functions | |
| std::shared_ptr< MultiRegions::ContField > | CreateBoundaryField (const std::string &variable) const |
| std::vector< MultiRegions::ExpListSharedPtr > | GetBoundaryConditionExpansions () const |
| std::vector< TData > | GetBoundaryPhysValues () const |
| size_t | GetTotalBoundaryPoints (const std::vector< MultiRegions::ExpListSharedPtr > &boundaryExp) const |
| size_t | GetTotalBoundaryCoeffs (const std::vector< MultiRegions::ExpListSharedPtr > &boundaryExp) const |
| template<FieldState TState> | |
| std::vector< BlockAttributes< TState > > | GetBoundaryBlockAttributes () const |
Additional Inherited Members | |
Static Public Member Functions inherited from TestOp< TData, FieldState::Phys, FieldState::Coeff > | |
| 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 TestOp< TData, FieldState::Phys, FieldState::Coeff > | |
| 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 |
Definition at line 49 of file TestFwdTransBC.hpp.
|
default |
|
inlineprivate |
Definition at line 184 of file TestFwdTransBC.hpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::Collections::eNoCollection, graph, Nektar::SpatialDomains::MeshGraphIO::Read(), and TestOp< TData, FieldState::Phys, FieldState::Coeff >::session.
Referenced by TestFwdTransBC< TData >::GetBoundaryConditionExpansions(), and TestFwdTransBC< TData >::GetBoundaryPhysValues().
|
inline |
Definition at line 140 of file TestFwdTransBC.hpp.
References Nektar::MultiRegions::e0D, TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_expected, TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_in, TestFwdTransBC< TData >::GetBoundaryConditionExpansions(), TestFwdTransBC< TData >::GetTotalBoundaryCoeffs(), TestFwdTransBC< TData >::GetTotalBoundaryPoints(), and TestOp< TData, FieldState::Phys, FieldState::Coeff >::session.
Referenced by TestFwdTransBC< TData >::SetTestCase().
|
inlineprivate |
Definition at line 278 of file TestFwdTransBC.hpp.
References TestFwdTransBC< TData >::GetBoundaryConditionExpansions().
|
inlineprivate |
Definition at line 197 of file TestFwdTransBC.hpp.
References TestFwdTransBC< TData >::CreateBoundaryField(), and TestOp< TData, FieldState::Phys, FieldState::Coeff >::session.
Referenced by TestFwdTransBC< TData >::ExpectedSolution(), TestFwdTransBC< TData >::GetBoundaryBlockAttributes(), TestFwdTransBC< TData >::GetBoundaryPhysValues(), and TestFwdTransBC< TData >::RunTestCase().
|
inlineprivate |
Definition at line 213 of file TestFwdTransBC.hpp.
References TestFwdTransBC< TData >::CreateBoundaryField(), Nektar::MultiRegions::e1D, TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_explist, TestFwdTransBC< TData >::GetBoundaryConditionExpansions(), TestFwdTransBC< TData >::GetTotalBoundaryPoints(), and TestOp< TData, FieldState::Phys, FieldState::Coeff >::session.
Referenced by TestFwdTransBC< TData >::SetTestCase().
|
inlineprivate |
Definition at line 265 of file TestFwdTransBC.hpp.
Referenced by TestFwdTransBC< TData >::ExpectedSolution(), and TestFwdTransBC< TData >::RunTestCase().
|
inlineprivate |
Definition at line 253 of file TestFwdTransBC.hpp.
Referenced by TestFwdTransBC< TData >::ExpectedSolution(), TestFwdTransBC< TData >::GetBoundaryPhysValues(), and TestFwdTransBC< TData >::RunTestCase().
|
inline |
Definition at line 83 of file TestFwdTransBC.hpp.
References Nektar::MultiRegions::FwdTransBCOp< TData >::Create(), TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_in, TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_out, TestFwdTransBC< TData >::GetBoundaryConditionExpansions(), TestFwdTransBC< TData >::GetTotalBoundaryCoeffs(), TestFwdTransBC< TData >::GetTotalBoundaryPoints(), and TestOp< TData, FieldState::Phys, FieldState::Coeff >::session.
|
inlineoverridevirtual |
Reimplemented from TestOp< TData, FieldState::Phys, FieldState::Coeff >.
Definition at line 54 of file TestFwdTransBC.hpp.
References TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_expected, TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_in, TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_out, and TestOp< TData, FieldState::Phys, FieldState::Coeff >::session.
|
inline |
Definition at line 72 of file TestFwdTransBC.hpp.
References TestFwdTransBC< TData >::ExpectedSolution(), TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_in, TestOp< TData, FieldState::Phys, FieldState::Coeff >::fixt_out, and TestFwdTransBC< TData >::GetBoundaryPhysValues().