5#ifndef EQUATION_1MATRIX_H 
    6#define EQUATION_1MATRIX_H 
   17  template < 
typename _Type, 
typename _Xtype = 
double >
 
   53      problem = 
"The equation::matrix0 method has not been implemented!\n";
 
   54      problem += 
"You have to implement this method to define the equation.\n";
 
   65  template <
typename _Type, 
typename _Xtype>
 
   67    return MATRIX0_AT_LAST_STATE;
 
A specification of a (double/complex) residual class that not only defines a vector residual of a vec...
 
A matrix class that constructs a DENSE matrix as a row major std::vector of DenseVectors.
 
An DenseVector class – a dense vector object.
 
An equation object base class used in the IBVP classes (and others).
 
virtual void get_jacobian_of_matrix0_mult_vector(const DenseVector< _Type > &state, const DenseVector< _Type > &vec, DenseMatrix< _Type > &h) const
Return the product of the Jacobian-of-the-matrix and a vector 'vec' when the equation has a given 'st...
 
void update(const DenseVector< _Type > &state)
Update the Equation object for the current set of state variables.
 
virtual ~Equation_1matrix()
An empty destructor, virtual since we have virtual methods.
 
const DenseMatrix< _Type > & matrix0() const
Return a handle to the matrix.
 
virtual void matrix0(const DenseVector< _Type > &x, DenseMatrix< _Type > &m) const
Define the matrix in terms of the current state vector.
 
A generic runtime exception.
 
A base class to be inherited by objects that define residuals.
 
A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechani...