Minimalistic DiscreteProblem interface required by NoxProblemInterface.
More...
#include <dp_interface.h>
|
virtual int | get_num_dofs () const =0 |
| Get the number of unknowns.
|
|
virtual bool | is_matrix_free () const =0 |
| Get info about presence of a matrix.
|
|
virtual void | assemble (Scalar *coeff_vec, SparseMatrix< Scalar > *mat, Vector< Scalar > *rhs=NULL, bool force_diagonal_blocks=false, Table *block_weights=NULL)=0 |
|
virtual void | assemble (Scalar *coeff_vec, Vector< Scalar > *rhs=NULL, bool force_diagonal_blocks=false, Table *block_weights=NULL)=0 |
|
virtual void | set_time (double time) |
| set time information for time-dependent problems.
|
|
virtual void | set_time_step (double time_step) |
|
|
template<typename T > |
class | DiscreteProblemNOX |
|
|
double | time |
|
double | time_step |
|
template<typename Scalar>
class Hermes::Solvers::DiscreteProblemInterface< Scalar >
Minimalistic DiscreteProblem interface required by NoxProblemInterface.
Definition at line 36 of file dp_interface.h.
template<typename Scalar>
Assembling. General assembling procedure for nonlinear problems. coeff_vec is the previous Newton vector. If force_diagonal_block == true, then (zero) matrix antries are created in diagonal blocks even if corresponding matrix weak forms do not exist. This is useful if the matrix is later to be merged with a matrix that has nonzeros in these blocks. The Table serves for optional weighting of matrix blocks in systems. The parameter add_dir_lift decides whether Dirichlet lift will be added while coeff_vec is converted into Solutions.
template<typename Scalar>
Assembling. Without the matrix.
template<typename Scalar>
Preassembling. Precalculate matrix sparse structure. If force_diagonal_block == true, then (zero) matrix antries are created in diagonal blocks even if corresponding matrix weak forms do not exist. This is useful if the matrix is later to be merged with a matrix that has nonzeros in these blocks. The Table serves for optional weighting of matrix blocks in systems.
The documentation for this class was generated from the following files: