|
Nektar++
|
#include <TestDirichlet.hpp>
Public Member Functions | |
| TestDirichlet ()=default | |
| void | SetTestCase (const double time=0.0) |
| void | RunTestCase (const double time=0.0) |
| void | ExpectedSolution (const double time=0.0) |
Public Member Functions inherited from TestOp< TData, FieldState::Coeff, FieldState::Coeff, MultiRegions::ContField > | |
| 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 void | SetFixture (const unsigned int nhomo) |
| 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::Coeff, FieldState::Coeff, MultiRegions::ContField > | |
| 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::Coeff, FieldState::Coeff, MultiRegions::ContField > | |
| 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 44 of file TestDirichlet.hpp.
|
default |
|
inline |
Definition at line 76 of file TestDirichlet.hpp.
References ASSERTL0, Nektar::Collections::eNoCollection, Nektar::MultiRegions::ExpList::EvaluateBoundaryConditions(), TestOp< TData, FieldState::Coeff, FieldState::Coeff, MultiRegions::ContField >::fixt_expected, TestOp< TData, FieldState::Coeff, FieldState::Coeff, MultiRegions::ContField >::fixt_explist, TestOp< TData, FieldState::Coeff, FieldState::Coeff, MultiRegions::ContField >::fixt_in, Nektar::LibUtilities::Field< TData, TState >::GetNumComponents(), and Nektar::MultiRegions::ExpList::ImposeDirichletConditions().
Referenced by TestDirichlet< TData >::SetTestCase().
|
inline |
Definition at line 59 of file TestDirichlet.hpp.
References Nektar::MultiRegions::DirBndCondOp< TData >::Create(), TestOp< TData, FieldState::Coeff, FieldState::Coeff, MultiRegions::ContField >::fixt_explist, TestOp< TData, FieldState::Coeff, FieldState::Coeff, MultiRegions::ContField >::fixt_out, Nektar::MultiRegions::Operator< TData >::GetOpExecSpace(), TestOp< TData, FieldState::Coeff, FieldState::Coeff, MultiRegions::ContField >::session, and Nektar::LibUtilities::Field< TData, TState >::SetInterleaveWidth().
|
inline |
Definition at line 50 of file TestDirichlet.hpp.
References TestDirichlet< TData >::ExpectedSolution(), and TestOp< TData, FieldState::Coeff, FieldState::Coeff, MultiRegions::ContField >::fixt_out.