1 //-----------------------------------------------------------------------bl- 2 //-------------------------------------------------------------------------- 3 // 4 // QUESO - a library to support the Quantification of Uncertainty 5 // for Estimation, Simulation and Optimization 6 // 7 // Copyright (C) 2008-2017 The PECOS Development Team 8 // 9 // This library is free software; you can redistribute it and/or 10 // modify it under the terms of the Version 2.1 GNU Lesser General 11 // Public License as published by the Free Software Foundation. 12 // 13 // This library is distributed in the hope that it will be useful, 14 // but WITHOUT ANY WARRANTY; without even the implied warranty of 15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 // Lesser General Public License for more details. 17 // 18 // You should have received a copy of the GNU Lesser General Public 19 // License along with this library; if not, write to the Free Software 20 // Foundation, Inc. 51 Franklin Street, Fifth Floor, 21 // Boston, MA 02110-1301 USA 22 // 23 //-----------------------------------------------------------------------el- 24 #ifndef EX_QOI_H 25 #define EX_QOI_H 26 27 #include <queso/GslMatrix.h> 28 #include <queso/DistArray.h> 29 30 struct 31 qoiRoutine_DataType 32 { 33 double coef1; 34 double coef2; 35 }; 36 37 void 38 qoiRoutine( 39 const QUESO::GslVector& paramValues, 40 const QUESO::GslVector* paramDirection, 41 const void* functionDataPtr, 42 QUESO::GslVector& qoiValues, 43 QUESO::DistArray<QUESO::GslVector*>* gradVectors, 44 QUESO::DistArray<QUESO::GslMatrix*>* hessianMatrices, 45 QUESO::DistArray<QUESO::GslVector*>* hessianEffects); 46 47 #endif 48