PRISMS-PF Manual v3.0-pre
Loading...
Searching...
No Matches
variableContainer< dim, degree, T > Class Template Reference

Public Member Functions

 variableContainer (const dealii::MatrixFree< dim, double > &data, const std::vector< variable_info > &_varInfoList, const std::vector< variable_info > &_varChangeInfoList)
 
 variableContainer (const dealii::MatrixFree< dim, double > &data, const std::vector< variable_info > &_varInfoList)
 
 variableContainer (const dealii::MatrixFree< dim, double > &data, const std::vector< variable_info > &_varInfoList, const unsigned int &fixed_index)
 
get_scalar_value (unsigned int global_variable_index) const
 
dealii::Tensor< 1, dim, T > get_scalar_gradient (unsigned int global_variable_index) const
 
dealii::Tensor< 2, dim, T > get_scalar_hessian (unsigned int global_variable_index) const
 
dealii::Tensor< 1, dim, T > get_vector_value (unsigned int global_variable_index) const
 
dealii::Tensor< 2, dim, T > get_vector_gradient (unsigned int global_variable_index) const
 
dealii::Tensor< 3, dim, T > get_vector_hessian (unsigned int global_variable_index) const
 
get_change_in_scalar_value (unsigned int global_variable_index) const
 
dealii::Tensor< 1, dim, T > get_change_in_scalar_gradient (unsigned int global_variable_index) const
 
dealii::Tensor< 2, dim, T > get_change_in_scalar_hessian (unsigned int global_variable_index) const
 
dealii::Tensor< 1, dim, T > get_change_in_vector_value (unsigned int global_variable_index) const
 
dealii::Tensor< 2, dim, T > get_change_in_vector_gradient (unsigned int global_variable_index) const
 
dealii::Tensor< 3, dim, T > get_change_in_vector_hessian (unsigned int global_variable_index) const
 
void set_scalar_value_term_RHS (unsigned int global_variable_index, T val)
 
void set_scalar_gradient_term_RHS (unsigned int global_variable_index, dealii::Tensor< 1, dim, T > grad)
 
void set_vector_value_term_RHS (unsigned int global_variable_index, dealii::Tensor< 1, dim, T > val)
 
void set_vector_gradient_term_RHS (unsigned int global_variable_index, dealii::Tensor< 2, dim, T > grad)
 
void set_scalar_value_term_LHS (unsigned int global_variable_index, T val)
 
void set_scalar_gradient_term_LHS (unsigned int global_variable_index, dealii::Tensor< 1, dim, T > grad)
 
void set_vector_value_term_LHS (unsigned int global_variable_index, dealii::Tensor< 1, dim, T > val)
 
void set_vector_gradient_term_LHS (unsigned int global_variable_index, dealii::Tensor< 2, dim, T > grad)
 
void reinit_and_eval (const std::vector< dealii::LinearAlgebra::distributed::Vector< double > * > &src, unsigned int cell)
 
void reinit_and_eval_change_in_solution (const dealii::LinearAlgebra::distributed::Vector< double > &src, unsigned int cell, unsigned int var_being_solved)
 
void reinit (unsigned int cell)
 
void integrate_and_distribute (std::vector< dealii::LinearAlgebra::distributed::Vector< double > * > &dst)
 
void integrate_and_distribute_change_in_solution_LHS (dealii::LinearAlgebra::distributed::Vector< double > &dst, const unsigned int var_being_solved)
 
unsigned int get_num_q_points () const
 
dealii::Point< dim, T > get_q_point_location () const
 

Public Attributes

unsigned int q_point
 

Member Function Documentation

◆ reinit_and_eval_change_in_solution()

template<int dim, int degree, typename T >
void variableContainer< dim, degree, T >::reinit_and_eval_change_in_solution ( const dealii::LinearAlgebra::distributed::Vector< double > &  src,
unsigned int  cell,
unsigned int  var_being_solved 
)

This is specialized for the LHS where a change in solution is needed. The RHS method takes the src as a vector of dealii::LinearAlgebra::distributed::Vector<double>s.


The documentation for this class was generated from the following files: