Reference documentation for deal.II version 9.4.1
|
#include <deal.II/sundials/sunlinsol_wrapper.h>
Public Member Functions | |
void | vmult (VectorType &dst, const VectorType &src) const |
SundialsOperator (void *A_data, ATimesFn a_times_fn, SUNContext linsol_ctx) | |
Private Attributes | |
void * | A_data |
ATimesFn | a_times_fn |
SUNContext | linsol_ctx |
A linear operator that wraps SUNDIALS functionality.
Definition at line 46 of file sunlinsol_wrapper.h.
SUNDIALS::SundialsOperator< VectorType >::SundialsOperator | ( | void * | A_data, |
ATimesFn | 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 253 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 280 of file sunlinsol_wrapper.cc.
|
private |
Data necessary to evaluate a_times_fn.
Definition at line 77 of file sunlinsol_wrapper.h.
|
private |
Function pointer declared by SUNDIALS to evaluate the matrix vector product.
Definition at line 83 of file sunlinsol_wrapper.h.
|
private |
Context object used for SUNDIALS logging.
Definition at line 89 of file sunlinsol_wrapper.h.