Nektar++
|
A base class for describing how to solve specific equations. More...
#include <EquationSystem.h>
Public Member Functions | |
virtual SOLVER_UTILS_EXPORT | ~EquationSystem () |
Destructor. More... | |
SOLVER_UTILS_EXPORT void | SetUpTraceNormals (void) |
SOLVER_UTILS_EXPORT void | InitObject () |
Initialises the members of this object. More... | |
SOLVER_UTILS_EXPORT void | DoInitialise () |
Perform any initialisation necessary before solving the problem. More... | |
SOLVER_UTILS_EXPORT void | DoSolve () |
Solve the problem. More... | |
SOLVER_UTILS_EXPORT void | TransCoeffToPhys () |
Transform from coefficient to physical space. More... | |
SOLVER_UTILS_EXPORT void | TransPhysToCoeff () |
Transform from physical to coefficient space. More... | |
SOLVER_UTILS_EXPORT void | Output () |
Perform output operations after solve. More... | |
SOLVER_UTILS_EXPORT NekDouble | LinfError (unsigned int field, const Array< OneD, NekDouble > &exactsoln=NullNekDouble1DArray) |
Linf error computation. More... | |
SOLVER_UTILS_EXPORT std::string | GetSessionName () |
Get Session name. More... | |
template<class T > | |
boost::shared_ptr< T > | as () |
SOLVER_UTILS_EXPORT void | ResetSessionName (std::string newname) |
Reset Session name. More... | |
SOLVER_UTILS_EXPORT LibUtilities::SessionReaderSharedPtr | GetSession () |
Get Session name. More... | |
SOLVER_UTILS_EXPORT MultiRegions::ExpListSharedPtr | GetPressure () |
Get pressure field if available. More... | |
SOLVER_UTILS_EXPORT void | PrintSummary (std::ostream &out) |
Print a summary of parameters and solver characteristics. More... | |
SOLVER_UTILS_EXPORT void | SetLambda (NekDouble lambda) |
Set parameter m_lambda. More... | |
SOLVER_UTILS_EXPORT void | EvaluateFunction (Array< OneD, Array< OneD, NekDouble > > &pArray, std::string pFunctionName, const NekDouble pTime=0.0, const int domain=0) |
Evaluates a function as specified in the session file. More... | |
SOLVER_UTILS_EXPORT void | EvaluateFunction (std::vector< std::string > pFieldNames, Array< OneD, Array< OneD, NekDouble > > &pFields, const std::string &pName, const NekDouble &pTime=0.0, const int domain=0) |
Populate given fields with the function from session. More... | |
SOLVER_UTILS_EXPORT void | EvaluateFunction (std::vector< std::string > pFieldNames, Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const std::string &pName, const NekDouble &pTime=0.0, const int domain=0) |
Populate given fields with the function from session. More... | |
SOLVER_UTILS_EXPORT void | EvaluateFunction (std::string pFieldName, Array< OneD, NekDouble > &pArray, const std::string &pFunctionName, const NekDouble &pTime=0.0, const int domain=0) |
SOLVER_UTILS_EXPORT std::string | DescribeFunction (std::string pFieldName, const std::string &pFunctionName, const int domain) |
Provide a description of a function for a given field name. More... | |
SOLVER_UTILS_EXPORT void | InitialiseBaseFlow (Array< OneD, Array< OneD, NekDouble > > &base) |
Perform initialisation of the base flow. More... | |
SOLVER_UTILS_EXPORT void | SetInitialConditions (NekDouble initialtime=0.0, bool dumpInitialConditions=true, const int domain=0) |
Initialise the data in the dependent fields. More... | |
SOLVER_UTILS_EXPORT void | EvaluateExactSolution (int field, Array< OneD, NekDouble > &outfield, const NekDouble time) |
Evaluates an exact solution. More... | |
SOLVER_UTILS_EXPORT NekDouble | L2Error (unsigned int field, const Array< OneD, NekDouble > &exactsoln, bool Normalised=false) |
Compute the L2 error between fields and a given exact solution. More... | |
SOLVER_UTILS_EXPORT NekDouble | L2Error (unsigned int field, bool Normalised=false) |
Compute the L2 error of the fields. More... | |
SOLVER_UTILS_EXPORT Array < OneD, NekDouble > | ErrorExtraPoints (unsigned int field) |
Compute error (L2 and L_inf) over an larger set of quadrature points return [L2 Linf]. More... | |
SOLVER_UTILS_EXPORT void | WeakAdvectionGreensDivergenceForm (const Array< OneD, Array< OneD, NekDouble > > &F, Array< OneD, NekDouble > &outarray) |
Compute the inner product . More... | |
SOLVER_UTILS_EXPORT void | WeakAdvectionDivergenceForm (const Array< OneD, Array< OneD, NekDouble > > &F, Array< OneD, NekDouble > &outarray) |
Compute the inner product . More... | |
SOLVER_UTILS_EXPORT void | WeakAdvectionNonConservativeForm (const Array< OneD, Array< OneD, NekDouble > > &V, const Array< OneD, const NekDouble > &u, Array< OneD, NekDouble > &outarray, bool UseContCoeffs=false) |
Compute the inner product . More... | |
f SOLVER_UTILS_EXPORT void | AdvectionNonConservativeForm (const Array< OneD, Array< OneD, NekDouble > > &V, const Array< OneD, const NekDouble > &u, Array< OneD, NekDouble > &outarray, Array< OneD, NekDouble > &wk=NullNekDouble1DArray) |
Compute the non-conservative advection. More... | |
SOLVER_UTILS_EXPORT void | WeakDGAdvection (const Array< OneD, Array< OneD, NekDouble > > &InField, Array< OneD, Array< OneD, NekDouble > > &OutField, bool NumericalFluxIncludesNormal=true, bool InFieldIsInPhysSpace=false, int nvariables=0) |
Calculate the weak discontinuous Galerkin advection. More... | |
SOLVER_UTILS_EXPORT void | WeakDGDiffusion (const Array< OneD, Array< OneD, NekDouble > > &InField, Array< OneD, Array< OneD, NekDouble > > &OutField, bool NumericalFluxIncludesNormal=true, bool InFieldIsInPhysSpace=false) |
Calculate weak DG Diffusion in the LDG form. More... | |
SOLVER_UTILS_EXPORT void | Checkpoint_Output (const int n) |
Write checkpoint file of m_fields. More... | |
SOLVER_UTILS_EXPORT void | Checkpoint_Output (const int n, MultiRegions::ExpListSharedPtr &field, std::vector< Array< OneD, NekDouble > > &fieldcoeffs, std::vector< std::string > &variables) |
Write checkpoint file of custom data fields. More... | |
SOLVER_UTILS_EXPORT void | Checkpoint_BaseFlow (const int n) |
Write base flow file of m_fields. More... | |
SOLVER_UTILS_EXPORT void | WriteFld (const std::string &outname) |
Write field data to the given filename. More... | |
SOLVER_UTILS_EXPORT void | WriteFld (const std::string &outname, MultiRegions::ExpListSharedPtr &field, std::vector< Array< OneD, NekDouble > > &fieldcoeffs, std::vector< std::string > &variables) |
Write input fields to the given filename. More... | |
SOLVER_UTILS_EXPORT void | ImportFld (const std::string &infile, Array< OneD, MultiRegions::ExpListSharedPtr > &pFields) |
Input field data from the given file. More... | |
SOLVER_UTILS_EXPORT void | ImportFldToMultiDomains (const std::string &infile, Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const int ndomains) |
Input field data from the given file to multiple domains. More... | |
SOLVER_UTILS_EXPORT void | ImportFld (const std::string &infile, std::vector< std::string > &fieldStr, Array< OneD, Array< OneD, NekDouble > > &coeffs) |
Output a field. Input field data into array from the given file. More... | |
SOLVER_UTILS_EXPORT void | ImportFld (const std::string &infile, MultiRegions::ExpListSharedPtr &pField, std::string &pFieldName) |
Output a field. Input field data into ExpList from the given file. More... | |
SOLVER_UTILS_EXPORT void | ScanForHistoryPoints () |
Builds map of which element holds each history point. More... | |
SOLVER_UTILS_EXPORT void | WriteHistoryData (std::ostream &out) |
Probe each history point and write to file. More... | |
SOLVER_UTILS_EXPORT void | SessionSummary (SummaryList &vSummary) |
Write out a session summary. More... | |
SOLVER_UTILS_EXPORT Array < OneD, MultiRegions::ExpListSharedPtr > & | UpdateFields () |
SOLVER_UTILS_EXPORT LibUtilities::FieldMetaDataMap & | UpdateFieldMetaDataMap () |
Get hold of FieldInfoMap so it can be updated. More... | |
SOLVER_UTILS_EXPORT NekDouble | GetFinalTime () |
Return final time. More... | |
SOLVER_UTILS_EXPORT int | GetNcoeffs () |
SOLVER_UTILS_EXPORT int | GetNcoeffs (const int eid) |
SOLVER_UTILS_EXPORT int | GetNumExpModes () |
SOLVER_UTILS_EXPORT const Array< OneD, int > | GetNumExpModesPerExp () |
SOLVER_UTILS_EXPORT int | GetNvariables () |
SOLVER_UTILS_EXPORT const std::string | GetVariable (unsigned int i) |
SOLVER_UTILS_EXPORT int | GetTraceTotPoints () |
SOLVER_UTILS_EXPORT int | GetTraceNpoints () |
SOLVER_UTILS_EXPORT int | GetExpSize () |
SOLVER_UTILS_EXPORT int | GetPhys_Offset (int n) |
SOLVER_UTILS_EXPORT int | GetCoeff_Offset (int n) |
SOLVER_UTILS_EXPORT int | GetTotPoints () |
SOLVER_UTILS_EXPORT int | GetTotPoints (int n) |
SOLVER_UTILS_EXPORT int | GetNpoints () |
SOLVER_UTILS_EXPORT int | GetNumElmVelocity () |
SOLVER_UTILS_EXPORT int | GetSteps () |
SOLVER_UTILS_EXPORT NekDouble | GetTimeStep () |
SOLVER_UTILS_EXPORT void | CopyFromPhysField (const int i, Array< OneD, NekDouble > &output) |
SOLVER_UTILS_EXPORT void | CopyToPhysField (const int i, Array< OneD, NekDouble > &output) |
SOLVER_UTILS_EXPORT void | SetSteps (const int steps) |
SOLVER_UTILS_EXPORT void | ZeroPhysFields () |
SOLVER_UTILS_EXPORT void | FwdTransFields () |
SOLVER_UTILS_EXPORT void | GetFluxVector (const int i, Array< OneD, Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &flux) |
SOLVER_UTILS_EXPORT void | GetFluxVector (const int i, Array< OneD, Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &fluxX, Array< OneD, Array< OneD, NekDouble > > &fluxY) |
SOLVER_UTILS_EXPORT void | GetFluxVector (const int i, const int j, Array< OneD, Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &flux) |
SOLVER_UTILS_EXPORT void | NumericalFlux (Array< OneD, Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &numflux) |
SOLVER_UTILS_EXPORT void | NumericalFlux (Array< OneD, Array< OneD, NekDouble > > &physfield, Array< OneD, Array< OneD, NekDouble > > &numfluxX, Array< OneD, Array< OneD, NekDouble > > &numfluxY) |
SOLVER_UTILS_EXPORT void | NumFluxforScalar (const Array< OneD, Array< OneD, NekDouble > > &ufield, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > &uflux) |
SOLVER_UTILS_EXPORT void | NumFluxforVector (const Array< OneD, Array< OneD, NekDouble > > &ufield, Array< OneD, Array< OneD, Array< OneD, NekDouble > > > &qfield, Array< OneD, Array< OneD, NekDouble > > &qflux) |
SOLVER_UTILS_EXPORT void | SetModifiedBasis (const bool modbasis) |
SOLVER_UTILS_EXPORT int | NoCaseStringCompare (const std::string &s1, const std::string &s2) |
Perform a case-insensitive string comparison. More... | |
SOLVER_UTILS_EXPORT int | GetCheckpointNumber () |
SOLVER_UTILS_EXPORT void | SetCheckpointNumber (int num) |
SOLVER_UTILS_EXPORT int | GetCheckpointSteps () |
SOLVER_UTILS_EXPORT void | SetCheckpointSteps (int num) |
SOLVER_UTILS_EXPORT void | SetTime (const NekDouble time) |
SOLVER_UTILS_EXPORT void | SetInitialStep (const int step) |
SOLVER_UTILS_EXPORT void | SetBoundaryConditions (NekDouble time) |
Evaluates the boundary conditions at the given time. More... | |
virtual SOLVER_UTILS_EXPORT bool | v_NegatedOp () |
Virtual function to identify if operator is negated in DoSolve. More... | |
Protected Types | |
enum | HomogeneousType { eHomogeneous1D, eHomogeneous2D, eHomogeneous3D, eNotHomogeneous } |
Parameter for homogeneous expansions. More... | |
Protected Member Functions | |
SOLVER_UTILS_EXPORT | EquationSystem (const LibUtilities::SessionReaderSharedPtr &pSession) |
Initialises EquationSystem class members. More... | |
int | nocase_cmp (const std::string &s1, const std::string &s2) |
virtual SOLVER_UTILS_EXPORT void | v_InitObject () |
Initialisation object for EquationSystem. More... | |
virtual SOLVER_UTILS_EXPORT void | v_DoInitialise () |
Virtual function for initialisation implementation. More... | |
virtual SOLVER_UTILS_EXPORT void | v_DoSolve () |
Virtual function for solve implementation. More... | |
virtual SOLVER_UTILS_EXPORT NekDouble | v_LinfError (unsigned int field, const Array< OneD, NekDouble > &exactsoln=NullNekDouble1DArray) |
Virtual function for the L_inf error computation between fields and a given exact solution. More... | |
virtual SOLVER_UTILS_EXPORT NekDouble | v_L2Error (unsigned int field, const Array< OneD, NekDouble > &exactsoln=NullNekDouble1DArray, bool Normalised=false) |
Virtual function for the L_2 error computation between fields and a given exact solution. More... | |
virtual SOLVER_UTILS_EXPORT void | v_TransCoeffToPhys () |
Virtual function for transformation to physical space. More... | |
virtual SOLVER_UTILS_EXPORT void | v_TransPhysToCoeff () |
Virtual function for transformation to coefficient space. More... | |
virtual SOLVER_UTILS_EXPORT void | v_GenerateSummary (SummaryList &l) |
Virtual function for generating summary information. More... | |
virtual SOLVER_UTILS_EXPORT void | v_SetInitialConditions (NekDouble initialtime=0.0, bool dumpInitialConditions=true, const int domain=0) |
virtual SOLVER_UTILS_EXPORT void | v_EvaluateExactSolution (unsigned int field, Array< OneD, NekDouble > &outfield, const NekDouble time) |
SOLVER_UTILS_EXPORT void | SetUpBaseFields (SpatialDomains::MeshGraphSharedPtr &mesh) |
SOLVER_UTILS_EXPORT void | ImportFldBase (std::string pInfile, SpatialDomains::MeshGraphSharedPtr pGraph) |
virtual SOLVER_UTILS_EXPORT void | v_Output (void) |
virtual SOLVER_UTILS_EXPORT MultiRegions::ExpListSharedPtr | v_GetPressure (void) |
virtual SOLVER_UTILS_EXPORT void | v_ExtraFldOutput (std::vector< Array< OneD, NekDouble > > &fieldcoeffs, std::vector< std::string > &variables) |
Protected Attributes | |
LibUtilities::CommSharedPtr | m_comm |
Communicator. More... | |
LibUtilities::SessionReaderSharedPtr | m_session |
The session reader. More... | |
LibUtilities::FieldIOSharedPtr | m_fld |
Field input/output. More... | |
std::map< std::string, Array < OneD, Array< OneD, float > > > | m_interpWeights |
Map of the interpolation weights for a specific filename. More... | |
std::map< std::string, Array < OneD, Array< OneD, unsigned int > > > | m_interpInds |
Map of the interpolation indices for a specific filename. More... | |
Array< OneD, MultiRegions::ExpListSharedPtr > | m_fields |
Array holding all dependent variables. More... | |
Array< OneD, MultiRegions::ExpListSharedPtr > | m_base |
Base fields. More... | |
Array< OneD, MultiRegions::ExpListSharedPtr > | m_derivedfields |
Array holding all dependent variables. More... | |
SpatialDomains::BoundaryConditionsSharedPtr | m_boundaryConditions |
Pointer to boundary conditions object. More... | |
SpatialDomains::MeshGraphSharedPtr | m_graph |
Pointer to graph defining mesh. More... | |
std::string | m_sessionName |
Name of the session. More... | |
NekDouble | m_time |
Current time of simulation. More... | |
int | m_initialStep |
Number of the step where the simulation should begin. More... | |
NekDouble | m_fintime |
Finish time of the simulation. More... | |
NekDouble | m_timestep |
Time step size. More... | |
NekDouble | m_lambda |
Lambda constant in real system if one required. More... | |
std::set< std::string > | m_loadedFields |
NekDouble | m_checktime |
Time between checkpoints. More... | |
int | m_nchk |
Number of checkpoints written so far. More... | |
int | m_steps |
Number of steps to take. More... | |
int | m_checksteps |
Number of steps between checkpoints. More... | |
int | m_spacedim |
Spatial dimension (>= expansion dim). More... | |
int | m_expdim |
Expansion dimension. More... | |
bool | m_singleMode |
Flag to determine if single homogeneous mode is used. More... | |
bool | m_halfMode |
Flag to determine if half homogeneous mode is used. More... | |
bool | m_multipleModes |
Flag to determine if use multiple homogenenous modes are used. More... | |
bool | m_useFFT |
Flag to determine if FFT is used for homogeneous transform. More... | |
bool | m_homogen_dealiasing |
Flag to determine if dealiasing is used for homogeneous simulations. More... | |
bool | m_specHP_dealiasing |
Flag to determine if dealisising is usde for the Spectral/hp element discretisation. More... | |
enum MultiRegions::ProjectionType | m_projectionType |
Type of projection; e.g continuous or discontinuous. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_traceNormals |
Array holding trace normals for DG simulations in the forwards direction. More... | |
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > | m_gradtan |
1 x nvariable x nq More... | |
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > | m_tanbasis |
2 x m_spacedim x nq More... | |
Array< OneD, bool > | m_checkIfSystemSingular |
Flag to indicate if the fields should be checked for singularity. More... | |
LibUtilities::FieldMetaDataMap | m_fieldMetaDataMap |
Map to identify relevant solver info to dump in output fields. More... | |
int | m_NumQuadPointsError |
Number of Quadrature points used to work out the error. More... | |
enum HomogeneousType | m_HomogeneousType |
NekDouble | m_LhomX |
physical length in X direction (if homogeneous) More... | |
NekDouble | m_LhomY |
physical length in Y direction (if homogeneous) More... | |
NekDouble | m_LhomZ |
physical length in Z direction (if homogeneous) More... | |
int | m_npointsX |
number of points in X direction (if homogeneous) More... | |
int | m_npointsY |
number of points in Y direction (if homogeneous) More... | |
int | m_npointsZ |
number of points in Z direction (if homogeneous) More... | |
int | m_HomoDirec |
number of homogenous directions More... | |
A base class for describing how to solve specific equations.
This class is a base class for all solver implementations. It provides the underlying generic functionality and interface for solving equations.
To solve a steady-state equation, create a derived class from this class and reimplement the virtual functions to provide custom implementation for the problem.
To solve unsteady problems, derive from the UnsteadySystem class instead which provides general time integration.
Definition at line 69 of file EquationSystem.h.
|
protected |
Parameter for homogeneous expansions.
Enumerator | |
---|---|
eHomogeneous1D | |
eHomogeneous2D | |
eHomogeneous3D | |
eNotHomogeneous |
Definition at line 530 of file EquationSystem.h.
|
virtual |
Destructor.
Destructor for class EquationSystem.
Definition at line 676 of file EquationSystem.cpp.
|
protected |
Initialises EquationSystem class members.
This constructor is protected as the objects of this class are never instantiated directly.
pSession | The session reader holding problem parameters. |
Definition at line 97 of file EquationSystem.cpp.
References m_fieldMetaDataMap, and m_session.
void Nektar::SolverUtils::EquationSystem::AdvectionNonConservativeForm | ( | const Array< OneD, Array< OneD, NekDouble > > & | V, |
const Array< OneD, const NekDouble > & | u, | ||
Array< OneD, NekDouble > & | outarray, | ||
Array< OneD, NekDouble > & | wk = NullNekDouble1DArray |
||
) |
Compute the non-conservative advection.
Calculate the inner product
V | Fields. |
u | Fields. |
outarray | Storage for result. |
wk | Workspace. |
Definition at line 1629 of file EquationSystem.cpp.
References ASSERTL0, m_fields, Vmath::Vmul(), and Vmath::Vvtvp().
Referenced by Nektar::CFLtester::DoOdeRhs(), Nektar::EigenValuesAdvection::v_DoSolve(), and WeakAdvectionNonConservativeForm().
|
inline |
Definition at line 106 of file EquationSystem.h.
References ASSERTL1.
void Nektar::SolverUtils::EquationSystem::Checkpoint_BaseFlow | ( | const int | n | ) |
Write base flow file of m_fields.
Write the n-th base flow into a .chk file
n | The index of the base flow file. |
Definition at line 1997 of file EquationSystem.cpp.
References m_sessionName, and WriteFld().
void Nektar::SolverUtils::EquationSystem::Checkpoint_Output | ( | const int | n | ) |
Write checkpoint file of m_fields.
Write the n-th checkpoint file.
n | The index of the checkpoint file. |
Definition at line 1969 of file EquationSystem.cpp.
References m_sessionName, and WriteFld().
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::CoupledLinearNS::v_DoSolve(), Nektar::NavierStokesCFE::v_SetInitialConditions(), Nektar::EulerCFE::v_SetInitialConditions(), Nektar::EulerADCFE::v_SetInitialConditions(), Nektar::NonlinearPeregrine::v_SetInitialConditions(), and v_SetInitialConditions().
void Nektar::SolverUtils::EquationSystem::Checkpoint_Output | ( | const int | n, |
MultiRegions::ExpListSharedPtr & | field, | ||
std::vector< Array< OneD, NekDouble > > & | fieldcoeffs, | ||
std::vector< std::string > & | variables | ||
) |
Write checkpoint file of custom data fields.
Write the n-th checkpoint file.
n | The index of the checkpoint file. |
Definition at line 1981 of file EquationSystem.cpp.
References m_sessionName, and WriteFld().
|
inline |
Definition at line 901 of file EquationSystem.h.
References m_fields, and Vmath::Vcopy().
|
inline |
Definition at line 907 of file EquationSystem.h.
References m_fields, and Vmath::Vcopy().
std::string Nektar::SolverUtils::EquationSystem::DescribeFunction | ( | std::string | pFieldName, |
const std::string & | pFunctionName, | ||
const int | domain | ||
) |
Provide a description of a function for a given field name.
pFieldName | Field name. |
pFunctionName | Function name. |
Definition at line 948 of file EquationSystem.cpp.
References ASSERTL0, Nektar::LibUtilities::eFunctionTypeExpression, Nektar::LibUtilities::eFunctionTypeFile, and m_session.
Referenced by v_SetInitialConditions().
|
inline |
Perform any initialisation necessary before solving the problem.
This allows initialisation of the solver which cannot be completed during object construction (such as setting of initial conditions).
Public interface routine to virtual function implementation.
Definition at line 681 of file EquationSystem.h.
References v_DoInitialise().
Solve the problem.
Performs the actual solve.
Public interface routine to virtual function implementation.
Definition at line 713 of file EquationSystem.h.
References v_DoSolve().
Array< OneD, NekDouble > Nektar::SolverUtils::EquationSystem::ErrorExtraPoints | ( | unsigned int | field | ) |
Compute error (L2 and L_inf) over an larger set of quadrature points return [L2 Linf].
Compute the error in the L2-norm, L-inf for a larger number of quadrature points.
field | The field to compare. |
Definition at line 1108 of file EquationSystem.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::LibUtilities::eGaussLobattoLegendre, Nektar::LibUtilities::eGaussRadauMAlpha1Beta0, Nektar::LibUtilities::eModified_A, Nektar::LibUtilities::eModified_B, GetNumExpModes(), m_fields, m_graph, m_NumQuadPointsError, m_session, and m_time.
Referenced by v_L2Error(), and v_LinfError().
|
inline |
Evaluates an exact solution.
Definition at line 792 of file EquationSystem.h.
References v_EvaluateExactSolution().
void Nektar::SolverUtils::EquationSystem::EvaluateFunction | ( | Array< OneD, Array< OneD, NekDouble > > & | pArray, |
std::string | pFunctionName, | ||
const NekDouble | pTime = 0.0 , |
||
const int | domain = 0 |
||
) |
Evaluates a function as specified in the session file.
Evaluates a physical function at each quadrature point in the domain.
pArray | The array into which to write the values. |
pEqn | The equation to evaluate. |
Definition at line 690 of file EquationSystem.cpp.
References ASSERTL0, and m_session.
Referenced by Nektar::CoupledLinearNS::DefineForcingTerm(), Nektar::ShallowWaterSystem::EvaluateCoriolis(), EvaluateFunction(), Nektar::ShallowWaterSystem::EvaluateWaterDepth(), InitialiseBaseFlow(), Nektar::APE::UpdateBasefield(), Nektar::APE::UpdateSourceTerms(), Nektar::SteadyAdvectionDiffusion::v_DoInitialise(), Nektar::CoupledLinearNS::v_DoInitialise(), Nektar::LinearElasticSystem::v_DoSolve(), v_EvaluateExactSolution(), Nektar::Poisson::v_InitObject(), Nektar::EigenValuesAdvection::v_InitObject(), Nektar::BidomainRoth::v_InitObject(), Nektar::Monodomain::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::CFLtester::v_InitObject(), Nektar::UnsteadyAdvectionDiffusion::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::PulseWaveSystem::v_L2Error(), v_L2Error(), Nektar::PulseWaveSystem::v_LinfError(), v_LinfError(), and v_SetInitialConditions().
void Nektar::SolverUtils::EquationSystem::EvaluateFunction | ( | std::vector< std::string > | pFieldNames, |
Array< OneD, Array< OneD, NekDouble > > & | pFields, | ||
const std::string & | pFunctionName, | ||
const NekDouble & | pTime = 0.0 , |
||
const int | domain = 0 |
||
) |
Populate given fields with the function from session.
Populates a forcing function for each of the dependent variables using the expression provided by the BoundaryConditions object.
force | Array of fields to assign forcing. |
Definition at line 713 of file EquationSystem.cpp.
References ASSERTL0, ASSERTL1, EvaluateFunction(), and m_session.
void Nektar::SolverUtils::EquationSystem::EvaluateFunction | ( | std::vector< std::string > | pFieldNames, |
Array< OneD, MultiRegions::ExpListSharedPtr > & | pFields, | ||
const std::string & | pFunctionName, | ||
const NekDouble & | pTime = 0.0 , |
||
const int | domain = 0 |
||
) |
Populate given fields with the function from session.
Populates a function for each of the dependent variables using the expression or filenames provided by the SessionReader object.
force | Array of fields to assign forcing. |
Definition at line 737 of file EquationSystem.cpp.
References ASSERTL0, EvaluateFunction(), and m_session.
void Nektar::SolverUtils::EquationSystem::EvaluateFunction | ( | std::string | pFieldName, |
Array< OneD, NekDouble > & | pArray, | ||
const std::string & | pFunctionName, | ||
const NekDouble & | pTime = 0.0 , |
||
const int | domain = 0 |
||
) |
Definition at line 760 of file EquationSystem.cpp.
References ASSERTL0, Nektar::LibUtilities::eFunctionTypeExpression, Nektar::LibUtilities::eFunctionTypeFile, Nektar::LibUtilities::eFunctionTypeTransientFile, GetNcoeffs(), Nektar::LibUtilities::PtsIO::Import(), m_fields, m_fld, m_interpInds, m_interpWeights, m_loadedFields, m_session, m_time, Nektar::LibUtilities::NullFieldMetaDataMap, PrintProgressbar(), and Vmath::Zero().
FwdTrans the m_fields members
Definition at line 1535 of file EquationSystem.cpp.
References m_fields.
|
inline |
Definition at line 410 of file EquationSystem.h.
References m_nchk.
|
inline |
Definition at line 420 of file EquationSystem.h.
References m_checksteps.
|
inline |
Definition at line 861 of file EquationSystem.h.
References m_fields.
|
inline |
Definition at line 851 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::CompressibleFlowSystem::PressureInflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowBC(), Nektar::CompressibleFlowSystem::PressureOutflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowNonReflectiveBC(), and Nektar::UnsteadyAdvectionDiffusion::SubStepAdvance().
|
inline |
Return final time.
Definition at line 805 of file EquationSystem.h.
References m_time.
|
inline |
Definition at line 913 of file EquationSystem.h.
References v_GetFluxVector().
Referenced by WeakDGAdvection(), and WeakDGDiffusion().
|
inline |
Definition at line 920 of file EquationSystem.h.
References v_GetFluxVector().
|
inline |
Definition at line 928 of file EquationSystem.h.
References v_GetFluxVector().
|
inline |
Definition at line 810 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::NonlinearSWE::AddCoriolis(), Nektar::LinearSWE::AddCoriolis(), Nektar::NonlinearPeregrine::AddCoriolis(), Nektar::NonlinearSWE::AddVariableDepth(), Nektar::NonlinearPeregrine::AddVariableDepth(), Nektar::NonlinearSWE::DoOdeProjection(), Nektar::LinearSWE::DoOdeProjection(), Nektar::UnsteadyInviscidBurger::DoOdeProjection(), Nektar::UnsteadyDiffusion::DoOdeProjection(), Nektar::UnsteadyAdvection::DoOdeProjection(), Nektar::NonlinearPeregrine::DoOdeProjection(), Nektar::UnsteadyAdvectionDiffusion::DoOdeProjection(), Nektar::CFLtester::DoOdeProjection(), Nektar::NonlinearPeregrine::DoOdeRhs(), EvaluateFunction(), ImportFld(), ImportFldToMultiDomains(), Nektar::CoupledLinearNS::SolveLinearNS(), Nektar::CoupledLinearNS::SolveUnsteadyStokesSystem(), Nektar::APE::UpdateSourceTerms(), Nektar::EigenValuesAdvection::v_DoSolve(), Nektar::Laplace::v_DoSolve(), Nektar::CoupledLinearNS::v_Output(), v_SetInitialConditions(), WeakDGAdvection(), WeakDGDiffusion(), and WriteFld().
|
inline |
Definition at line 815 of file EquationSystem.h.
References m_fields.
|
inline |
Definition at line 876 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::ImageWarpingSystem::DoOdeProjection(), Nektar::NonlinearSWE::DoOdeProjection(), Nektar::LinearSWE::DoOdeProjection(), Nektar::UnsteadyInviscidBurger::DoOdeProjection(), Nektar::UnsteadyDiffusion::DoOdeProjection(), Nektar::NavierStokesCFE::DoOdeProjection(), Nektar::EulerCFE::DoOdeProjection(), Nektar::EulerADCFE::DoOdeProjection(), Nektar::UnsteadyAdvection::DoOdeProjection(), Nektar::NonlinearPeregrine::DoOdeProjection(), Nektar::UnsteadyAdvectionDiffusion::DoOdeProjection(), Nektar::CFLtester::DoOdeProjection(), Nektar::UnsteadyViscousBurgers::DoOdeProjection(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::UnsteadyInviscidBurger::DoOdeRhs(), Nektar::NavierStokesCFE::DoOdeRhs(), Nektar::EulerCFE::DoOdeRhs(), Nektar::UnsteadyAdvection::DoOdeRhs(), Nektar::EulerADCFE::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::CFLtester::DoOdeRhs(), Nektar::UnsteadyViscousBurgers::DoOdeRhs(), Nektar::UnsteadyInviscidBurger::GetFluxVector(), Nektar::UnsteadyDiffusion::GetFluxVector(), Nektar::UnsteadyAdvectionDiffusion::GetFluxVectorDiff(), Nektar::UnsteadyViscousBurgers::GetFluxVectorDiff(), Nektar::UnsteadyInviscidBurger::GetNormalVelocity(), Nektar::SolverUtils::UnsteadySystem::v_AppendOutput1D(), Nektar::EigenValuesAdvection::v_DoSolve(), Nektar::LinearElasticSystem::v_DoSolve(), Nektar::EigenValuesAdvection::v_GetFluxVector(), Nektar::ImageWarpingSystem::v_GetFluxVector(), Nektar::CFLtester::v_GetFluxVector(), Nektar::IncNavierStokes::v_GetFluxVector(), Nektar::PulseWaveSystem::v_L2Error(), v_L2Error(), Nektar::PulseWaveSystem::v_LinfError(), v_LinfError(), WeakDGAdvection(), WeakDGDiffusion(), and ZeroPhysFields().
|
inline |
Definition at line 881 of file EquationSystem.h.
References m_fields.
|
inline |
Definition at line 820 of file EquationSystem.h.
References m_graph.
Referenced by ErrorExtraPoints().
Definition at line 826 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::EulerADCFE::DoOdeRhs(), and Nektar::IncNavierStokes::GetElmtCFLVals().
|
inline |
Definition at line 831 of file EquationSystem.h.
References m_session.
Referenced by ImportFldToMultiDomains().
|
inline |
Definition at line 856 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::CompressibleFlowSystem::ExtrapOrder0BC(), Nektar::CompressibleFlowSystem::PressureInflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowBC(), Nektar::CompressibleFlowSystem::PressureOutflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowNonReflectiveBC(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), Nektar::IncNavierStokes::SetRadiationBoundaryForcing(), Nektar::CompressibleFlowSystem::SymmetryBC(), Nektar::CompressibleFlowSystem::WallBC(), Nektar::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), Nektar::CompressibleFlowSystem::WallViscousBC(), Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforScalar(), and Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforVector().
|
inline |
Get pressure field if available.
Get Pressure field if available
Definition at line 748 of file EquationSystem.h.
References v_GetPressure().
Referenced by Nektar::NavierStokesCFE::DoOdeRhs(), Nektar::EulerADCFE::DoOdeRhs(), Nektar::CompressibleFlowSystem::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVectorDeAlias(), Nektar::CompressibleFlowSystem::GetViscousFluxVectorDeAlias(), and Nektar::CompressibleFlowSystem::v_InitObject().
|
inline |
Get Session name.
Definition at line 125 of file EquationSystem.h.
References m_session.
|
inline |
Get Session name.
Definition at line 100 of file EquationSystem.h.
References m_sessionName.
|
inline |
Definition at line 886 of file EquationSystem.h.
References m_steps.
Definition at line 891 of file EquationSystem.h.
References m_timestep.
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve().
|
inline |
Definition at line 866 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::NonlinearSWE::AddCoriolis(), Nektar::LinearSWE::AddCoriolis(), Nektar::NonlinearPeregrine::AddCoriolis(), Nektar::APE::AddSource(), Nektar::NonlinearSWE::AddVariableDepth(), Nektar::NonlinearPeregrine::AddVariableDepth(), Nektar::NonlinearSWE::ConservativeToPrimitive(), Nektar::LinearSWE::ConservativeToPrimitive(), Nektar::NonlinearPeregrine::ConservativeToPrimitive(), Nektar::NonlinearSWE::DoOdeRhs(), Nektar::LinearSWE::DoOdeRhs(), Nektar::APE::DoOdeRhs(), Nektar::NonlinearPeregrine::DoOdeRhs(), Nektar::EulerCFE::GetExactIsentropicVortex(), Nektar::EulerCFE::GetExactRinglebFlow(), Nektar::CFLtester::GetStdVelocity(), Nektar::NonlinearPeregrine::LaitoneSolitaryWave(), Nektar::NonlinearSWE::PrimitiveToConservative(), Nektar::LinearSWE::PrimitiveToConservative(), Nektar::NonlinearPeregrine::PrimitiveToConservative(), Nektar::EulerCFE::SetInitialIsentropicVortex(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::NonlinearSWE::v_ConservativeToPrimitive(), Nektar::LinearSWE::v_ConservativeToPrimitive(), Nektar::NonlinearPeregrine::v_ConservativeToPrimitive(), Nektar::APE::v_InitObject(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::NonlinearSWE::v_PrimitiveToConservative(), Nektar::LinearSWE::v_PrimitiveToConservative(), Nektar::NonlinearPeregrine::v_PrimitiveToConservative(), and Nektar::NonlinearPeregrine::WCESolve().
|
inline |
Definition at line 871 of file EquationSystem.h.
References m_fields.
|
inline |
Definition at line 846 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::UnsteadyAdvectionDiffusion::GetNormalVel(), Nektar::UnsteadyInviscidBurger::GetNormalVelocity(), Nektar::UnsteadyAdvection::GetNormalVelocity(), Nektar::UnsteadyViscousBurgers::GetNormalVelocity(), GetTraceTotPoints(), Nektar::APE::v_InitObject(), Nektar::UnsteadyInviscidBurger::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), v_InitObject(), Nektar::EigenValuesAdvection::v_NumericalFlux(), Nektar::ImageWarpingSystem::v_NumericalFlux(), Nektar::CFLtester::v_NumericalFlux(), Nektar::IncNavierStokes::v_NumericalFlux(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforScalar(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforVector(), WeakDGAdvection(), WeakDGDiffusion(), Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforScalar(), and Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforVector().
|
inline |
Definition at line 841 of file EquationSystem.h.
References GetTraceNpoints().
Referenced by Nektar::NonlinearPeregrine::DoOdeRhs(), Nektar::CompressibleFlowSystem::ExtrapOrder0BC(), Nektar::NonlinearPeregrine::NumericalFluxConsVariables(), Nektar::NonlinearPeregrine::NumericalFluxForcing(), Nektar::CompressibleFlowSystem::PressureInflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowBC(), Nektar::CompressibleFlowSystem::PressureOutflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowNonReflectiveBC(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), Nektar::NonlinearSWE::SetBoundaryConditions(), Nektar::LinearSWE::SetBoundaryConditions(), Nektar::APE::SetBoundaryConditions(), Nektar::NonlinearPeregrine::SetBoundaryConditions(), Nektar::EulerCFE::SetBoundaryIsentropicVortex(), Nektar::EulerCFE::SetBoundaryRinglebFlow(), Nektar::CompressibleFlowSystem::SymmetryBC(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::PulseWavePropagation::v_NumericalFlux(), Nektar::CompressibleFlowSystem::WallBC(), Nektar::NonlinearPeregrine::WallBoundaryContVariables(), Nektar::NonlinearPeregrine::WallBoundaryForcing(), and Nektar::CompressibleFlowSystem::WallViscousBC().
|
inline |
Definition at line 836 of file EquationSystem.h.
References m_session.
void Nektar::SolverUtils::EquationSystem::ImportFld | ( | const std::string & | infile, |
Array< OneD, MultiRegions::ExpListSharedPtr > & | pFields | ||
) |
Input field data from the given file.
Import field from infile and load into m_fields. This routine will also perform a BwdTrans to ensure data is in both the physical and coefficient storage.
infile | Filename to read. |
Definition at line 2093 of file EquationSystem.cpp.
References ASSERTL1, GetNcoeffs(), m_fields, m_fld, m_session, and Vmath::Zero().
void Nektar::SolverUtils::EquationSystem::ImportFld | ( | const std::string & | infile, |
std::vector< std::string > & | fieldStr, | ||
Array< OneD, Array< OneD, NekDouble > > & | coeffs | ||
) |
Output a field. Input field data into array from the given file.
Import field from infile and load into the array coeffs.
infile | Filename to read. |
fieldStr | an array of string identifying fields to be imported |
coeffs | and array of array of coefficients to store imported data |
Definition at line 2216 of file EquationSystem.cpp.
References ASSERTL0, m_fields, m_fld, and Vmath::Zero().
void Nektar::SolverUtils::EquationSystem::ImportFld | ( | const std::string & | infile, |
MultiRegions::ExpListSharedPtr & | pField, | ||
std::string & | pFieldName | ||
) |
Output a field. Input field data into ExpList from the given file.
Import field from infile and load into pField. This routine will also perform a BwdTrans to ensure data is in both the physical and coefficient storage.
Definition at line 2177 of file EquationSystem.cpp.
References ASSERTL1, m_fields, m_fld, and Vmath::Zero().
|
protected |
Definition at line 1436 of file EquationSystem.cpp.
References ASSERTL0, m_base, m_fields, m_fld, and m_session.
void Nektar::SolverUtils::EquationSystem::ImportFldToMultiDomains | ( | const std::string & | infile, |
Array< OneD, MultiRegions::ExpListSharedPtr > & | pFields, | ||
const int | ndomains | ||
) |
Input field data from the given file to multiple domains.
Import field from infile and load into m_fields. This routine will also perform a BwdTrans to ensure data is in both the physical and coefficient storage.
infile | Filename to read. If optionan ndomains is specified it assumes we loop over nodmains for each nvariables. |
Definition at line 2134 of file EquationSystem.cpp.
References ASSERTL0, ASSERTL1, GetNcoeffs(), GetNvariables(), Nektar::LibUtilities::Import(), m_fields, m_session, and Vmath::Zero().
void Nektar::SolverUtils::EquationSystem::InitialiseBaseFlow | ( | Array< OneD, Array< OneD, NekDouble > > & | base | ) |
Perform initialisation of the base flow.
Definition at line 1256 of file EquationSystem.cpp.
References EvaluateFunction(), m_graph, m_spacedim, and SetUpBaseFields().
Referenced by Nektar::SteadyAdvectionDiffusion::v_InitObject().
|
inline |
Initialises the members of this object.
This is the second part of the two-phase initialisation process. Calls to virtual functions will correctly resolve to the derived class during this phase of the construction.
Definition at line 669 of file EquationSystem.h.
References v_InitObject().
|
inline |
Compute the L2 error between fields and a given exact solution.
L_2 Error computation Public interface routine to virtual function implementation.
Definition at line 740 of file EquationSystem.h.
References v_L2Error().
Referenced by L2Error().
|
inline |
Compute the L2 error of the fields.
Definition at line 200 of file EquationSystem.h.
References L2Error(), and Nektar::NullNekDouble1DArray.
|
inline |
Linf error computation.
L_inf Error computation Public interface routine to virtual function implementation.
Definition at line 731 of file EquationSystem.h.
References v_LinfError().
|
inlineprotected |
Definition at line 557 of file EquationSystem.h.
References NoCaseStringCompare().
int Nektar::SolverUtils::EquationSystem::NoCaseStringCompare | ( | const std::string & | s1, |
const std::string & | s2 | ||
) |
Perform a case-insensitive string comparison.
Performs a case-insensitive string comparison (from web).
s1 | First string to compare. |
s2 | Second string to compare. |
Definition at line 2330 of file EquationSystem.cpp.
Referenced by nocase_cmp(), and Nektar::NavierStokesCFE::v_InitObject().
|
inline |
Definition at line 935 of file EquationSystem.h.
References v_NumericalFlux().
Referenced by WeakDGAdvection().
|
inline |
Definition at line 941 of file EquationSystem.h.
References v_NumericalFlux().
|
inline |
Definition at line 948 of file EquationSystem.h.
References v_NumFluxforScalar().
Referenced by WeakDGDiffusion().
|
inline |
Definition at line 955 of file EquationSystem.h.
References v_NumFluxforVector().
Referenced by WeakDGDiffusion().
Perform output operations after solve.
Perform output operations after solve.
Definition at line 722 of file EquationSystem.h.
References v_Output().
|
inlineprivate |
Definition at line 656 of file EquationSystem.h.
References Nektar::LibUtilities::PrintProgressbar().
Referenced by EvaluateFunction().
|
inline |
Print a summary of parameters and solver characteristics.
Prints a summary of variables and problem parameters.
Public interface routine to virtual function implementation.
out | The ostream object to write to. |
Definition at line 760 of file EquationSystem.h.
References m_session, and v_GenerateSummary().
|
inline |
Reset Session name.
Definition at line 119 of file EquationSystem.h.
References m_sessionName.
SOLVER_UTILS_EXPORT void Nektar::SolverUtils::EquationSystem::ScanForHistoryPoints | ( | ) |
Builds map of which element holds each history point.
void Nektar::SolverUtils::EquationSystem::SessionSummary | ( | SummaryList & | s | ) |
Write out a session summary.
Write out a summary of the session data.
out | Output stream to write data to. |
Definition at line 2246 of file EquationSystem.cpp.
References Nektar::SolverUtils::AddSummaryItem(), Nektar::MultiRegions::eDiscontinuous, Nektar::MultiRegions::eGalerkin, eHomogeneous1D, eHomogeneous2D, Nektar::MultiRegions::eMixed_CG_Discontinuous, Nektar::SolverUtils::GetAdvectionFactory(), Nektar::SolverUtils::GetDiffusionFactory(), m_expdim, m_fields, m_halfMode, m_HomogeneousType, m_multipleModes, m_npointsY, m_npointsZ, m_projectionType, m_session, m_sessionName, m_singleMode, m_spacedim, and m_useFFT.
Referenced by Nektar::Laplace::v_GenerateSummary(), Nektar::LinearElasticSystem::v_GenerateSummary(), and v_GenerateSummary().
Evaluates the boundary conditions at the given time.
If boundary conditions are time-dependent, they will be evaluated at the time specified.
time | The time at which to evaluate the BCs |
Definition at line 981 of file EquationSystem.cpp.
References m_fields, and m_session.
Referenced by Nektar::UnsteadyAdvectionDiffusion::DoImplicitSolve(), Nektar::UnsteadyViscousBurgers::DoImplicitSolve(), Nektar::ImageWarpingSystem::DoOdeProjection(), Nektar::NonlinearSWE::DoOdeProjection(), Nektar::LinearSWE::DoOdeProjection(), Nektar::UnsteadyInviscidBurger::DoOdeProjection(), Nektar::UnsteadyDiffusion::DoOdeProjection(), Nektar::UnsteadyAdvection::DoOdeProjection(), Nektar::NonlinearPeregrine::DoOdeProjection(), Nektar::UnsteadyAdvectionDiffusion::DoOdeProjection(), Nektar::CFLtester::DoOdeProjection(), Nektar::UnsteadyViscousBurgers::DoOdeProjection(), Nektar::PulseWavePropagation::SetPulseWaveBoundaryConditions(), and Nektar::SolverUtils::UnsteadySystem::v_DoInitialise().
|
inline |
Definition at line 415 of file EquationSystem.h.
References m_nchk.
|
inline |
Definition at line 425 of file EquationSystem.h.
References m_checksteps.
|
inline |
Initialise the data in the dependent fields.
Definition at line 784 of file EquationSystem.h.
References v_SetInitialConditions().
Referenced by main(), Nektar::SolverUtils::UnsteadySystem::v_DoInitialise(), Nektar::PulseWaveSystem::v_DoInitialise(), and Nektar::CoupledLinearNS::v_DoInitialise().
|
inline |
Definition at line 436 of file EquationSystem.h.
References m_initialStep.
Set parameter m_lambda.
Definition at line 779 of file EquationSystem.h.
References m_lambda.
|
inline |
|
inline |
Definition at line 896 of file EquationSystem.h.
References m_steps.
|
inline |
Definition at line 430 of file EquationSystem.h.
References m_time.
|
protected |
Definition at line 1269 of file EquationSystem.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::eFourier, Nektar::LibUtilities::eFourierEvenlySpaced, Nektar::LibUtilities::eFourierHalfModeRe, Nektar::LibUtilities::eFourierSingleModeSpaced, Nektar::MultiRegions::eGalerkin, eHomogeneous1D, Nektar::MultiRegions::eMixed_CG_Discontinuous, m_base, m_expdim, m_graph, m_halfMode, m_homogen_dealiasing, m_HomogeneousType, m_LhomZ, m_npointsZ, m_projectionType, m_session, m_singleMode, and m_useFFT.
Referenced by InitialiseBaseFlow().
SOLVER_UTILS_EXPORT void Nektar::SolverUtils::EquationSystem::SetUpTraceNormals | ( | void | ) |
Transform from coefficient to physical space.
Performs the transformation from coefficient to physical space.
Public interface routine to virtual function implementation.
Definition at line 692 of file EquationSystem.h.
References v_TransCoeffToPhys().
Transform from physical to coefficient space.
Performs the transformation from physical to coefficient space.
Public interface routine to virtual function implementation.
Definition at line 702 of file EquationSystem.h.
References v_TransPhysToCoeff().
|
inline |
Get hold of FieldInfoMap so it can be updated.
|
inline |
Definition at line 799 of file EquationSystem.h.
References m_fields.
Virtual function for initialisation implementation.
By default, nothing needs initialising at the EquationSystem level.
Reimplemented in Nektar::CoupledLinearNS, Nektar::PulseWaveSystem, Nektar::VelocityCorrectionScheme, Nektar::SolverUtils::UnsteadySystem, Nektar::VCSMapping, Nektar::SteadyAdvectionDiffusion, and Nektar::EigenValuesAdvection.
Definition at line 1250 of file EquationSystem.cpp.
Referenced by DoInitialise().
Virtual function for solve implementation.
Reimplemented in Nektar::CoupledLinearNS, Nektar::PulseWaveSystem, Nektar::LinearElasticSystem, Nektar::SolverUtils::UnsteadySystem, Nektar::IterativeElasticSystem, Nektar::SteadyAdvectionDiffusion, Nektar::Laplace, and Nektar::EigenValuesAdvection.
Definition at line 1472 of file EquationSystem.cpp.
Referenced by DoSolve().
|
protectedvirtual |
Reimplemented in Nektar::EulerCFE.
Definition at line 1231 of file EquationSystem.cpp.
References ASSERTL0, EvaluateFunction(), m_fields, m_session, and Vmath::Zero().
Referenced by EvaluateExactSolution(), and Nektar::EulerCFE::v_EvaluateExactSolution().
|
protectedvirtual |
Reimplemented in Nektar::CompressibleFlowSystem, Nektar::LinearElasticSystem, and Nektar::APE.
Definition at line 2440 of file EquationSystem.cpp.
Referenced by WriteFld().
|
protectedvirtual |
Virtual function for generating summary information.
Reimplemented in Nektar::CoupledLinearNS, Nektar::CompressibleFlowSystem, Nektar::UnsteadyViscousBurgers, Nektar::VelocityCorrectionScheme, Nektar::UnsteadyAdvectionDiffusion, Nektar::CFLtester, Nektar::LinearElasticSystem, Nektar::UnsteadyAdvection, Nektar::NonlinearPeregrine, Nektar::SolverUtils::UnsteadySystem, Nektar::PulseWavePropagation, Nektar::Monodomain, Nektar::Bidomain, Nektar::BidomainRoth, Nektar::ShallowWaterSystem, Nektar::LinearSWE, Nektar::EulerADCFE, Nektar::EulerCFE, Nektar::NonlinearSWE, Nektar::NavierStokesCFE, Nektar::ImageWarpingSystem, Nektar::IterativeElasticSystem, Nektar::Laplace, Nektar::SteadyAdvectionDiffusion, Nektar::UnsteadyDiffusion, Nektar::Helmholtz, Nektar::SteadyAdvectionDiffusionReaction, and Nektar::Poisson.
Definition at line 1505 of file EquationSystem.cpp.
References SessionSummary().
Referenced by PrintSummary(), and Nektar::SolverUtils::UnsteadySystem::v_GenerateSummary().
|
privatevirtual |
Reimplemented in Nektar::IncNavierStokes, Nektar::CFLtester, Nektar::PulseWavePropagation, Nektar::ImageWarpingSystem, and Nektar::EigenValuesAdvection.
Definition at line 2371 of file EquationSystem.cpp.
References ASSERTL0.
Referenced by GetFluxVector().
|
privatevirtual |
|
privatevirtual |
|
protectedvirtual |
Reimplemented in Nektar::IncNavierStokes.
Definition at line 2433 of file EquationSystem.cpp.
References ASSERTL0.
Referenced by GetPressure().
|
privatevirtual |
Reimplemented in Nektar::VelocityCorrectionScheme, Nektar::Laplace, Nektar::Helmholtz, and Nektar::Poisson.
Definition at line 2366 of file EquationSystem.cpp.
References m_session.
Referenced by v_InitObject().
|
protectedvirtual |
Initialisation object for EquationSystem.
Continuous field
Setting up the normals
Setting up the normals
Reimplemented in Nektar::CoupledLinearNS, Nektar::CompressibleFlowSystem, Nektar::PulseWaveSystem, Nektar::UnsteadyViscousBurgers, Nektar::UnsteadyAdvectionDiffusion, Nektar::LinearElasticSystem, Nektar::IncNavierStokes, Nektar::CFLtester, Nektar::UnsteadyAdvection, Nektar::UnsteadyInviscidBurger, Nektar::SolverUtils::UnsteadySystem, Nektar::ShallowWaterSystem, Nektar::NonlinearPeregrine, Nektar::APE, Nektar::EulerADCFE, Nektar::NavierStokesCFE, Nektar::EulerCFE, Nektar::IterativeElasticSystem, Nektar::PulseWavePropagation, Nektar::ImageWarpingSystem, Nektar::UnsteadyDiffusion, Nektar::Monodomain, Nektar::Bidomain, Nektar::BidomainRoth, Nektar::LinearSWE, Nektar::NonlinearSWE, Nektar::VCSMapping, Nektar::PulseWaveSystemOutput, Nektar::Laplace, Nektar::SteadyAdvectionDiffusion, Nektar::EigenValuesAdvection, Nektar::Helmholtz, Nektar::VelocityCorrectionScheme, Nektar::SteadyAdvectionDiffusionReaction, Nektar::Poisson, and Nektar::SolverUtils::AdvectionSystem.
Definition at line 119 of file EquationSystem.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::MultiRegions::eDiscontinuous, Nektar::LibUtilities::eFourier, Nektar::LibUtilities::eFourierEvenlySpaced, Nektar::LibUtilities::eFourierHalfModeIm, Nektar::LibUtilities::eFourierHalfModeRe, Nektar::LibUtilities::eFourierSingleMode, Nektar::LibUtilities::eFourierSingleModeSpaced, Nektar::MultiRegions::eGalerkin, eHomogeneous1D, eHomogeneous2D, eHomogeneous3D, Nektar::MultiRegions::eMixed_CG_Discontinuous, eNotHomogeneous, GetTraceNpoints(), m_boundaryConditions, m_checkIfSystemSingular, m_checksteps, m_checktime, m_expdim, m_fields, m_fintime, m_fld, m_graph, m_halfMode, m_HomoDirec, m_homogen_dealiasing, m_HomogeneousType, m_LhomY, m_LhomZ, m_multipleModes, m_nchk, m_npointsY, m_npointsZ, m_NumQuadPointsError, m_projectionType, m_session, m_sessionName, m_singleMode, m_spacedim, m_specHP_dealiasing, m_steps, m_time, m_timestep, m_traceNormals, m_useFFT, Nektar::SpatialDomains::MeshGraph::Read(), v_GetSystemSingularChecks(), and ZeroPhysFields().
Referenced by InitObject(), Nektar::EigenValuesAdvection::v_InitObject(), Nektar::SteadyAdvectionDiffusion::v_InitObject(), Nektar::Laplace::v_InitObject(), Nektar::SolverUtils::UnsteadySystem::v_InitObject(), and Nektar::LinearElasticSystem::v_InitObject().
|
protectedvirtual |
Virtual function for the L_2 error computation between fields and a given exact solution.
Compute the error in the L2-norm.
field | The field to compare. |
exactsoln | The exact solution to compare with. |
Normalised | Normalise L2-error. |
Reimplemented in Nektar::PulseWaveSystem.
Definition at line 999 of file EquationSystem.cpp.
References ErrorExtraPoints(), EvaluateFunction(), GetNpoints(), m_comm, m_fields, m_NumQuadPointsError, m_session, m_time, and Nektar::LibUtilities::ReduceSum.
Referenced by L2Error().
|
protectedvirtual |
Virtual function for the L_inf error computation between fields and a given exact solution.
Compute the error in the L_inf-norm
field | The field to compare. |
exactsoln | The exact solution to compare with. |
Reimplemented in Nektar::PulseWaveSystem.
Definition at line 1059 of file EquationSystem.cpp.
References ErrorExtraPoints(), EvaluateFunction(), GetNpoints(), m_fields, m_NumQuadPointsError, m_session, and m_time.
Referenced by LinfError().
|
virtual |
Virtual function to identify if operator is negated in DoSolve.
Virtual function to define if operator in DoSolve is negated with regard to the strong form. This is currently only used in Arnoldi solves. Default is false.
Reimplemented in Nektar::CoupledLinearNS.
Definition at line 1482 of file EquationSystem.cpp.
|
privatevirtual |
Reimplemented in Nektar::IncNavierStokes, Nektar::CFLtester, Nektar::SolverUtils::UnsteadySystem, Nektar::PulseWavePropagation, Nektar::ImageWarpingSystem, and Nektar::EigenValuesAdvection.
Definition at line 2399 of file EquationSystem.cpp.
References ASSERTL0.
Referenced by NumericalFlux().
|
privatevirtual |
Reimplemented in Nektar::SolverUtils::UnsteadySystem.
Definition at line 2407 of file EquationSystem.cpp.
References ASSERTL0.
|
privatevirtual |
Reimplemented in Nektar::SolverUtils::UnsteadySystem.
Definition at line 2416 of file EquationSystem.cpp.
References ASSERTL0.
Referenced by NumFluxforScalar().
|
privatevirtual |
Reimplemented in Nektar::SolverUtils::UnsteadySystem.
Definition at line 2424 of file EquationSystem.cpp.
References ASSERTL0.
Referenced by NumFluxforVector().
Write the field data to file. The file is named according to the session name with the extension .fld appended.
Reimplemented in Nektar::CoupledLinearNS, and Nektar::PulseWaveSystem.
Definition at line 1515 of file EquationSystem.cpp.
References m_sessionName, and WriteFld().
Referenced by Output().
|
protectedvirtual |
Set the physical fields based on a restart file, or a function describing the initial condition given in the session.
initialtime | Time at which to evaluate the function. |
dumpInitialConditions | Write the initial condition to file? |
Reimplemented in Nektar::CompressibleFlowSystem, Nektar::NonlinearPeregrine, Nektar::EulerADCFE, Nektar::EulerCFE, Nektar::NavierStokesCFE, Nektar::Monodomain, Nektar::Bidomain, and Nektar::BidomainRoth.
Definition at line 1180 of file EquationSystem.cpp.
References Checkpoint_Output(), DescribeFunction(), EvaluateFunction(), GetNcoeffs(), m_checksteps, m_fields, m_session, m_time, and Vmath::Zero().
Referenced by SetInitialConditions(), Nektar::BidomainRoth::v_SetInitialConditions(), Nektar::Bidomain::v_SetInitialConditions(), Nektar::Monodomain::v_SetInitialConditions(), Nektar::NavierStokesCFE::v_SetInitialConditions(), Nektar::EulerCFE::v_SetInitialConditions(), Nektar::EulerADCFE::v_SetInitialConditions(), and Nektar::NonlinearPeregrine::v_SetInitialConditions().
Virtual function for transformation to physical space.
Reimplemented in Nektar::IncNavierStokes, Nektar::CoupledLinearNS, and Nektar::VelocityCorrectionScheme.
Definition at line 1490 of file EquationSystem.cpp.
Referenced by TransCoeffToPhys().
Virtual function for transformation to coefficient space.
Reimplemented in Nektar::IncNavierStokes, Nektar::CoupledLinearNS, and Nektar::VelocityCorrectionScheme.
Definition at line 1498 of file EquationSystem.cpp.
Referenced by TransPhysToCoeff().
void Nektar::SolverUtils::EquationSystem::WeakAdvectionDivergenceForm | ( | const Array< OneD, Array< OneD, NekDouble > > & | F, |
Array< OneD, NekDouble > & | outarray | ||
) |
Compute the inner product .
Calculate Inner product of the divergence advection form , where for example .
F | Fields. |
outarray | Storage for result. |
Definition at line 1568 of file EquationSystem.cpp.
References Nektar::MultiRegions::DirCartesianMap, m_fields, and Vmath::Vadd().
void Nektar::SolverUtils::EquationSystem::WeakAdvectionGreensDivergenceForm | ( | const Array< OneD, Array< OneD, NekDouble > > & | F, |
Array< OneD, NekDouble > & | outarray | ||
) |
Compute the inner product .
Computes the weak Green form of advection terms (without boundary integral), i.e. where for example .
F | Fields. |
outarray | Storage for result. |
Definition at line 1555 of file EquationSystem.cpp.
References m_fields.
Referenced by WeakDGAdvection(), and WeakDGDiffusion().
void Nektar::SolverUtils::EquationSystem::WeakAdvectionNonConservativeForm | ( | const Array< OneD, Array< OneD, NekDouble > > & | V, |
const Array< OneD, const NekDouble > & | u, | ||
Array< OneD, NekDouble > & | outarray, | ||
bool | UseContCoeffs = false |
||
) |
Compute the inner product .
Calculate Inner product of the divergence advection form
V | Fields. |
u | Fields. |
outarray | Storage for result. |
Definition at line 1596 of file EquationSystem.cpp.
References AdvectionNonConservativeForm(), Nektar::MultiRegions::eGlobal, and m_fields.
void Nektar::SolverUtils::EquationSystem::WeakDGAdvection | ( | const Array< OneD, Array< OneD, NekDouble > > & | InField, |
Array< OneD, Array< OneD, NekDouble > > & | OutField, | ||
bool | NumericalFluxIncludesNormal = true , |
||
bool | InFieldIsInPhysSpace = false , |
||
int | nvariables = 0 |
||
) |
Calculate the weak discontinuous Galerkin advection.
Calculate weak DG advection in the form .
InField | Fields. |
OutField | Storage for result. |
NumericalFluxIncludesNormal | Default: true. |
InFieldIsPhysSpace | Default: false. |
nvariables | Number of fields. |
Definition at line 1693 of file EquationSystem.cpp.
References GetFluxVector(), GetNcoeffs(), GetNpoints(), GetTraceNpoints(), m_expdim, m_fields, Vmath::Neg(), NumericalFlux(), and WeakAdvectionGreensDivergenceForm().
Referenced by Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::PulseWavePropagation::DoOdeRhs(), Nektar::CFLtester::DoOdeRhs(), and Nektar::EigenValuesAdvection::v_DoSolve().
void Nektar::SolverUtils::EquationSystem::WeakDGDiffusion | ( | const Array< OneD, Array< OneD, NekDouble > > & | InField, |
Array< OneD, Array< OneD, NekDouble > > & | OutField, | ||
bool | NumericalFluxIncludesNormal = true , |
||
bool | InFieldIsInPhysSpace = false |
||
) |
Calculate weak DG Diffusion in the LDG form.
Calculate weak DG Diffusion in the LDG form
Definition at line 1807 of file EquationSystem.cpp.
References GetFluxVector(), GetNcoeffs(), GetNpoints(), GetTraceNpoints(), m_fields, m_spacedim, m_tanbasis, Vmath::Neg(), NumFluxforScalar(), NumFluxforVector(), Vmath::Vadd(), Vmath::Vcopy(), Vmath::Vmul(), and WeakAdvectionGreensDivergenceForm().
void Nektar::SolverUtils::EquationSystem::WriteFld | ( | const std::string & | outname | ) |
Write field data to the given filename.
Writes the field data to a file with the given filename.
outname | Filename to write to. |
Definition at line 2009 of file EquationSystem.cpp.
References GetNcoeffs(), m_boundaryConditions, m_fields, and v_ExtraFldOutput().
Referenced by Checkpoint_BaseFlow(), Checkpoint_Output(), Nektar::EulerCFE::SetInitialRinglebFlow(), Nektar::BidomainRoth::v_InitObject(), Nektar::Monodomain::v_InitObject(), Nektar::CoupledLinearNS::v_Output(), and v_Output().
void Nektar::SolverUtils::EquationSystem::WriteFld | ( | const std::string & | outname, |
MultiRegions::ExpListSharedPtr & | field, | ||
std::vector< Array< OneD, NekDouble > > & | fieldcoeffs, | ||
std::vector< std::string > & | variables | ||
) |
Write input fields to the given filename.
Writes the field data to a file with the given filename.
outname | Filename to write to. |
field | ExpList on which data is based. |
fieldcoeffs | An array of array of expansion coefficients. |
variables | An array of variable names. |
Definition at line 2046 of file EquationSystem.cpp.
References Nektar::GlobalMapping::Mapping::Load(), m_fieldMetaDataMap, m_fld, m_session, m_time, and Nektar::GlobalMapping::MappingSharedPtr.
SOLVER_UTILS_EXPORT void Nektar::SolverUtils::EquationSystem::WriteHistoryData | ( | std::ostream & | out | ) |
Probe each history point and write to file.
Zero the physical fields.
Definition at line 1523 of file EquationSystem.cpp.
References GetNpoints(), m_fields, and Vmath::Zero().
Referenced by Nektar::PulseWaveSystem::v_InitObject(), and v_InitObject().
|
protected |
Base fields.
Definition at line 462 of file EquationSystem.h.
Referenced by ImportFldBase(), and SetUpBaseFields().
|
protected |
Pointer to boundary conditions object.
Definition at line 466 of file EquationSystem.h.
Referenced by Nektar::CoupledLinearNS::DefineForcingTerm(), Nektar::CoupledLinearNS::v_DoInitialise(), Nektar::IncNavierStokes::v_InitObject(), Nektar::CoupledLinearNS::v_InitObject(), v_InitObject(), Nektar::CoupledLinearNS::v_Output(), and WriteFld().
Flag to indicate if the fields should be checked for singularity.
Definition at line 522 of file EquationSystem.h.
Referenced by v_InitObject().
|
protected |
Number of steps between checkpoints.
Definition at line 490 of file EquationSystem.h.
Referenced by GetCheckpointSteps(), SetCheckpointSteps(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), Nektar::SolverUtils::UnsteadySystem::v_GenerateSummary(), Nektar::PulseWaveSystem::v_InitObject(), v_InitObject(), Nektar::EulerCFE::v_SetInitialConditions(), and v_SetInitialConditions().
|
protected |
Time between checkpoints.
Definition at line 484 of file EquationSystem.h.
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), and v_InitObject().
|
protected |
Communicator.
Definition at line 450 of file EquationSystem.h.
Referenced by Nektar::IncNavierStokes::GetCFLEstimate(), Nektar::IterativeElasticSystem::v_InitObject(), Nektar::PulseWaveSystem::v_L2Error(), v_L2Error(), Nektar::IncNavierStokes::v_PostIntegrate(), and Nektar::NavierStokesCFE::v_SetInitialConditions().
|
protected |
Array holding all dependent variables.
Definition at line 464 of file EquationSystem.h.
|
protected |
Expansion dimension.
Definition at line 494 of file EquationSystem.h.
Referenced by Nektar::UnsteadyAdvection::GetFluxVectorDeAlias(), Nektar::CFLtester::GetStdVelocity(), SessionSummary(), Nektar::EulerCFE::SetBoundaryRinglebFlow(), SetUpBaseFields(), v_InitObject(), Nektar::NonlinearSWE::WallBoundary2D(), Nektar::LinearSWE::WallBoundary2D(), Nektar::NonlinearPeregrine::WallBoundary2D(), Nektar::NonlinearPeregrine::WallBoundaryForcing(), and WeakDGAdvection().
|
protected |
Map to identify relevant solver info to dump in output fields.
Definition at line 524 of file EquationSystem.h.
Referenced by Nektar::SolverUtils::UnsteadySystem::CheckForRestartTime(), EquationSystem(), Nektar::VCSMapping::v_DoInitialise(), Nektar::VelocityCorrectionScheme::v_DoInitialise(), Nektar::SolverUtils::UnsteadySystem::v_InitObject(), Nektar::IncNavierStokes::v_InitObject(), WriteFld(), and Nektar::PulseWaveSystem::WriteVessels().
|
protected |
Array holding all dependent variables.
Definition at line 460 of file EquationSystem.h.
Referenced by Nektar::UnsteadyAdvectionDiffusion::AddAdvectionPenaltyFlux(), Nektar::NonlinearSWE::AddCoriolis(), Nektar::LinearSWE::AddCoriolis(), Nektar::NonlinearPeregrine::AddCoriolis(), Nektar::NonlinearSWE::AddVariableDepth(), Nektar::NonlinearPeregrine::AddVariableDepth(), AdvectionNonConservativeForm(), Nektar::VCSMapping::ApplyIncNSMappingForcing(), Nektar::LinearElasticSystem::BuildMatrixSystem(), Nektar::IncNavierStokes::CalcSteadyState(), Nektar::SolverUtils::UnsteadySystem::CheckForRestartTime(), Nektar::CoupledLinearNS::Continuation(), Nektar::ShallowWaterSystem::CopyBoundaryTrace(), CopyFromPhysField(), CopyToPhysField(), Nektar::CoupledLinearNS::DefineForcingTerm(), Nektar::Bidomain::DoImplicitSolve(), Nektar::BidomainRoth::DoImplicitSolve(), Nektar::Monodomain::DoImplicitSolve(), Nektar::UnsteadyDiffusion::DoImplicitSolve(), Nektar::UnsteadyAdvectionDiffusion::DoImplicitSolve(), Nektar::UnsteadyViscousBurgers::DoImplicitSolve(), Nektar::NonlinearSWE::DoOdeProjection(), Nektar::LinearSWE::DoOdeProjection(), Nektar::UnsteadyInviscidBurger::DoOdeProjection(), Nektar::UnsteadyDiffusion::DoOdeProjection(), Nektar::APE::DoOdeProjection(), Nektar::UnsteadyAdvection::DoOdeProjection(), Nektar::NonlinearPeregrine::DoOdeProjection(), Nektar::UnsteadyAdvectionDiffusion::DoOdeProjection(), Nektar::CFLtester::DoOdeProjection(), Nektar::PulseWavePropagation::DoOdeRhs(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::NonlinearSWE::DoOdeRhs(), Nektar::UnsteadyInviscidBurger::DoOdeRhs(), Nektar::LinearSWE::DoOdeRhs(), Nektar::Bidomain::DoOdeRhs(), Nektar::UnsteadyDiffusion::DoOdeRhs(), Nektar::BidomainRoth::DoOdeRhs(), Nektar::NavierStokesCFE::DoOdeRhs(), Nektar::APE::DoOdeRhs(), Nektar::EulerCFE::DoOdeRhs(), Nektar::UnsteadyAdvection::DoOdeRhs(), Nektar::EulerADCFE::DoOdeRhs(), Nektar::NonlinearPeregrine::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::CFLtester::DoOdeRhs(), Nektar::UnsteadyViscousBurgers::DoOdeRhs(), ErrorExtraPoints(), Nektar::CoupledLinearNS::EvaluateAdvection(), Nektar::IncNavierStokes::EvaluateAdvectionTerms(), EvaluateFunction(), Nektar::CoupledLinearNS::EvaluateNewtonRHS(), Nektar::CompressibleFlowSystem::ExtrapOrder0BC(), FwdTransFields(), Nektar::APE::GetBasefield(), Nektar::IncNavierStokes::GetCFLEstimate(), GetCoeff_Offset(), Nektar::IncNavierStokes::GetElmtCFLVals(), Nektar::EulerCFE::GetExactIsentropicVortex(), Nektar::EulerCFE::GetExactRinglebFlow(), GetExpSize(), Nektar::NonlinearSWE::GetFluxVector(), Nektar::LinearSWE::GetFluxVector(), Nektar::NonlinearPeregrine::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVector(), Nektar::UnsteadyAdvectionDiffusion::GetFluxVectorAdv(), Nektar::UnsteadyViscousBurgers::GetFluxVectorAdv(), Nektar::UnsteadyAdvection::GetFluxVectorDeAlias(), Nektar::CompressibleFlowSystem::GetFluxVectorDeAlias(), Nektar::UnsteadyAdvectionDiffusion::GetMaxStdVelocity(), GetNcoeffs(), Nektar::UnsteadyAdvectionDiffusion::GetNormalVel(), Nektar::UnsteadyInviscidBurger::GetNormalVelocity(), Nektar::UnsteadyAdvection::GetNormalVelocity(), Nektar::UnsteadyViscousBurgers::GetNormalVelocity(), GetNpoints(), GetNumElmVelocity(), GetNumExpModesPerExp(), GetPhys_Offset(), Nektar::CFLtester::GetStdVelocity(), Nektar::UnsteadyAdvectionDiffusion::GetSubstepTimeStep(), GetTotPoints(), GetTraceNpoints(), Nektar::CompressibleFlowSystem::GetViscousFluxVector(), Nektar::CompressibleFlowSystem::GetViscousFluxVectorDeAlias(), ImportFld(), ImportFldBase(), ImportFldToMultiDomains(), Nektar::NonlinearPeregrine::LaitoneSolitaryWave(), Nektar::VCSMapping::MappingAccelerationCorrection(), Nektar::VCSMapping::MappingAdvectionCorrection(), Nektar::VCSMapping::MappingPressureCorrection(), Nektar::NonlinearPeregrine::NumericalFluxConsVariables(), Nektar::NonlinearPeregrine::NumericalFluxForcing(), Nektar::CompressibleFlowSystem::PressureInflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowBC(), Nektar::CompressibleFlowSystem::PressureOutflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowNonReflectiveBC(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), SessionSummary(), Nektar::NavierStokesCFE::SetBoundaryConditions(), Nektar::NonlinearSWE::SetBoundaryConditions(), Nektar::EulerADCFE::SetBoundaryConditions(), Nektar::EulerCFE::SetBoundaryConditions(), Nektar::LinearSWE::SetBoundaryConditions(), Nektar::APE::SetBoundaryConditions(), Nektar::NonlinearPeregrine::SetBoundaryConditions(), Nektar::IncNavierStokes::SetBoundaryConditions(), SetBoundaryConditions(), Nektar::NonlinearPeregrine::SetBoundaryConditionsContVariables(), Nektar::NonlinearPeregrine::SetBoundaryConditionsForcing(), Nektar::EulerCFE::SetBoundaryIsentropicVortex(), Nektar::EulerCFE::SetBoundaryRinglebFlow(), Nektar::CompressibleFlowSystem::SetCommonBC(), Nektar::EulerCFE::SetInitialIsentropicVortex(), Nektar::EulerCFE::SetInitialRinglebFlow(), Nektar::IncNavierStokes::SetRadiationBoundaryForcing(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::IncNavierStokes::SetZeroNormalVelocity(), Nektar::CoupledLinearNS::Solve(), Nektar::CoupledLinearNS::SolveLinearNS(), Nektar::CoupledLinearNS::SolveSteadyNavierStokes(), Nektar::VelocityCorrectionScheme::SolveUnsteadyStokesSystem(), Nektar::CoupledLinearNS::SolveUnsteadyStokesSystem(), Nektar::UnsteadyAdvectionDiffusion::SubStepAdvance(), Nektar::UnsteadyAdvectionDiffusion::SubStepAdvection(), Nektar::SolverUtils::UnsteadySystem::SVVVarDiffCoeff(), Nektar::CompressibleFlowSystem::SymmetryBC(), UpdateFields(), Nektar::APE::UpdateSourceTerms(), Nektar::SolverUtils::UnsteadySystem::v_AppendOutput1D(), Nektar::NonlinearSWE::v_ConservativeToPrimitive(), Nektar::LinearSWE::v_ConservativeToPrimitive(), Nektar::NonlinearPeregrine::v_ConservativeToPrimitive(), Nektar::SteadyAdvectionDiffusion::v_DoInitialise(), Nektar::VCSMapping::v_DoInitialise(), Nektar::VelocityCorrectionScheme::v_DoInitialise(), Nektar::PulseWaveSystem::v_DoInitialise(), Nektar::CoupledLinearNS::v_DoInitialise(), Nektar::EigenValuesAdvection::v_DoSolve(), Nektar::Laplace::v_DoSolve(), Nektar::SteadyAdvectionDiffusion::v_DoSolve(), Nektar::IterativeElasticSystem::v_DoSolve(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::LinearElasticSystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), Nektar::VCSMapping::v_EvaluateAdvection_SetPressureBCs(), Nektar::VelocityCorrectionScheme::v_EvaluateAdvection_SetPressureBCs(), v_EvaluateExactSolution(), Nektar::APE::v_ExtraFldOutput(), Nektar::LinearElasticSystem::v_ExtraFldOutput(), Nektar::Poisson::v_GenerateSummary(), Nektar::IncNavierStokes::v_GetFluxVector(), Nektar::CFLtester::v_GetTimeStep(), Nektar::Poisson::v_InitObject(), Nektar::VelocityCorrectionScheme::v_InitObject(), Nektar::VCSMapping::v_InitObject(), Nektar::NonlinearSWE::v_InitObject(), Nektar::LinearSWE::v_InitObject(), Nektar::Bidomain::v_InitObject(), Nektar::BidomainRoth::v_InitObject(), Nektar::Monodomain::v_InitObject(), Nektar::UnsteadyDiffusion::v_InitObject(), Nektar::ImageWarpingSystem::v_InitObject(), Nektar::IterativeElasticSystem::v_InitObject(), Nektar::APE::v_InitObject(), Nektar::EulerADCFE::v_InitObject(), Nektar::NonlinearPeregrine::v_InitObject(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::UnsteadyInviscidBurger::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::IncNavierStokes::v_InitObject(), Nektar::LinearElasticSystem::v_InitObject(), Nektar::UnsteadyAdvectionDiffusion::v_InitObject(), Nektar::UnsteadyViscousBurgers::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::CompressibleFlowSystem::v_InitObject(), Nektar::CoupledLinearNS::v_InitObject(), v_InitObject(), v_L2Error(), v_LinfError(), Nektar::EigenValuesAdvection::v_NumericalFlux(), Nektar::ImageWarpingSystem::v_NumericalFlux(), Nektar::CFLtester::v_NumericalFlux(), Nektar::IncNavierStokes::v_NumericalFlux(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforScalar(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforVector(), Nektar::CoupledLinearNS::v_Output(), Nektar::NonlinearSWE::v_PrimitiveToConservative(), Nektar::LinearSWE::v_PrimitiveToConservative(), Nektar::NonlinearPeregrine::v_PrimitiveToConservative(), Nektar::NavierStokesCFE::v_SetInitialConditions(), v_SetInitialConditions(), Nektar::VCSMapping::v_SetUpPressureForcing(), Nektar::VelocityCorrectionScheme::v_SetUpPressureForcing(), Nektar::VCSMapping::v_SetUpViscousForcing(), Nektar::VelocityCorrectionScheme::v_SetUpViscousForcing(), Nektar::VCSMapping::v_SolvePressure(), Nektar::VCSMapping::v_SolveViscous(), Nektar::VelocityCorrectionScheme::v_SolveViscous(), Nektar::VelocityCorrectionScheme::v_TransCoeffToPhys(), Nektar::CoupledLinearNS::v_TransCoeffToPhys(), Nektar::VelocityCorrectionScheme::v_TransPhysToCoeff(), Nektar::CoupledLinearNS::v_TransPhysToCoeff(), Nektar::APE::WallBC(), Nektar::CompressibleFlowSystem::WallBC(), Nektar::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), Nektar::NonlinearPeregrine::WallBoundary(), Nektar::NonlinearSWE::WallBoundary2D(), Nektar::LinearSWE::WallBoundary2D(), Nektar::NonlinearPeregrine::WallBoundary2D(), Nektar::NonlinearPeregrine::WallBoundaryContVariables(), Nektar::NonlinearPeregrine::WallBoundaryForcing(), Nektar::CompressibleFlowSystem::WallViscousBC(), Nektar::NonlinearPeregrine::WCESolve(), WeakAdvectionDivergenceForm(), WeakAdvectionGreensDivergenceForm(), WeakAdvectionNonConservativeForm(), WeakDGAdvection(), WeakDGDiffusion(), Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforScalar(), Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforVector(), WriteFld(), Nektar::IterativeElasticSystem::WriteGeometry(), and ZeroPhysFields().
|
protected |
Finish time of the simulation.
Definition at line 476 of file EquationSystem.h.
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::PulseWaveSystem::v_InitObject(), and v_InitObject().
|
protected |
Field input/output.
Definition at line 454 of file EquationSystem.h.
Referenced by Nektar::SolverUtils::UnsteadySystem::CheckForRestartTime(), EvaluateFunction(), ImportFld(), ImportFldBase(), v_InitObject(), and WriteFld().
|
protected |
1 x nvariable x nq
Definition at line 518 of file EquationSystem.h.
|
protected |
Pointer to graph defining mesh.
Definition at line 468 of file EquationSystem.h.
Referenced by ErrorExtraPoints(), Nektar::CoupledLinearNS::GenPressureExp(), GetNumExpModes(), InitialiseBaseFlow(), SetUpBaseFields(), Nektar::IterativeElasticSystem::v_DoSolve(), Nektar::LinearElasticSystem::v_DoSolve(), Nektar::ImageWarpingSystem::v_InitObject(), Nektar::LinearElasticSystem::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().
|
protected |
Flag to determine if half homogeneous mode is used.
Definition at line 498 of file EquationSystem.h.
Referenced by Nektar::IncNavierStokes::EvaluateAdvectionTerms(), SessionSummary(), SetUpBaseFields(), and v_InitObject().
|
protected |
number of homogenous directions
Definition at line 550 of file EquationSystem.h.
Referenced by v_InitObject().
|
protected |
Flag to determine if dealiasing is used for homogeneous simulations.
Definition at line 507 of file EquationSystem.h.
Referenced by SetUpBaseFields(), Nektar::VelocityCorrectionScheme::v_GenerateSummary(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().
|
protected |
Definition at line 540 of file EquationSystem.h.
Referenced by Nektar::IncNavierStokes::GetCFLEstimate(), Nektar::IncNavierStokes::GetElmtCFLVals(), SessionSummary(), Nektar::EulerCFE::SetBoundaryRinglebFlow(), SetUpBaseFields(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::CoupledLinearNS::SolveLinearNS(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::VelocityCorrectionScheme::v_InitObject(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().
|
protected |
Number of the step where the simulation should begin.
Definition at line 474 of file EquationSystem.h.
Referenced by SetInitialStep(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), and Nektar::SolverUtils::UnsteadySystem::v_InitObject().
|
protected |
Map of the interpolation indices for a specific filename.
Definition at line 458 of file EquationSystem.h.
Referenced by EvaluateFunction().
|
protected |
Map of the interpolation weights for a specific filename.
Definition at line 456 of file EquationSystem.h.
Referenced by EvaluateFunction().
|
protected |
Lambda constant in real system if one required.
Definition at line 480 of file EquationSystem.h.
Referenced by SetLambda(), and Nektar::CoupledLinearNS::v_DoInitialise().
|
protected |
physical length in X direction (if homogeneous)
Definition at line 542 of file EquationSystem.h.
|
protected |
physical length in Y direction (if homogeneous)
Definition at line 543 of file EquationSystem.h.
Referenced by v_InitObject().
|
protected |
physical length in Z direction (if homogeneous)
Definition at line 544 of file EquationSystem.h.
Referenced by SetUpBaseFields(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().
|
protected |
Definition at line 482 of file EquationSystem.h.
Referenced by EvaluateFunction().
|
protected |
Flag to determine if use multiple homogenenous modes are used.
Definition at line 500 of file EquationSystem.h.
Referenced by SessionSummary(), and v_InitObject().
|
protected |
Number of checkpoints written so far.
Definition at line 486 of file EquationSystem.h.
Referenced by GetCheckpointNumber(), SetCheckpointNumber(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), and v_InitObject().
|
protected |
number of points in X direction (if homogeneous)
Definition at line 546 of file EquationSystem.h.
|
protected |
number of points in Y direction (if homogeneous)
Definition at line 547 of file EquationSystem.h.
Referenced by SessionSummary(), and v_InitObject().
|
protected |
number of points in Z direction (if homogeneous)
Definition at line 548 of file EquationSystem.h.
Referenced by SessionSummary(), SetUpBaseFields(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::CoupledLinearNS::SolveLinearNS(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().
|
protected |
Number of Quadrature points used to work out the error.
Definition at line 527 of file EquationSystem.h.
Referenced by ErrorExtraPoints(), Nektar::PulseWaveSystem::v_InitObject(), v_InitObject(), Nektar::PulseWaveSystem::v_L2Error(), v_L2Error(), Nektar::PulseWaveSystem::v_LinfError(), and v_LinfError().
|
protected |
Type of projection; e.g continuous or discontinuous.
Definition at line 514 of file EquationSystem.h.
Referenced by Nektar::NonlinearSWE::AddCoriolis(), Nektar::LinearSWE::AddCoriolis(), Nektar::NonlinearPeregrine::AddCoriolis(), Nektar::NonlinearSWE::AddVariableDepth(), Nektar::NonlinearPeregrine::AddVariableDepth(), Nektar::ImageWarpingSystem::DoOdeProjection(), Nektar::NonlinearSWE::DoOdeProjection(), Nektar::LinearSWE::DoOdeProjection(), Nektar::UnsteadyInviscidBurger::DoOdeProjection(), Nektar::UnsteadyDiffusion::DoOdeProjection(), Nektar::NavierStokesCFE::DoOdeProjection(), Nektar::EulerCFE::DoOdeProjection(), Nektar::EulerADCFE::DoOdeProjection(), Nektar::UnsteadyAdvection::DoOdeProjection(), Nektar::NonlinearPeregrine::DoOdeProjection(), Nektar::UnsteadyAdvectionDiffusion::DoOdeProjection(), Nektar::CFLtester::DoOdeProjection(), Nektar::UnsteadyViscousBurgers::DoOdeProjection(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::NonlinearSWE::DoOdeRhs(), Nektar::LinearSWE::DoOdeRhs(), Nektar::NonlinearPeregrine::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::CFLtester::DoOdeRhs(), Nektar::UnsteadyViscousBurgers::DoOdeRhs(), SessionSummary(), SetUpBaseFields(), Nektar::EigenValuesAdvection::v_DoSolve(), Nektar::NonlinearSWE::v_InitObject(), Nektar::LinearSWE::v_InitObject(), Nektar::UnsteadyDiffusion::v_InitObject(), Nektar::APE::v_InitObject(), Nektar::NonlinearPeregrine::v_InitObject(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::UnsteadyInviscidBurger::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::UnsteadyAdvectionDiffusion::v_InitObject(), Nektar::UnsteadyViscousBurgers::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::CompressibleFlowSystem::v_InitObject(), and v_InitObject().
|
protected |
The session reader.
Definition at line 452 of file EquationSystem.h.
Referenced by Nektar::LinearElasticSystem::BuildMatrixSystem(), Nektar::SolverUtils::UnsteadySystem::CheckForRestartTime(), Nektar::CoupledLinearNS::DefineForcingTerm(), DescribeFunction(), Nektar::Bidomain::DoImplicitSolve(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::Bidomain::DoOdeRhs(), Nektar::BidomainRoth::DoOdeRhs(), EquationSystem(), ErrorExtraPoints(), EvaluateFunction(), GetNvariables(), GetSession(), Nektar::UnsteadyAdvectionDiffusion::GetSubstepTimeStep(), GetVariable(), Nektar::Helmholtz::Helmholtz(), ImportFld(), ImportFldBase(), ImportFldToMultiDomains(), PrintSummary(), SessionSummary(), Nektar::NonlinearSWE::SetBoundaryConditions(), Nektar::LinearSWE::SetBoundaryConditions(), Nektar::APE::SetBoundaryConditions(), Nektar::IncNavierStokes::SetBoundaryConditions(), SetBoundaryConditions(), Nektar::EulerCFE::SetBoundaryRinglebFlow(), Nektar::CompressibleFlowSystem::SetCommonBC(), Nektar::PulseWavePropagation::SetPulseWaveBoundaryConditions(), SetUpBaseFields(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::UnsteadyAdvectionDiffusion::SubStepAdvance(), Nektar::SteadyAdvectionDiffusion::v_DoInitialise(), Nektar::PulseWaveSystem::v_DoInitialise(), Nektar::CoupledLinearNS::v_DoInitialise(), Nektar::IterativeElasticSystem::v_DoSolve(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::LinearElasticSystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), v_EvaluateExactSolution(), Nektar::Poisson::v_GenerateSummary(), Nektar::LinearSWE::v_GenerateSummary(), Nektar::Monodomain::v_GenerateSummary(), Nektar::SolverUtils::UnsteadySystem::v_GenerateSummary(), Nektar::VelocityCorrectionScheme::v_GetForceDimension(), Nektar::CoupledLinearNS::v_GetForceDimension(), Nektar::Poisson::v_GetSystemSingularChecks(), Nektar::Helmholtz::v_GetSystemSingularChecks(), Nektar::Laplace::v_GetSystemSingularChecks(), Nektar::VelocityCorrectionScheme::v_GetSystemSingularChecks(), v_GetSystemSingularChecks(), Nektar::Poisson::v_InitObject(), Nektar::SteadyAdvectionDiffusionReaction::v_InitObject(), Nektar::VelocityCorrectionScheme::v_InitObject(), Nektar::PulseWaveSystemOutput::v_InitObject(), Nektar::VCSMapping::v_InitObject(), Nektar::LinearSWE::v_InitObject(), Nektar::NonlinearSWE::v_InitObject(), Nektar::BidomainRoth::v_InitObject(), Nektar::Bidomain::v_InitObject(), Nektar::Monodomain::v_InitObject(), Nektar::UnsteadyDiffusion::v_InitObject(), Nektar::ImageWarpingSystem::v_InitObject(), Nektar::PulseWavePropagation::v_InitObject(), Nektar::IterativeElasticSystem::v_InitObject(), Nektar::EulerCFE::v_InitObject(), Nektar::NavierStokesCFE::v_InitObject(), Nektar::EulerADCFE::v_InitObject(), Nektar::APE::v_InitObject(), Nektar::NonlinearPeregrine::v_InitObject(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::SolverUtils::UnsteadySystem::v_InitObject(), Nektar::UnsteadyInviscidBurger::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::IncNavierStokes::v_InitObject(), Nektar::LinearElasticSystem::v_InitObject(), Nektar::UnsteadyAdvectionDiffusion::v_InitObject(), Nektar::UnsteadyViscousBurgers::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::CompressibleFlowSystem::v_InitObject(), Nektar::CoupledLinearNS::v_InitObject(), v_InitObject(), Nektar::PulseWaveSystem::v_L2Error(), v_L2Error(), Nektar::PulseWaveSystem::v_LinfError(), v_LinfError(), Nektar::NavierStokesCFE::v_SetInitialConditions(), v_SetInitialConditions(), Nektar::VCSMapping::v_SolvePressure(), Nektar::VCSMapping::v_SolveViscous(), Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforScalar(), Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforVector(), WriteFld(), Nektar::IterativeElasticSystem::WriteGeometry(), and Nektar::PulseWaveSystem::WriteVessels().
|
protected |
Name of the session.
Definition at line 470 of file EquationSystem.h.
Referenced by Checkpoint_BaseFlow(), Nektar::PulseWaveSystem::CheckPoint_Output(), Checkpoint_Output(), GetSessionName(), ResetSessionName(), SessionSummary(), Nektar::EulerCFE::SetInitialRinglebFlow(), v_InitObject(), Nektar::PulseWaveSystem::v_Output(), Nektar::CoupledLinearNS::v_Output(), and v_Output().
|
protected |
Flag to determine if single homogeneous mode is used.
Definition at line 496 of file EquationSystem.h.
Referenced by Nektar::IncNavierStokes::EvaluateAdvectionTerms(), SessionSummary(), SetUpBaseFields(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::CoupledLinearNS::SolveLinearNS(), Nektar::CoupledLinearNS::v_InitObject(), v_InitObject(), and Nektar::CoupledLinearNS::v_Output().
|
protected |
Spatial dimension (>= expansion dim).
Definition at line 492 of file EquationSystem.h.
Referenced by Nektar::NonlinearSWE::AddVariableDepth(), Nektar::NonlinearPeregrine::AddVariableDepth(), Nektar::Bidomain::DoImplicitSolve(), Nektar::NonlinearSWE::DoOdeRhs(), Nektar::LinearSWE::DoOdeRhs(), Nektar::NavierStokesCFE::DoOdeRhs(), Nektar::APE::DoOdeRhs(), Nektar::EulerCFE::DoOdeRhs(), Nektar::EulerCFE::EvaluateIsentropicVortex(), Nektar::CompressibleFlowSystem::ExtrapOrder0BC(), Nektar::APE::GetBasefield(), Nektar::EulerCFE::GetExactIsentropicVortex(), Nektar::NonlinearSWE::GetFluxVector(), Nektar::LinearSWE::GetFluxVector(), Nektar::APE::GetFluxVector(), Nektar::NonlinearPeregrine::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVector(), Nektar::UnsteadyAdvection::GetFluxVectorDeAlias(), Nektar::CompressibleFlowSystem::GetFluxVectorDeAlias(), Nektar::UnsteadyInviscidBurger::GetNormalVelocity(), Nektar::CompressibleFlowSystem::GetPressure(), Nektar::NonlinearSWE::GetVelocityVector(), Nektar::LinearSWE::GetVelocityVector(), Nektar::NonlinearPeregrine::GetVelocityVector(), Nektar::CompressibleFlowSystem::GetViscousFluxVector(), Nektar::CompressibleFlowSystem::GetViscousFluxVectorDeAlias(), InitialiseBaseFlow(), Nektar::CompressibleFlowSystem::PressureInflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowBC(), Nektar::CompressibleFlowSystem::PressureOutflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowNonReflectiveBC(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), SessionSummary(), Nektar::EulerCFE::SetInitialIsentropicVortex(), Nektar::IncNavierStokes::SetZeroNormalVelocity(), Nektar::CompressibleFlowSystem::SymmetryBC(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::APE::v_ExtraFldOutput(), Nektar::EigenValuesAdvection::v_InitObject(), Nektar::SteadyAdvectionDiffusion::v_InitObject(), Nektar::BidomainRoth::v_InitObject(), Nektar::Bidomain::v_InitObject(), Nektar::Monodomain::v_InitObject(), Nektar::ImageWarpingSystem::v_InitObject(), Nektar::EulerADCFE::v_InitObject(), Nektar::APE::v_InitObject(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::CFLtester::v_InitObject(), Nektar::IncNavierStokes::v_InitObject(), Nektar::UnsteadyAdvectionDiffusion::v_InitObject(), Nektar::CompressibleFlowSystem::v_InitObject(), v_InitObject(), Nektar::EigenValuesAdvection::v_NumericalFlux(), Nektar::ImageWarpingSystem::v_NumericalFlux(), Nektar::CFLtester::v_NumericalFlux(), Nektar::IncNavierStokes::v_NumericalFlux(), Nektar::APE::WallBC(), Nektar::CompressibleFlowSystem::WallBC(), Nektar::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), Nektar::NonlinearPeregrine::WallBoundary(), Nektar::CompressibleFlowSystem::WallViscousBC(), and WeakDGDiffusion().
|
protected |
Flag to determine if dealisising is usde for the Spectral/hp element discretisation.
Definition at line 512 of file EquationSystem.h.
Referenced by Nektar::VelocityCorrectionScheme::v_GenerateSummary(), Nektar::VelocityCorrectionScheme::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::CompressibleFlowSystem::v_InitObject(), and v_InitObject().
|
protected |
Number of steps to take.
Definition at line 488 of file EquationSystem.h.
Referenced by GetSteps(), SetSteps(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), Nektar::SolverUtils::UnsteadySystem::v_GenerateSummary(), Nektar::PulseWaveSystem::v_InitObject(), and v_InitObject().
|
protected |
2 x m_spacedim x nq
Definition at line 520 of file EquationSystem.h.
Referenced by WeakDGDiffusion().
|
protected |
Current time of simulation.
Definition at line 472 of file EquationSystem.h.
Referenced by Nektar::EulerADCFE::DoOdeRhs(), ErrorExtraPoints(), Nektar::IncNavierStokes::EvaluateAdvectionTerms(), EvaluateFunction(), GetFinalTime(), SetTime(), Nektar::APE::UpdateBasefield(), Nektar::APE::UpdateSourceTerms(), Nektar::SolverUtils::UnsteadySystem::v_DoInitialise(), Nektar::VelocityCorrectionScheme::v_DoInitialise(), Nektar::IterativeElasticSystem::v_DoSolve(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), Nektar::SolverUtils::UnsteadySystem::v_InitObject(), Nektar::IncNavierStokes::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), v_InitObject(), Nektar::PulseWaveSystem::v_L2Error(), v_L2Error(), Nektar::PulseWaveSystem::v_LinfError(), v_LinfError(), Nektar::UnsteadyAdvectionDiffusion::v_PreIntegrate(), Nektar::IncNavierStokes::v_PreIntegrate(), v_SetInitialConditions(), WriteFld(), and Nektar::PulseWaveSystem::WriteVessels().
|
protected |
Time step size.
Definition at line 478 of file EquationSystem.h.
Referenced by Nektar::IncNavierStokes::GetElmtCFLVals(), GetTimeStep(), Nektar::UnsteadyAdvectionDiffusion::SubStepAdvance(), Nektar::VCSMapping::v_DoInitialise(), Nektar::VelocityCorrectionScheme::v_DoInitialise(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), Nektar::SolverUtils::UnsteadySystem::v_GenerateSummary(), Nektar::IncNavierStokes::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), and v_InitObject().
Array holding trace normals for DG simulations in the forwards direction.
Definition at line 516 of file EquationSystem.h.
Referenced by Nektar::APE::GetNormals(), Nektar::ShallowWaterSystem::GetNormals(), Nektar::CompressibleFlowSystem::GetNormals(), Nektar::UnsteadyAdvectionDiffusion::GetNormalVel(), Nektar::UnsteadyInviscidBurger::GetNormalVelocity(), Nektar::UnsteadyAdvection::GetNormalVelocity(), Nektar::UnsteadyViscousBurgers::GetNormalVelocity(), Nektar::CompressibleFlowSystem::PressureInflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowBC(), Nektar::CompressibleFlowSystem::PressureOutflowFileBC(), Nektar::CompressibleFlowSystem::PressureOutflowNonReflectiveBC(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), Nektar::CompressibleFlowSystem::SymmetryBC(), v_InitObject(), Nektar::EigenValuesAdvection::v_NumericalFlux(), Nektar::ImageWarpingSystem::v_NumericalFlux(), Nektar::CFLtester::v_NumericalFlux(), Nektar::IncNavierStokes::v_NumericalFlux(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforScalar(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforVector(), Nektar::APE::WallBC(), Nektar::CompressibleFlowSystem::WallBC(), Nektar::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), Nektar::NonlinearPeregrine::WallBoundary(), Nektar::NonlinearSWE::WallBoundary2D(), Nektar::LinearSWE::WallBoundary2D(), Nektar::NonlinearPeregrine::WallBoundary2D(), Nektar::NonlinearPeregrine::WallBoundaryForcing(), and Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforVector().
|
protected |
Flag to determine if FFT is used for homogeneous transform.
Definition at line 502 of file EquationSystem.h.
Referenced by SessionSummary(), SetUpBaseFields(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().