deal.II version GIT relicensing-2165-gc91f007519 2024-11-20 01:40:00+00:00
|
#include <deal.II/sundials/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 |
A linear operator that wraps SUNDIALS functionality.
Definition at line 46 of file sunlinsol_wrapper.h.
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 361 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 388 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.