/usr/include/trilinos/MLAPI_BaseOperator.h is in libtrilinos-ml-dev 12.12.1-5.
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 | #ifndef MLAPI_PRECONDITIONER_H
#define MLAPI_PRECONDITIONER_H
/*!
\file MLAPI_BaseOperator.h
\brief Base MLAPI operator.
\author Marzio Sala, SNL 9214.
\date Last updated on Mar-06.
*/
/* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
#include "MLAPI_BaseObject.h"
namespace MLAPI {
class MultiVector;
class Space;
/*!
\class BaseOperator
\brief Base class for all MLAPI objects.
\author Marzio Sala, SNL 9214.
\date Last modified on Feb-05.
*/
class BaseOperator : public BaseObject {
public:
//! Virtual destructor.
virtual ~BaseOperator() {}
//! Applies the operator to \c X, using \c Y as starting solution. Returns the solution in \c Y.
virtual int Apply(const MultiVector& LHS, MultiVector& RHS) const = 0;
//! Returns a copy of the domain space of \c this object.
virtual const Space GetOperatorDomainSpace() const = 0;
//! Returns a copy of the range space of \c this object.
virtual const Space GetOperatorRangeSpace() const = 0;
};
} // namespace MLAPI
#endif
|