26#ifndef dealii_sundials_sunlinsol_newempty_h
27#define dealii_sundials_sunlinsol_newempty_h
31#ifdef DEAL_II_WITH_SUNDIALS
33# include <sundials/sundials_linearsolver.h>
51 SUNLinearSolver_Ops ops =
new _generic_SUNLinearSolver_Ops;
54 ops->gettype =
nullptr;
55 ops->setatimes =
nullptr;
56 ops->setpreconditioner =
nullptr;
57 ops->setscalingvectors =
nullptr;
58 ops->initialize =
nullptr;
61 ops->numiters =
nullptr;
62 ops->resnorm =
nullptr;
64 ops->lastflag =
nullptr;
70 LS->content =
nullptr;
86 if (solver ==
nullptr)
92 solver->ops =
nullptr;
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
void SUNLinSolFreeEmpty(SUNLinearSolver solver)
SUNLinearSolver SUNLinSolNewEmpty()