18#ifndef ADVECTION_SYSTEM_H
19#define ADVECTION_SYSTEM_H
43 const std::string&
name,
44 const unsigned int number);
108 std::vector<std::unique_ptr<NumericVector<Number>>>
_Fh;
This class extends ClawSystem to implement pure advection in 2D.
Point _u
The (assumed constant) advection velocity.
virtual void init_data() override
Initialize the system (e.g.
virtual void print_info() override
Print out some info about the system's configuration.
virtual void assemble_claw_rhs(NumericVector< Number > &q) override
Right-hand side assembly.
AdvectionSystem sys_type
The type of system.
unsigned int _q1_var
Variable number for q1.
ClawSystem Parent
The type of the parent.
std::vector< std::unique_ptr< NumericVector< Number > > > _Fh
The advective flux vectors.
Order _fe_order
Store the FE Order and family specified by the input file.
virtual void process_parameters_file(const std::string ¶meters_filename) override
Read in data from input file.
void update_Fh(NumericVector< Number > &q)
Computes the vectors "uq" and "vq" where (u,v) are the (given, constant) advective velocity coefficie...
virtual ~AdvectionSystem()
Destructor.
This class encapsulates functionality that allows us to solve conservation laws.
This is the EquationSystems class.
Provides a uniform interface to vector storage schemes for different linear algebra libraries.
A Point defines a location in LIBMESH_DIM dimensional Real space.
const std::string & name() const
unsigned int number() const
The libMesh namespace provides an interface to certain functionality in the library.