18 #include "libmesh/second_order_unsteady_solver.h" 20 #include "libmesh/diff_system.h" 21 #include "libmesh/dof_map.h" 22 #include "libmesh/numeric_vector.h" 46 #ifdef LIBMESH_ENABLE_GHOSTED 64 #ifdef LIBMESH_ENABLE_GHOSTED 95 libmesh_not_implemented();
virtual void reinit() override
The reinitialization function.
Number old_solution_accel(const dof_id_type global_dof_number) const
virtual void init_data() override
The data initialization function.
Provides a uniform interface to vector storage schemes for different linear algebra libraries...
NumericVector< Number > & add_vector(std::string_view vec_name, const bool projections=true, const ParallelType type=PARALLEL)
Adds the additional vector vec_name to this system.
dof_id_type n_dofs(const unsigned int vn) const
std::unique_ptr< NumericVector< Number > > _old_local_solution_accel
Serial vector of previous time step acceleration .
The libMesh namespace provides an interface to certain functionality in the library.
dof_id_type n_local_dofs() const
virtual void init() override
The initialization function.
SecondOrderUnsteadySolver(sys_type &s)
Constructor.
dof_id_type n_dofs() const
This class provides a specific system class.
sys_type & _system
A reference to the system we are solving.
virtual void reinit() override
The reinitialization function.
virtual void init_data() override
The data initialization function.
virtual ~SecondOrderUnsteadySolver()
Destructor.
virtual void retrieve_timestep() override
This method retrieves all the stored solutions at the current system.time.
Number old_solution_rate(const dof_id_type global_dof_number) const
This is a generic class that defines a solver to handle time integration of DifferentiableSystems.
void project_vector(NumericVector< Number > &new_vector, FunctionBase< Number > *f, FunctionBase< Gradient > *g=nullptr, int is_adjoint=-1) const
Projects arbitrary functions onto a vector of degree of freedom values for the current system...
void project_initial_rate(FunctionBase< Number > *f, FunctionBase< Gradient > *g=nullptr)
Specify non-zero initial velocity.
std::unique_ptr< NumericVector< Number > > _old_local_solution_rate
Serial vector of previous time step velocity .
virtual void init() override
The initialization function.
const DofMap & get_dof_map() const
const std::vector< dof_id_type > & get_send_list() const
const NumericVector< Number > & get_vector(std::string_view vec_name) const