Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Sep 25, 2024
1 parent e6587b9 commit c5b0c9a
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions ThirdParty/sundials/src/sundials/sundials_iterative_impl.h
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

0 comments on commit c5b0c9a

Please sign in to comment.