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 | EvaluateFunctionExp (std::string pFieldName, Array< OneD, NekDouble > &pArray, const std::string &pFunctionName, const NekDouble &pTime=0.0, const int domain=0) |
SOLVER_UTILS_EXPORT void | EvaluateFunctionFld (std::string pFieldName, Array< OneD, NekDouble > &pArray, const std::string &pFunctionName, const NekDouble &pTime=0.0, const int domain=0) |
SOLVER_UTILS_EXPORT void | EvaluateFunctionPts (std::string pFieldName, Array< OneD, NekDouble > &pArray, const std::string &pFunctionName, const NekDouble &pTime=0.0, const int domain=0) |
SOLVER_UTILS_EXPORT void | LoadPts (std::string funcFilename, std::string filename, Nektar::LibUtilities::PtsFieldSharedPtr &outPts) |
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, FieldUtils::Interpolator > | m_interpolators |
Map of interpolator objects. More... | |
std::map< std::string, std::pair< std::string, LibUtilities::PtsFieldSharedPtr > > | m_loadedPtsFields |
pts fields we already read from disk: {funcFilename: (filename, ptsfield)} More... | |
std::map< std::string, std::pair< std::string, loadedFldField > > | m_loadedFldFields |
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... | |
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 77 of file EquationSystem.h.
|
protected |
Parameter for homogeneous expansions.
Enumerator | |
---|---|
eHomogeneous1D | |
eHomogeneous2D | |
eHomogeneous3D | |
eNotHomogeneous |
Definition at line 538 of file EquationSystem.h.
|
virtual |
Destructor.
Destructor for class EquationSystem.
Definition at line 674 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 1802 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 114 of file EquationSystem.h.
References ASSERTL1, and CellMLToNektar.cellml_metadata::p.
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 2168 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 2142 of file EquationSystem.cpp.
References m_sessionName, and WriteFld().
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::CoupledLinearNS::v_DoSolve(), Nektar::IsentropicVortex::v_SetInitialConditions(), Nektar::NonlinearPeregrine::v_SetInitialConditions(), Nektar::CompressibleFlowSystem::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 2153 of file EquationSystem.cpp.
References m_sessionName, and WriteFld().
|
inline |
Definition at line 937 of file EquationSystem.h.
References m_fields, and Vmath::Vcopy().
|
inline |
Definition at line 943 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 1119 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 717 of file EquationSystem.h.
References v_DoInitialise().
Solve the problem.
Performs the actual solve.
Public interface routine to virtual function implementation.
Definition at line 749 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 1279 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 828 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 688 of file EquationSystem.cpp.
References ASSERTL0, and m_session.
Referenced by Nektar::CoupledLinearNS::DefineForcingTerm(), Nektar::ShallowWaterSystem::EvaluateCoriolis(), EvaluateFunction(), Nektar::ShallowWaterSystem::EvaluateWaterDepth(), InitialiseBaseFlow(), Nektar::SteadyAdvectionDiffusion::v_DoInitialise(), Nektar::CoupledLinearNS::v_DoInitialise(), Nektar::LinearElasticSystem::v_DoSolve(), v_EvaluateExactSolution(), Nektar::Poisson::v_InitObject(), Nektar::EigenValuesAdvection::v_InitObject(), Nektar::Projection::v_InitObject(), Nektar::BidomainRoth::v_InitObject(), Nektar::Monodomain::v_InitObject(), Nektar::APE::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(), Nektar::APE::v_PreIntegrate(), 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 711 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 736 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 757 of file EquationSystem.cpp.
References ASSERTL0, Nektar::LibUtilities::eFunctionTypeExpression, Nektar::LibUtilities::eFunctionTypeFile, Nektar::LibUtilities::eFunctionTypeTransientFile, EvaluateFunctionExp(), EvaluateFunctionFld(), EvaluateFunctionPts(), and m_session.
|
protected |
Definition at line 791 of file EquationSystem.cpp.
References ASSERTL0, Nektar::LibUtilities::eFunctionTypeExpression, m_fields, and m_session.
Referenced by EvaluateFunction().
|
protected |
Definition at line 824 of file EquationSystem.cpp.
References ASSERTL0, Nektar::LibUtilities::FieldIO::CreateForFile(), Nektar::LibUtilities::eFunctionTypeFile, Nektar::LibUtilities::eFunctionTypeTransientFile, CellMLToNektar.pycml::format, GetNcoeffs(), m_fields, m_loadedFldFields, m_session, and Nektar::LibUtilities::NullFieldMetaDataMap.
Referenced by EvaluateFunction().
|
protected |
Definition at line 958 of file EquationSystem.cpp.
References ASSERTL0, Nektar::LibUtilities::eFunctionTypeFile, Nektar::LibUtilities::eFunctionTypeTransientFile, CellMLToNektar.pycml::format, LoadPts(), m_fields, m_loadedPtsFields, and m_session.
Referenced by EvaluateFunction().
FwdTrans the m_fields members
Definition at line 1708 of file EquationSystem.cpp.
References m_fields.
|
inline |
Definition at line 418 of file EquationSystem.h.
References m_nchk.
|
inline |
Definition at line 428 of file EquationSystem.h.
References m_checksteps.
|
inline |
Definition at line 897 of file EquationSystem.h.
References m_fields.
|
inline |
Definition at line 887 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::CompressibleFlowSystem::GetStabilityLimitVector(), and Nektar::UnsteadyAdvectionDiffusion::SubStepAdvance().
|
inline |
Return final time.
Definition at line 841 of file EquationSystem.h.
References m_time.
|
inline |
Definition at line 949 of file EquationSystem.h.
References v_GetFluxVector().
Referenced by WeakDGAdvection(), and WeakDGDiffusion().
|
inline |
Definition at line 956 of file EquationSystem.h.
References v_GetFluxVector().
|
inline |
Definition at line 964 of file EquationSystem.h.
References v_GetFluxVector().
|
inline |
Definition at line 846 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(), EvaluateFunctionFld(), ImportFld(), ImportFldToMultiDomains(), Nektar::CoupledLinearNS::SolveLinearNS(), Nektar::CoupledLinearNS::SolveUnsteadyStokesSystem(), Nektar::EigenValuesAdvection::v_DoSolve(), Nektar::Projection::v_DoSolve(), Nektar::Laplace::v_DoSolve(), Nektar::APE::v_ExtraFldOutput(), Nektar::CoupledLinearNS::v_Output(), Nektar::APE::v_PreIntegrate(), v_SetInitialConditions(), WeakDGAdvection(), WeakDGDiffusion(), and WriteFld().
|
inline |
Definition at line 851 of file EquationSystem.h.
References m_fields.
|
inline |
Definition at line 912 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::UnsteadyAdvection::DoOdeProjection(), Nektar::NonlinearPeregrine::DoOdeProjection(), Nektar::UnsteadyAdvectionDiffusion::DoOdeProjection(), Nektar::CFLtester::DoOdeProjection(), Nektar::UnsteadyViscousBurgers::DoOdeProjection(), Nektar::CompressibleFlowSystem::DoOdeProjection(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::UnsteadyInviscidBurger::DoOdeRhs(), Nektar::UnsteadyAdvection::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::CFLtester::DoOdeRhs(), Nektar::UnsteadyViscousBurgers::DoOdeRhs(), Nektar::CompressibleFlowSystem::DoOdeRhs(), Nektar::UnsteadyInviscidBurger::GetFluxVector(), Nektar::UnsteadyDiffusion::GetFluxVector(), Nektar::UnsteadyAdvectionDiffusion::GetFluxVectorDiff(), Nektar::UnsteadyViscousBurgers::GetFluxVectorDiff(), Nektar::UnsteadyInviscidBurger::GetNormalVelocity(), Nektar::SolverUtils::UnsteadySystem::v_AppendOutput1D(), Nektar::NavierStokesCFE::v_DoDiffusion(), 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 917 of file EquationSystem.h.
References m_fields.
|
inline |
Definition at line 856 of file EquationSystem.h.
References m_graph.
Referenced by ErrorExtraPoints().
Definition at line 862 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::APE::GetCFLEstimate(), Nektar::IncNavierStokes::GetElmtCFLVals(), and Nektar::CompressibleFlowSystem::v_GetTimeStep().
|
inline |
Definition at line 867 of file EquationSystem.h.
References m_session.
Referenced by ImportFldToMultiDomains().
|
inline |
Definition at line 892 of file EquationSystem.h.
References m_fields.
Referenced by Nektar::IncNavierStokes::SetRadiationBoundaryForcing(), Nektar::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforScalar(), and Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforVector().
|
inline |
Get pressure field if available.
Get Pressure field if available
Definition at line 784 of file EquationSystem.h.
References v_GetPressure().
|
inline |
Get Session name.
Definition at line 133 of file EquationSystem.h.
References m_session.
Referenced by LoadPts().
|
inline |
Get Session name.
Definition at line 108 of file EquationSystem.h.
References m_sessionName.
|
inline |
Definition at line 922 of file EquationSystem.h.
References m_steps.
Definition at line 927 of file EquationSystem.h.
References m_timestep.
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve().
|
inline |
Definition at line 902 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::CompressibleFlowSystem::CalcSteadyState(), Nektar::NonlinearSWE::ConservativeToPrimitive(), Nektar::LinearSWE::ConservativeToPrimitive(), Nektar::NonlinearPeregrine::ConservativeToPrimitive(), Nektar::NonlinearSWE::DoOdeRhs(), Nektar::LinearSWE::DoOdeRhs(), Nektar::NonlinearPeregrine::DoOdeRhs(), Nektar::APE::DoOdeRhs(), Nektar::RinglebFlow::GetExactRinglebFlow(), Nektar::CFLtester::GetStdVelocity(), Nektar::CompressibleFlowSystem::GetStdVelocity(), Nektar::NonlinearPeregrine::LaitoneSolitaryWave(), Nektar::NonlinearSWE::PrimitiveToConservative(), Nektar::LinearSWE::PrimitiveToConservative(), Nektar::NonlinearPeregrine::PrimitiveToConservative(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::NonlinearSWE::v_ConservativeToPrimitive(), Nektar::LinearSWE::v_ConservativeToPrimitive(), Nektar::NonlinearPeregrine::v_ConservativeToPrimitive(), Nektar::IsentropicVortex::v_EvaluateExactSolution(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::APE::v_InitObject(), Nektar::NonlinearSWE::v_PrimitiveToConservative(), Nektar::LinearSWE::v_PrimitiveToConservative(), Nektar::NonlinearPeregrine::v_PrimitiveToConservative(), Nektar::IsentropicVortex::v_SetInitialConditions(), and Nektar::NonlinearPeregrine::WCESolve().
|
inline |
Definition at line 907 of file EquationSystem.h.
References m_fields.
|
inline |
Definition at line 882 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 877 of file EquationSystem.h.
References GetTraceNpoints().
Referenced by Nektar::NonlinearPeregrine::DoOdeRhs(), Nektar::CompressibleFlowSystem::DoOdeRhs(), Nektar::NonlinearPeregrine::NumericalFluxConsVariables(), Nektar::NonlinearPeregrine::NumericalFluxForcing(), Nektar::NonlinearSWE::SetBoundaryConditions(), Nektar::LinearSWE::SetBoundaryConditions(), Nektar::APE::SetBoundaryConditions(), Nektar::CompressibleFlowSystem::SetBoundaryConditions(), Nektar::NonlinearPeregrine::SetBoundaryConditions(), Nektar::NavierStokesCFE::v_DoDiffusion(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::PulseWavePropagation::v_NumericalFlux(), Nektar::NonlinearPeregrine::WallBoundaryContVariables(), and Nektar::NonlinearPeregrine::WallBoundaryForcing().
|
inline |
Definition at line 872 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 2270 of file EquationSystem.cpp.
References ASSERTL1, Nektar::LibUtilities::FieldIO::CreateForFile(), GetNcoeffs(), m_fields, 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 2396 of file EquationSystem.cpp.
References ASSERTL0, Nektar::LibUtilities::FieldIO::CreateForFile(), m_fields, m_session, 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 2355 of file EquationSystem.cpp.
References ASSERTL1, Nektar::LibUtilities::FieldIO::CreateForFile(), m_fields, m_session, and Vmath::Zero().
|
protected |
Definition at line 1607 of file EquationSystem.cpp.
References ASSERTL0, Nektar::LibUtilities::FieldIO::CreateForFile(), m_base, m_fields, 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 2312 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 1427 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 705 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 776 of file EquationSystem.h.
References v_L2Error().
Referenced by L2Error().
|
inline |
Compute the L2 error of the fields.
Definition at line 208 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 767 of file EquationSystem.h.
References v_LinfError().
|
protected |
Definition at line 1058 of file EquationSystem.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::FieldUtils::eShepard, GetSession(), Nektar::LibUtilities::PtsIO::Import(), m_comm, m_fields, m_interpolators, m_session, and PrintProgressbar().
Referenced by EvaluateFunctionPts().
|
inlineprotected |
Definition at line 565 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 2519 of file EquationSystem.cpp.
Referenced by nocase_cmp().
|
inline |
Definition at line 971 of file EquationSystem.h.
References v_NumericalFlux().
Referenced by WeakDGAdvection().
|
inline |
Definition at line 977 of file EquationSystem.h.
References v_NumericalFlux().
|
inline |
Definition at line 984 of file EquationSystem.h.
References v_NumFluxforScalar().
Referenced by WeakDGDiffusion().
|
inline |
Definition at line 991 of file EquationSystem.h.
References v_NumFluxforVector().
Referenced by WeakDGDiffusion().
Perform output operations after solve.
Perform output operations after solve.
Definition at line 758 of file EquationSystem.h.
References v_Output().
|
inlineprivate |
Definition at line 692 of file EquationSystem.h.
References Nektar::LibUtilities::PrintProgressbar().
Referenced by LoadPts().
|
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 796 of file EquationSystem.h.
References m_session, and v_GenerateSummary().
|
inline |
Reset Session name.
Definition at line 127 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 2428 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_LhomY, m_LhomZ, m_multipleModes, m_npointsY, m_npointsZ, m_projectionType, m_session, m_sessionName, m_singleMode, m_spacedim, and m_useFFT.
Referenced by Nektar::Projection::v_GenerateSummary(), 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 1152 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 423 of file EquationSystem.h.
References m_nchk.
|
inline |
Definition at line 433 of file EquationSystem.h.
References m_checksteps.
|
inline |
Initialise the data in the dependent fields.
Definition at line 820 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 444 of file EquationSystem.h.
References m_initialStep.
Set parameter m_lambda.
Definition at line 815 of file EquationSystem.h.
References m_lambda.
|
inline |
|
inline |
Definition at line 932 of file EquationSystem.h.
References m_steps.
|
inline |
Definition at line 438 of file EquationSystem.h.
References m_time.
|
protected |
Definition at line 1440 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 728 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 738 of file EquationSystem.h.
References v_TransPhysToCoeff().
|
inline |
Get hold of FieldInfoMap so it can be updated.
|
inline |
Definition at line 835 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 1421 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, Nektar::Projection, and Nektar::EigenValuesAdvection.
Definition at line 1645 of file EquationSystem.cpp.
Referenced by DoSolve().
|
protectedvirtual |
Reimplemented in Nektar::IsentropicVortex, and Nektar::RinglebFlow.
Definition at line 1402 of file EquationSystem.cpp.
References ASSERTL0, EvaluateFunction(), m_fields, m_session, and Vmath::Zero().
Referenced by EvaluateExactSolution().
|
protectedvirtual |
Reimplemented in Nektar::CompressibleFlowSystem, Nektar::LinearElasticSystem, and Nektar::APE.
Definition at line 2629 of file EquationSystem.cpp.
Referenced by WriteFld().
|
protectedvirtual |
Virtual function for generating summary information.
Reimplemented in Nektar::CoupledLinearNS, Nektar::UnsteadyViscousBurgers, Nektar::UnsteadyAdvectionDiffusion, Nektar::VelocityCorrectionScheme, Nektar::CFLtester, Nektar::LinearElasticSystem, Nektar::UnsteadyAdvection, Nektar::NonlinearPeregrine, Nektar::SolverUtils::UnsteadySystem, Nektar::PulseWavePropagation, Nektar::Monodomain, Nektar::Bidomain, Nektar::BidomainRoth, Nektar::ShallowWaterSystem, Nektar::LinearSWE, Nektar::NonlinearSWE, Nektar::ImageWarpingSystem, Nektar::IterativeElasticSystem, Nektar::Laplace, Nektar::SteadyAdvectionDiffusion, Nektar::UnsteadyDiffusion, Nektar::Projection, Nektar::VCSWeakPressure, Nektar::Helmholtz, Nektar::SteadyAdvectionDiffusionReaction, Nektar::IsentropicVortex, Nektar::RinglebFlow, and Nektar::Poisson.
Definition at line 1678 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 2560 of file EquationSystem.cpp.
References ASSERTL0.
Referenced by GetFluxVector().
|
privatevirtual |
|
privatevirtual |
|
protectedvirtual |
Reimplemented in Nektar::IncNavierStokes.
Definition at line 2622 of file EquationSystem.cpp.
References ASSERTL0.
Referenced by GetPressure().
|
privatevirtual |
Reimplemented in Nektar::VelocityCorrectionScheme, Nektar::Laplace, Nektar::Helmholtz, and Nektar::Poisson.
Definition at line 2555 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::IncNavierStokes, Nektar::PulseWaveSystem, Nektar::UnsteadyViscousBurgers, Nektar::UnsteadyAdvectionDiffusion, Nektar::LinearElasticSystem, Nektar::CFLtester, Nektar::CompressibleFlowSystem, Nektar::UnsteadyAdvection, Nektar::SolverUtils::UnsteadySystem, Nektar::UnsteadyInviscidBurger, Nektar::APE, Nektar::ShallowWaterSystem, Nektar::NonlinearPeregrine, Nektar::IterativeElasticSystem, Nektar::PulseWavePropagation, Nektar::ImageWarpingSystem, Nektar::UnsteadyDiffusion, Nektar::Monodomain, Nektar::Bidomain, Nektar::BidomainRoth, Nektar::VCSMapping, Nektar::LinearSWE, Nektar::NonlinearSWE, Nektar::PulseWaveSystemOutput, Nektar::Laplace, Nektar::SteadyAdvectionDiffusion, Nektar::Projection, Nektar::NavierStokesCFE, Nektar::EigenValuesAdvection, Nektar::Helmholtz, Nektar::SteadyAdvectionDiffusionReaction, Nektar::VelocityCorrectionScheme, Nektar::Poisson, and Nektar::SolverUtils::AdvectionSystem.
Definition at line 120 of file EquationSystem.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::FieldIO::CreateDefault(), 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::Projection::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 1170 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 1230 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 1655 of file EquationSystem.cpp.
|
privatevirtual |
Reimplemented in Nektar::IncNavierStokes, Nektar::CFLtester, Nektar::SolverUtils::UnsteadySystem, Nektar::PulseWavePropagation, Nektar::ImageWarpingSystem, and Nektar::EigenValuesAdvection.
Definition at line 2588 of file EquationSystem.cpp.
References ASSERTL0.
Referenced by NumericalFlux().
|
privatevirtual |
Reimplemented in Nektar::SolverUtils::UnsteadySystem.
Definition at line 2596 of file EquationSystem.cpp.
References ASSERTL0.
|
privatevirtual |
Reimplemented in Nektar::SolverUtils::UnsteadySystem.
Definition at line 2605 of file EquationSystem.cpp.
References ASSERTL0.
Referenced by NumFluxforScalar().
|
privatevirtual |
Reimplemented in Nektar::SolverUtils::UnsteadySystem.
Definition at line 2613 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 1688 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::Monodomain, Nektar::Bidomain, Nektar::BidomainRoth, and Nektar::IsentropicVortex.
Definition at line 1351 of file EquationSystem.cpp.
References Checkpoint_Output(), DescribeFunction(), EvaluateFunction(), GetNcoeffs(), m_checksteps, m_fields, m_nchk, m_session, m_time, and Vmath::Zero().
Referenced by SetInitialConditions(), Nektar::Bidomain::v_SetInitialConditions(), Nektar::BidomainRoth::v_SetInitialConditions(), Nektar::Monodomain::v_SetInitialConditions(), Nektar::NonlinearPeregrine::v_SetInitialConditions(), and Nektar::CompressibleFlowSystem::v_SetInitialConditions().
Virtual function for transformation to physical space.
Reimplemented in Nektar::IncNavierStokes, Nektar::CoupledLinearNS, and Nektar::VelocityCorrectionScheme.
Definition at line 1663 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 1671 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 1741 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 1728 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 1769 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 1866 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 1980 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 2180 of file EquationSystem.cpp.
References GetNcoeffs(), m_boundaryConditions, m_fields, and v_ExtraFldOutput().
Referenced by Checkpoint_BaseFlow(), Checkpoint_Output(), 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 2217 of file EquationSystem.cpp.
References Nektar::GlobalMapping::Mapping::Load(), m_fieldMetaDataMap, m_fld, m_nchk, 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 1696 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 472 of file EquationSystem.h.
Referenced by ImportFldBase(), and SetUpBaseFields().
|
protected |
Pointer to boundary conditions object.
Definition at line 476 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 530 of file EquationSystem.h.
Referenced by v_InitObject().
|
protected |
Number of steps between checkpoints.
Definition at line 498 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::IsentropicVortex::v_SetInitialConditions(), and v_SetInitialConditions().
|
protected |
Time between checkpoints.
Definition at line 492 of file EquationSystem.h.
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), and v_InitObject().
|
protected |
Communicator.
Definition at line 458 of file EquationSystem.h.
Referenced by Nektar::CompressibleFlowSystem::CalcSteadyState(), Nektar::APE::GetCFLEstimate(), Nektar::IncNavierStokes::GetCFLEstimate(), Nektar::CompressibleFlowSystem::InitializeSteadyState(), LoadPts(), Nektar::CompressibleFlowSystem::v_GetTimeStep(), Nektar::IterativeElasticSystem::v_InitObject(), Nektar::PulseWaveSystem::v_L2Error(), v_L2Error(), Nektar::APE::v_PostIntegrate(), Nektar::CompressibleFlowSystem::v_PostIntegrate(), Nektar::IncNavierStokes::v_PostIntegrate(), and Nektar::CompressibleFlowSystem::v_SetInitialConditions().
|
protected |
Array holding all dependent variables.
Definition at line 474 of file EquationSystem.h.
|
protected |
Expansion dimension.
Definition at line 502 of file EquationSystem.h.
Referenced by Nektar::UnsteadyAdvection::GetFluxVectorDeAlias(), Nektar::CFLtester::GetStdVelocity(), SessionSummary(), 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 532 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 470 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::CompressibleFlowSystem::CalcSteadyState(), Nektar::IncNavierStokes::CalcSteadyState(), Nektar::SolverUtils::UnsteadySystem::CheckForRestartTime(), Nektar::CoupledLinearNS::Continuation(), Nektar::ShallowWaterSystem::CopyBoundaryTrace(), CopyFromPhysField(), CopyToPhysField(), Nektar::CoupledLinearNS::DefineForcingTerm(), Nektar::CompressibleFlowSystem::DoAdvection(), 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::UnsteadyAdvection::DoOdeProjection(), Nektar::NonlinearPeregrine::DoOdeProjection(), Nektar::APE::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::UnsteadyAdvection::DoOdeRhs(), Nektar::NonlinearPeregrine::DoOdeRhs(), Nektar::APE::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::CFLtester::DoOdeRhs(), Nektar::UnsteadyViscousBurgers::DoOdeRhs(), Nektar::CompressibleFlowSystem::DoOdeRhs(), ErrorExtraPoints(), Nektar::CoupledLinearNS::EvaluateAdvection(), Nektar::IncNavierStokes::EvaluateAdvectionTerms(), EvaluateFunctionExp(), EvaluateFunctionFld(), EvaluateFunctionPts(), Nektar::CoupledLinearNS::EvaluateNewtonRHS(), FwdTransFields(), Nektar::APE::GetBasefield(), Nektar::APE::GetCFLEstimate(), Nektar::IncNavierStokes::GetCFLEstimate(), GetCoeff_Offset(), Nektar::IncNavierStokes::GetElmtCFLVals(), Nektar::RinglebFlow::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::CompressibleFlowSystem::GetStabilityLimitVector(), Nektar::APE::GetStdVelocity(), Nektar::CFLtester::GetStdVelocity(), Nektar::CompressibleFlowSystem::GetStdVelocity(), Nektar::UnsteadyAdvectionDiffusion::GetSubstepTimeStep(), GetTotPoints(), GetTraceNpoints(), Nektar::NavierStokesCFE::GetViscousFluxVector(), Nektar::NavierStokesCFE::GetViscousFluxVectorDeAlias(), ImportFld(), ImportFldBase(), ImportFldToMultiDomains(), Nektar::CompressibleFlowSystem::InitAdvection(), Nektar::CompressibleFlowSystem::InitializeSteadyState(), Nektar::NonlinearPeregrine::LaitoneSolitaryWave(), LoadPts(), Nektar::VCSMapping::MappingAccelerationCorrection(), Nektar::VCSMapping::MappingAdvectionCorrection(), Nektar::VCSMapping::MappingPressureCorrection(), Nektar::NonlinearPeregrine::NumericalFluxConsVariables(), Nektar::NonlinearPeregrine::NumericalFluxForcing(), SessionSummary(), Nektar::NonlinearSWE::SetBoundaryConditions(), Nektar::LinearSWE::SetBoundaryConditions(), Nektar::APE::SetBoundaryConditions(), Nektar::CompressibleFlowSystem::SetBoundaryConditions(), Nektar::NonlinearPeregrine::SetBoundaryConditions(), Nektar::IncNavierStokes::SetBoundaryConditions(), SetBoundaryConditions(), Nektar::NonlinearPeregrine::SetBoundaryConditionsContVariables(), Nektar::NonlinearPeregrine::SetBoundaryConditionsForcing(), Nektar::IncNavierStokes::SetRadiationBoundaryForcing(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::IncNavierStokes::SetWomersleyBoundary(), Nektar::IncNavierStokes::SetZeroNormalVelocity(), Nektar::CoupledLinearNS::Solve(), Nektar::CoupledLinearNS::SolveLinearNS(), Nektar::CoupledLinearNS::SolveSteadyNavierStokes(), Nektar::CoupledLinearNS::SolveUnsteadyStokesSystem(), Nektar::UnsteadyAdvectionDiffusion::SubStepAdvance(), Nektar::UnsteadyAdvectionDiffusion::SubStepAdvection(), Nektar::SolverUtils::UnsteadySystem::SVVVarDiffCoeff(), UpdateFields(), Nektar::SolverUtils::UnsteadySystem::v_AppendOutput1D(), Nektar::NonlinearSWE::v_ConservativeToPrimitive(), Nektar::LinearSWE::v_ConservativeToPrimitive(), Nektar::NonlinearPeregrine::v_ConservativeToPrimitive(), Nektar::NavierStokesCFE::v_DoDiffusion(), 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::Projection::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(), Nektar::IsentropicVortex::v_EvaluateExactSolution(), v_EvaluateExactSolution(), Nektar::LinearElasticSystem::v_ExtraFldOutput(), Nektar::CompressibleFlowSystem::v_ExtraFldOutput(), Nektar::Poisson::v_GenerateSummary(), Nektar::Projection::v_GenerateSummary(), Nektar::IncNavierStokes::v_GetFluxVector(), Nektar::CFLtester::v_GetTimeStep(), Nektar::CompressibleFlowSystem::v_GetTimeStep(), Nektar::Poisson::v_InitObject(), Nektar::VelocityCorrectionScheme::v_InitObject(), Nektar::Projection::v_InitObject(), Nektar::NavierStokesCFE::v_InitObject(), Nektar::NonlinearSWE::v_InitObject(), Nektar::LinearSWE::v_InitObject(), Nektar::VCSMapping::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::NonlinearPeregrine::v_InitObject(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::APE::v_InitObject(), Nektar::UnsteadyInviscidBurger::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::CompressibleFlowSystem::v_InitObject(), Nektar::LinearElasticSystem::v_InitObject(), Nektar::UnsteadyAdvectionDiffusion::v_InitObject(), Nektar::UnsteadyViscousBurgers::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::IncNavierStokes::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::IsentropicVortex::v_SetInitialConditions(), Nektar::CompressibleFlowSystem::v_SetInitialConditions(), v_SetInitialConditions(), Nektar::VCSWeakPressure::v_SetUpPressureForcing(), 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::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), Nektar::NonlinearPeregrine::WallBoundary(), Nektar::NonlinearSWE::WallBoundary2D(), Nektar::LinearSWE::WallBoundary2D(), Nektar::NonlinearPeregrine::WallBoundary2D(), Nektar::NonlinearPeregrine::WallBoundaryContVariables(), Nektar::NonlinearPeregrine::WallBoundaryForcing(), 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 486 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 462 of file EquationSystem.h.
Referenced by v_InitObject(), and WriteFld().
|
protected |
1 x nvariable x nq
Definition at line 526 of file EquationSystem.h.
|
protected |
Pointer to graph defining mesh.
Definition at line 478 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::APE::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 506 of file EquationSystem.h.
Referenced by SessionSummary(), SetUpBaseFields(), and v_InitObject().
|
protected |
number of homogenous directions
Definition at line 558 of file EquationSystem.h.
Referenced by v_InitObject().
|
protected |
Flag to determine if dealiasing is used for homogeneous simulations.
Definition at line 515 of file EquationSystem.h.
Referenced by SetUpBaseFields(), Nektar::VCSWeakPressure::v_GenerateSummary(), Nektar::VelocityCorrectionScheme::v_GenerateSummary(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().
|
protected |
Definition at line 548 of file EquationSystem.h.
Referenced by Nektar::CompressibleFlowSystem::DoOdeRhs(), Nektar::IncNavierStokes::GetCFLEstimate(), Nektar::IncNavierStokes::GetElmtCFLVals(), SessionSummary(), SetUpBaseFields(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::CoupledLinearNS::SolveLinearNS(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::VCSWeakPressure::v_GenerateSummary(), Nektar::VelocityCorrectionScheme::v_GenerateSummary(), Nektar::VelocityCorrectionScheme::v_InitObject(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().
|
protected |
Number of the step where the simulation should begin.
Definition at line 484 of file EquationSystem.h.
Referenced by SetInitialStep(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), and Nektar::SolverUtils::UnsteadySystem::v_InitObject().
|
protected |
Map of interpolator objects.
Definition at line 464 of file EquationSystem.h.
Referenced by LoadPts().
|
protected |
Lambda constant in real system if one required.
Definition at line 490 of file EquationSystem.h.
Referenced by SetLambda(), and Nektar::CoupledLinearNS::v_DoInitialise().
|
protected |
physical length in X direction (if homogeneous)
Definition at line 550 of file EquationSystem.h.
|
protected |
physical length in Y direction (if homogeneous)
Definition at line 551 of file EquationSystem.h.
Referenced by SessionSummary(), and v_InitObject().
|
protected |
physical length in Z direction (if homogeneous)
Definition at line 552 of file EquationSystem.h.
Referenced by SessionSummary(), SetUpBaseFields(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().
|
protected |
Definition at line 468 of file EquationSystem.h.
Referenced by EvaluateFunctionFld().
|
protected |
pts fields we already read from disk: {funcFilename: (filename, ptsfield)}
Definition at line 466 of file EquationSystem.h.
Referenced by EvaluateFunctionPts().
|
protected |
Flag to determine if use multiple homogenenous modes are used.
Definition at line 508 of file EquationSystem.h.
Referenced by SessionSummary(), and v_InitObject().
|
protected |
Number of checkpoints written so far.
Definition at line 494 of file EquationSystem.h.
Referenced by GetCheckpointNumber(), SetCheckpointNumber(), Nektar::SolverUtils::UnsteadySystem::v_DoInitialise(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), v_InitObject(), v_SetInitialConditions(), and WriteFld().
|
protected |
number of points in X direction (if homogeneous)
Definition at line 554 of file EquationSystem.h.
|
protected |
number of points in Y direction (if homogeneous)
Definition at line 555 of file EquationSystem.h.
Referenced by SessionSummary(), and v_InitObject().
|
protected |
number of points in Z direction (if homogeneous)
Definition at line 556 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 535 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 522 of file EquationSystem.h.
Referenced by Nektar::NonlinearSWE::AddCoriolis(), Nektar::LinearSWE::AddCoriolis(), Nektar::NonlinearPeregrine::AddCoriolis(), Nektar::NonlinearSWE::AddVariableDepth(), Nektar::NonlinearPeregrine::AddVariableDepth(), Nektar::UnsteadyAdvectionDiffusion::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::CompressibleFlowSystem::DoOdeProjection(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::NonlinearSWE::DoOdeRhs(), Nektar::LinearSWE::DoOdeRhs(), Nektar::NonlinearPeregrine::DoOdeRhs(), Nektar::CFLtester::DoOdeRhs(), Nektar::UnsteadyViscousBurgers::DoOdeRhs(), Nektar::CompressibleFlowSystem::GetStabilityLimit(), Nektar::CompressibleFlowSystem::InitAdvection(), SessionSummary(), SetUpBaseFields(), Nektar::EigenValuesAdvection::v_DoSolve(), Nektar::NonlinearSWE::v_InitObject(), Nektar::LinearSWE::v_InitObject(), Nektar::UnsteadyDiffusion::v_InitObject(), Nektar::NonlinearPeregrine::v_InitObject(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::APE::v_InitObject(), Nektar::UnsteadyInviscidBurger::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::UnsteadyAdvectionDiffusion::v_InitObject(), Nektar::UnsteadyViscousBurgers::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), and v_InitObject().
|
protected |
The session reader.
Definition at line 460 of file EquationSystem.h.
Referenced by Nektar::LinearElasticSystem::BuildMatrixSystem(), Nektar::CompressibleFlowSystem::CalcSteadyState(), Nektar::SolverUtils::UnsteadySystem::CheckForRestartTime(), Nektar::CoupledLinearNS::DefineForcingTerm(), DescribeFunction(), Nektar::Bidomain::DoImplicitSolve(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::BidomainRoth::DoOdeRhs(), Nektar::Bidomain::DoOdeRhs(), EquationSystem(), ErrorExtraPoints(), EvaluateFunction(), EvaluateFunctionExp(), EvaluateFunctionFld(), EvaluateFunctionPts(), GetNvariables(), GetSession(), Nektar::UnsteadyAdvectionDiffusion::GetSubstepTimeStep(), GetVariable(), Nektar::Helmholtz::Helmholtz(), ImportFld(), ImportFldBase(), ImportFldToMultiDomains(), Nektar::CompressibleFlowSystem::InitAdvection(), Nektar::CompressibleFlowSystem::InitialiseParameters(), Nektar::CompressibleFlowSystem::InitializeSteadyState(), LoadPts(), PrintSummary(), SessionSummary(), Nektar::NonlinearSWE::SetBoundaryConditions(), Nektar::LinearSWE::SetBoundaryConditions(), Nektar::APE::SetBoundaryConditions(), Nektar::IncNavierStokes::SetBoundaryConditions(), SetBoundaryConditions(), 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::APE::v_ExtraFldOutput(), Nektar::CompressibleFlowSystem::v_ExtraFldOutput(), Nektar::Poisson::v_GenerateSummary(), Nektar::Projection::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::NavierStokesCFE::v_InitObject(), Nektar::Projection::v_InitObject(), Nektar::PulseWaveSystemOutput::v_InitObject(), Nektar::NonlinearSWE::v_InitObject(), Nektar::VCSMapping::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::PulseWavePropagation::v_InitObject(), Nektar::IterativeElasticSystem::v_InitObject(), Nektar::NonlinearPeregrine::v_InitObject(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::APE::v_InitObject(), Nektar::SolverUtils::UnsteadySystem::v_InitObject(), Nektar::UnsteadyInviscidBurger::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::CompressibleFlowSystem::v_InitObject(), Nektar::LinearElasticSystem::v_InitObject(), Nektar::UnsteadyAdvectionDiffusion::v_InitObject(), Nektar::UnsteadyViscousBurgers::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::IncNavierStokes::v_InitObject(), Nektar::CoupledLinearNS::v_InitObject(), v_InitObject(), Nektar::PulseWaveSystem::v_L2Error(), v_L2Error(), Nektar::PulseWaveSystem::v_LinfError(), v_LinfError(), Nektar::CompressibleFlowSystem::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 480 of file EquationSystem.h.
Referenced by Checkpoint_BaseFlow(), Nektar::PulseWaveSystem::CheckPoint_Output(), Checkpoint_Output(), GetSessionName(), ResetSessionName(), SessionSummary(), 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 504 of file EquationSystem.h.
Referenced by 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 500 of file EquationSystem.h.
Referenced by Nektar::NonlinearSWE::AddVariableDepth(), Nektar::NonlinearPeregrine::AddVariableDepth(), Nektar::CompressibleFlowSystem::DoAdvection(), Nektar::Bidomain::DoImplicitSolve(), Nektar::NonlinearSWE::DoOdeRhs(), Nektar::LinearSWE::DoOdeRhs(), Nektar::APE::DoOdeRhs(), Nektar::IsentropicVortex::EvaluateIsentropicVortex(), Nektar::APE::GetBasefield(), 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::APE::GetStdVelocity(), Nektar::CompressibleFlowSystem::GetStdVelocity(), Nektar::NonlinearSWE::GetVelocityVector(), Nektar::LinearSWE::GetVelocityVector(), Nektar::NonlinearPeregrine::GetVelocityVector(), Nektar::NavierStokesCFE::GetViscousFluxVector(), Nektar::NavierStokesCFE::GetViscousFluxVectorDeAlias(), InitialiseBaseFlow(), Nektar::CompressibleFlowSystem::InitialiseParameters(), SessionSummary(), Nektar::IncNavierStokes::SetZeroNormalVelocity(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::IsentropicVortex::v_EvaluateExactSolution(), Nektar::APE::v_ExtraFldOutput(), Nektar::EigenValuesAdvection::v_InitObject(), Nektar::SteadyAdvectionDiffusion::v_InitObject(), Nektar::Bidomain::v_InitObject(), Nektar::BidomainRoth::v_InitObject(), Nektar::Monodomain::v_InitObject(), Nektar::ImageWarpingSystem::v_InitObject(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::APE::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), Nektar::CompressibleFlowSystem::v_InitObject(), Nektar::CFLtester::v_InitObject(), Nektar::UnsteadyAdvectionDiffusion::v_InitObject(), Nektar::IncNavierStokes::v_InitObject(), v_InitObject(), Nektar::EigenValuesAdvection::v_NumericalFlux(), Nektar::ImageWarpingSystem::v_NumericalFlux(), Nektar::CFLtester::v_NumericalFlux(), Nektar::IncNavierStokes::v_NumericalFlux(), Nektar::APE::v_PreIntegrate(), Nektar::IsentropicVortex::v_SetInitialConditions(), Nektar::APE::WallBC(), Nektar::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), Nektar::NonlinearPeregrine::WallBoundary(), and WeakDGDiffusion().
|
protected |
Flag to determine if dealisising is usde for the Spectral/hp element discretisation.
Definition at line 520 of file EquationSystem.h.
Referenced by Nektar::CompressibleFlowSystem::InitAdvection(), Nektar::VCSWeakPressure::v_GenerateSummary(), Nektar::VelocityCorrectionScheme::v_GenerateSummary(), Nektar::VelocityCorrectionScheme::v_InitObject(), Nektar::NavierStokesCFE::v_InitObject(), Nektar::UnsteadyAdvection::v_InitObject(), and v_InitObject().
|
protected |
Number of steps to take.
Definition at line 496 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 528 of file EquationSystem.h.
Referenced by WeakDGDiffusion().
|
protected |
Current time of simulation.
Definition at line 482 of file EquationSystem.h.
Referenced by Nektar::CompressibleFlowSystem::CalcSteadyState(), Nektar::APE::DoOdeRhs(), ErrorExtraPoints(), Nektar::IncNavierStokes::EvaluateAdvectionTerms(), GetFinalTime(), SetTime(), Nektar::IncNavierStokes::SetWomersleyBoundary(), Nektar::SolverUtils::UnsteadySystem::v_DoInitialise(), Nektar::VelocityCorrectionScheme::v_DoInitialise(), Nektar::IterativeElasticSystem::v_DoSolve(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), Nektar::APE::v_InitObject(), Nektar::SolverUtils::UnsteadySystem::v_InitObject(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::IncNavierStokes::v_InitObject(), v_InitObject(), Nektar::PulseWaveSystem::v_L2Error(), v_L2Error(), Nektar::PulseWaveSystem::v_LinfError(), v_LinfError(), Nektar::APE::v_PreIntegrate(), Nektar::UnsteadyAdvectionDiffusion::v_PreIntegrate(), Nektar::IncNavierStokes::v_PreIntegrate(), v_SetInitialConditions(), WriteFld(), and Nektar::PulseWaveSystem::WriteVessels().
|
protected |
Time step size.
Definition at line 488 of file EquationSystem.h.
Referenced by Nektar::APE::GetCFLEstimate(), 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::VCSMapping::v_EvaluateAdvection_SetPressureBCs(), Nektar::SolverUtils::UnsteadySystem::v_GenerateSummary(), Nektar::PulseWaveSystem::v_InitObject(), Nektar::IncNavierStokes::v_InitObject(), v_InitObject(), and Nektar::IncNavierStokes::v_PreIntegrate().
Array holding trace normals for DG simulations in the forwards direction.
Definition at line 524 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::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(), Nektar::APE::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 510 of file EquationSystem.h.
Referenced by SessionSummary(), SetUpBaseFields(), Nektar::CoupledLinearNS::v_InitObject(), and v_InitObject().