/usr/include/trilinos/LOCAInterface.H is in libtrilinos-dev 10.4.0.dfsg-1ubuntu2.
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 | #ifndef LOCA_INTERFACE_H
#define LOCA_INTERFACE_H
// Trilinos headers
#include <Epetra_Vector.h>
#include <LOCA_Epetra.H>
// ParaCont headers
#include "ProblemLOCAPrototype.H"
#include "ContinuationManager.H"
class LOCAInterface :
// public LOCA::Epetra::Interface::Required,
public LOCA::Epetra::Interface::TimeDependent,
public NOX::Epetra::Interface::Jacobian {
public:
// Constructor
LOCAInterface( Teuchos::RCP <ProblemLOCAPrototype> & aProblem ,
Teuchos::RCP <ContinuationManager> aContinuationManager);
// Destructor
~LOCAInterface();
// Compute and return F
bool computeF(const Epetra_Vector& x, Epetra_Vector& f,
NOX::Epetra::Interface::Required::FillType F);
// Compute an explicit Jacobian
bool computeJacobian(const Epetra_Vector& x, Epetra_Operator& Jac);
// Set a parameter in the user's code.
void setParameters(const LOCA::ParameterVector& params);
// Print the solution
void printSolution (const Epetra_Vector &x, const double conParam);
// Compute the Shifted matrix needed for linear stability
virtual bool computeShiftedMatrix (double alpha, double beta,
const Epetra_Vector &x, Epetra_Operator &A);
virtual void setXdot(const Epetra_Vector& xdot, const double time);
private:
// The continuation manager
Teuchos::RCP <ContinuationManager> continuationManager;
// The Problem
Teuchos::RCP <ProblemLOCAPrototype> problem;
double t; // time, for non-autonomous problems
};
#endif
|