39#include <SolverCore/EquationSystems/UnsteadySystem.h>
40#include <SolverCore/Forcing/Forcing.h>
63template <
typename TData>
class PreconOp;
67using namespace SolverCore;
68using namespace MultiRegions;
130 std::map<double, std::shared_ptr<PreconOp<double>>>
m_preconOp;
144 const double &time,
const double &lambda);
148 const double &time,
const double &dt);
150 void v_InitObject(
bool declareExpansionLists =
true)
override;
A Field represents expansion data to be operated on.
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
Whole-field interface of the advection element operator: writes scale * (V . grad u) at every quadrat...
Whole-field interface of the backward transform: evaluates a coefficient-space field at the quadratur...
Whole-field interface of the inner product with the basis: integrates a physical-space field against ...
Whole-field interface of the element-wise inverse mass operator: replaces every element's coefficient...
Base class for unsteady solvers.
void v_InitialiseOperators() override
void DoImplicit(LibUtilities::Field< double, FieldState::Phys > &inout, LibUtilities::Field< double, FieldState::Phys > &out, const double &time, const double &lambda)
std::vector< double > m_diffCoeff
LibUtilities::Field< double, FieldState::Phys > m_traceAdvVel
The advection velocity on the local trace, which the trace flux operator reads through a pointer; kep...
LibUtilities::Field< double, FieldState::Phys > m_advectionVel
std::shared_ptr< LinearSolverOp< double > > m_linearSolverOp
SessionFunctionSharedPtr m_varDiffCoeffFunction
std::shared_ptr< SolverCore::TraceFluxOp< double > > m_traceFluxOp
std::shared_ptr< DiffusionIPOp< double > > m_diffusionIPOp
std::shared_ptr< LinearSystemOp< double > > m_linearSystemOp
std::map< double, std::shared_ptr< PreconOp< double > > > m_preconOp
std::shared_ptr< AdvectionWeakDGOp< double > > m_advectionWeakDGOp
static EquationSystemSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph)
Creates an instance of this class.
std::vector< ForcingSharedPtr > m_forcing
std::shared_ptr< AdvectionOp< double > > m_advectionCGOp
CFLVelocity v_GetCFLVelocity() override
Offer the advection velocity to the Courant estimate.
std::shared_ptr< MultiplyByElmtInvMassOp< double > > m_multiplyByElmtInvMassOp
static std::string className0
Name of class.
void SetDiffusionCoeff()
Set the diffusion Coeff. the diff. coeff., diffCoeff_{ij} := \epslion * D_{ij} where,...
void v_InitObject(bool declareExpansionLists=true) override
Initialisation object for the UnsteadyADR problem.
void v_GenerateSummary(SummaryList &s) override
Virtual function for generating summary information.
void LoadSessionParameters()
void DoExplicitRhs(LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time, const double &dt)
std::shared_ptr< FwdTransOp< double > > m_fwdTransOp
void DoProjection(LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time)
Project onto the solution space: a copy for DG, a forward and backward transform with the Dirichlet v...
static std::string className2
CoefficientFieldViews v_GetOutputFieldViews() override
Project the solution to coefficients and return views of them.
bool m_isTimeDependentDiffCoeff
static std::string className1
~UnsteadyADR() override=default
std::shared_ptr< LinearAdvVolumeFluxOp< double > > m_volumeFluxOp
std::shared_ptr< IProductWRTBaseOp< double > > m_iProductWRTBaseOp
std::shared_ptr< BwdTransOp< double > > m_bwdTransOp
LibUtilities::Field< double, FieldState::Phys > m_varDiffCoeff
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::vector< std::pair< std::string, std::string > > SummaryList
std::shared_ptr< EquationSystem > EquationSystemSharedPtr
A shared pointer to an EquationSystem object.
std::shared_ptr< SessionFunction > SessionFunctionSharedPtr
std::shared_ptr< MeshGraph > MeshGraphSharedPtr