16 #include "gretl/double_state.hpp"
24 class TimestepEstimator;
25 class BoundaryConditionManager;
32 const std::shared_ptr<TimestepEstimator>& ts,
33 std::shared_ptr<BoundaryConditionManager> bc)
34 : residual_eval_(r), mass_residual_eval_(mr), ts_estimator_(ts), bc_manager_(bc)
40 const std::vector<FieldState>& states,
41 const std::vector<FieldState>& params)
const override;
44 const std::shared_ptr<WeakForm> residual_eval_;
45 const std::shared_ptr<WeakForm> mass_residual_eval_;
46 const std::shared_ptr<TimestepEstimator> ts_estimator_;
47 const std::shared_ptr<BoundaryConditionManager> bc_manager_;
48 mutable std::unique_ptr<FieldState>
Lumped mass explicit dynamics implementation for the StateAdvancer interface.
LumpedMassExplicitNewmarkStateAdvancer(const std::shared_ptr< WeakForm > &r, const std::shared_ptr< WeakForm > &mr, const std::shared_ptr< TimestepEstimator > &ts, std::shared_ptr< BoundaryConditionManager > bc)
Constructor for lumped mass explicit Newmark implementation.
std::vector< FieldState > advanceState(const TimeInfo &time_info, const FieldState &shape_disp, const std::vector< FieldState > &states, const std::vector< FieldState > ¶ms) const override
This is an overloaded member function, provided for convenience. It differs from the above function o...
Base state advancer class, allows specification for quasi-static solve strategies,...
A file defining some enums and structs that are used by the different physics modules.
Accelerator functionality.
gretl::State< FEFieldPtr, FEDualPtr > FieldState
typedef
Interface and implementations for advancing from one step to the next. Typically these are time integ...
struct storing time and timestep information