20#include "libmesh/enum_fe_family.h"
21#include "libmesh/fem_system.h"
22#include "libmesh/parameter_pointer.h"
23#include "libmesh/parameter_vector.h"
36 const std::string & name_in,
37 const unsigned int number_in)
60 for(
unsigned int i = 0; i <
R_plus_dp.size()-1; i++)
79 for (std::size_t i = 0; i !=
parameters.size(); ++i)
std::vector< Number > parameters
unsigned int & fe_order()
void perturb_accumulate_residuals(ParameterVector ¶meters)
bool & analytic_jacobians()
std::vector< Number > R_minus_dp
ParameterVector parameter_vector
std::vector< Number > deltat_vector
ParameterVector & get_parameter_vector()
std::string & fe_family()
HeatSystem(EquationSystems &es, const std::string &name_in, const unsigned int number_in)
virtual bool element_time_derivative(bool request_jacobian, DiffContext &context)
Adds the time derivative contribution on elem to elem_residual.
Number & get_QoI_value(unsigned int QoI_index)
virtual void init_context(DiffContext &context)
Number & compute_final_sensitivity()
virtual void init_data()
Initializes the member data fields associated with the system, so that, e.g., assemble() may be used.
std::vector< Number > R_plus_dp
virtual void element_qoi_derivative(DiffContext &context, const QoISet &)
Does any work that needs to be done on elem in a quantity of interest derivative assembly loop,...
This class provides all data required for a physics package (e.g.
This is the EquationSystems class.
This class provides a specific system class.
Accessor object allowing reading and modification of the independent variables in a parameter sensiti...
Data structure for specifying which Parameters should be independent variables in a parameter sensiti...
void push_back(std::unique_ptr< ParameterAccessor< Number > > new_accessor)
Adds an additional parameter accessor to the end of the vector.
Data structure for specifying which Quantities of Interest should be calculated in an adjoint or a pa...
void init_qois(unsigned int n_qois)
Accessors for qoi and qoi_error_estimates vectors.
The libMesh namespace provides an interface to certain functionality in the library.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real