32 system_time(sys.time),
33 elem_solution_derivative(1.),
34 elem_solution_rate_derivative(1.),
35 elem_solution_accel_derivative(1.),
36 fixed_solution_derivative(0.),
37 _dof_indices_var(sys.
n_vars()),
43 unsigned int nv = sys.
n_vars();
55 std::size_t n_qoi = sys.
qoi.size();
59 for (std::size_t q=0; q != n_qoi; ++q)
62 for (
unsigned int i=0; i != nv; ++i)
66 for (std::size_t q=0; q != n_qoi; ++q)
91 for (
unsigned int j=0; j != nv; ++j)
124 unsigned int nv = sys.
n_vars();
129 for (
unsigned int i=0; i != nv; ++i)
144 return localized_vectors_it->second.first;
158 return *localized_vectors_it->second.second[var];
DenseVector< Number > _elem_solution
std::vector< Number > _elem_qoi
std::vector< std::unique_ptr< DenseSubVector< Number > > > _elem_subsolution_rates
DenseVector< Number > _elem_fixed_solution
std::vector< std::unique_ptr< DenseSubVector< Number > > > _elem_subresiduals
std::vector< std::unique_ptr< DenseSubVector< Number > > > _elem_subsolution_accels
std::vector< DenseVector< Number > > _elem_qoi_derivative
DenseMatrix< Number > _elem_jacobian
std::vector< std::vector< std::unique_ptr< DenseSubVector< Number > > > > _elem_qoi_subderivatives
virtual bool is_steady() const =0
const unsigned int n_vars
DiffContext(const System &)
void add_localized_vector(NumericVector< Number > &localized_vector, const System &sys)
virtual unsigned int time_order() const =0
const std::set< unsigned int > & get_second_order_vars() const
std::map< const NumericVector< Number > *, std::pair< DenseVector< Number >, std::vector< std::unique_ptr< DenseSubVector< Number > > > > > _localized_vectors
std::vector< Number > qoi
Manages consistently variables, degrees of freedom, and coefficient vectors.
std::vector< std::unique_ptr< DenseSubVector< Number > > > _elem_subsolutions
std::vector< std::vector< std::unique_ptr< DenseSubMatrix< Number > > > > _elem_subjacobians
DenseSubVector< Number > & get_localized_subvector(const NumericVector< Number > &localized_vector, unsigned int var)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
DenseVector< Number > _elem_residual
DenseVector< Number > & get_localized_vector(const NumericVector< Number > &localized_vector)
void set_deltat_pointer(Real *dt)
DenseVector< Number > _elem_solution_accel
unsigned int n_vars() const
std::vector< std::unique_ptr< DenseSubVector< Number > > > _elem_fixed_subsolutions
TimeSolver & get_time_solver()
DenseVector< Number > _elem_solution_rate