/usr/include/trilinos/MLAPI_Gallery.h is in libtrilinos-ml-dev 12.4.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | #ifndef MLAPI_GALLERY_H
#define MLAPI_GALLERY_H
/*!
\file MLAPI_Gallery.h
\brief MLAPI interface to the Galeri package.
\author Marzio Sala, D-INFK/ETHZ.
\date Last updated on Mar-06.
*/
/* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
#include "ml_common.h"
#include "ml_include.h"
#include <iostream>
namespace Teuchos {
class ParameterList;
}
namespace MLAPI {
/*!
\file MLAPI_Gallery
\brief Matrix creation functions.
\author Marzio Sala, SNL 9214
\date Last updated on Mar-05.
*/
class Space;
class Operator;
// ======================================================================
//! Creates a matrix using the TRIUTILS gallery.
// ======================================================================
Operator Gallery(const std::string ProblemType, const Space& MySpace);
// ======================================================================
//! Creates a 1D shifted Laplacian.
// ======================================================================
Operator GetShiftedLaplacian1D(const int NX, const double Factor = 0.99);
// ======================================================================
//! Creates a 2D shifted Laplacian.
// ======================================================================
Operator GetShiftedLaplacian2D(const int NX, const int NY,
const double Factor = 0.99,
const bool RandomScale = false);
// ======================================================================
//! Reads a matrix in MATLAB format.
// ======================================================================
Operator ReadMatrix(const char* FileName);
// ======================================================================
//! Creates a recirculation problem in 2D.
// ======================================================================
Operator GetRecirc2D(const int NX, const int NY, const double conv,
const double diff);
// ======================================================================
//! Populates a list from specified file.
// ======================================================================
Teuchos::ParameterList ReadParameterList(const char* FileName);
}
#endif // MLAPI_GALLERY_H
|