forked from AMICI-dev/AMICI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
ThirdParty/sundials/src/sundials/sundials_iterative_impl.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* ----------------------------------------------------------------------------- | ||
* Programmer(s): David J. Gardner and Shelby Lockhart @ LLNL | ||
* ----------------------------------------------------------------------------- | ||
* SUNDIALS Copyright Start | ||
* Copyright (c) 2002-2024, Lawrence Livermore National Security | ||
* and Southern Methodist University. | ||
* All rights reserved. | ||
* | ||
* See the top-level LICENSE and NOTICE files for details. | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
* SUNDIALS Copyright End | ||
* ----------------------------------------------------------------------------- | ||
* This is the implementation header file for SUNDIALS functions used by | ||
* different iterative solvers. | ||
* ---------------------------------------------------------------------------*/ | ||
|
||
#ifndef _SUNDIALS_ITERATIVE_IMPL_H | ||
#define _SUNDIALS_ITERATIVE_IMPL_H | ||
|
||
#include <sundials/sundials_iterative.h> | ||
|
||
/* ----------------------------------------------------------------------------- | ||
* Type: SUNQRData | ||
* ----------------------------------------------------------------------------- | ||
* A SUNQRData struct holds temporary workspace vectors and sunrealtype arrays for | ||
* a SUNQRAddFn. The N_Vectors and sunrealtype arrays it contains are created by | ||
* the routine calling a SUNQRAdd function. | ||
* ---------------------------------------------------------------------------*/ | ||
|
||
typedef struct _SUNQRData* SUNQRData; | ||
|
||
struct _SUNQRData | ||
{ | ||
N_Vector vtemp; | ||
N_Vector vtemp2; | ||
sunrealtype* temp_array; | ||
}; | ||
|
||
#endif |