![]() |
deal.II version 9.7.0
|
#include <deal.II/sundials/sunlinsol_wrapper.h>
A linear operator that wraps SUNDIALS functionality.
Definition at line 46 of file sunlinsol_wrapper.h.
Public Member Functions | |
| void | vmult (VectorType &dst, const VectorType &src) const |
| SundialsOperator (void *A_data, SUNATimesFn a_times_fn, SUNContext linsol_ctx) | |
Private Attributes | |
| void * | A_data |
| SUNATimesFn | a_times_fn |
| SUNContext | linsol_ctx |
| SUNDIALS::SundialsOperator< VectorType >::SundialsOperator | ( | void * | A_data, |
| SUNATimesFn | a_times_fn, | ||
| SUNContext | linsol_ctx ) |
Constructor.
| A_data | Data required by a_times_fn |
| a_times_fn | A function pointer to the function that computes A*v |
| linsol_ctx | The context object used to set up the linear solver and all vectors |
Definition at line 364 of file sunlinsol_wrapper.cc.
| void SUNDIALS::SundialsOperator< VectorType >::vmult | ( | VectorType & | dst, |
| const VectorType & | src ) const |
Apply this LinearOperator to src and store the result in dst.
Definition at line 391 of file sunlinsol_wrapper.cc.
|
private |
Data necessary to evaluate a_times_fn.
Definition at line 79 of file sunlinsol_wrapper.h.
|
private |
Function pointer declared by SUNDIALS to evaluate the matrix vector product.
Definition at line 86 of file sunlinsol_wrapper.h.
|
private |
Context object used for SUNDIALS logging.
Definition at line 91 of file sunlinsol_wrapper.h.