/usr/include/trilinos/FEI_tester.hpp 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 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 84 85 86 87 88 89 90 91 92 93 | /*--------------------------------------------------------------------*/
/* Copyright 2005 Sandia Corporation. */
/* Under the terms of Contract DE-AC04-94AL85000, there is a */
/* non-exclusive license for use of this work by or on behalf */
/* of the U.S. Government. Export of this program may require */
/* a license from the United States Government. */
/*--------------------------------------------------------------------*/
#ifndef _FEI_tester_h_
#define _FEI_tester_h_
#include <fei_macros.hpp>
#include <fei_SharedPtr.hpp>
#include <fei_defs.h>
class LibraryWrapper;
class LinearSystemCore;
class FiniteElementData;
#include <test_utils/feitester.hpp>
#include <test_utils/DataReader.hpp>
#include <FEI_Implementation.hpp>
class FEI_tester : public feitester {
public:
FEI_tester(fei::SharedPtr<DataReader> data_reader,
MPI_Comm comm, int localProc, int numProcs, bool useNewFEI=false);
~FEI_tester();
const char* getName()
{
static const char name[] = "FEI_tester";
return((const char*)name);
}
int testInitialization();
int testLoading();
int testSolve();
int testCheckResult();
void dumpMatrixFiles();
void setParameter(const char* param);
private:
int createFEIinstance(const char* solverName);
int setIDlists();
int initializationPhase();
int normalLoadPhase();
int aggregateLoadPhase();
int exerciseResidualNorm();
int exercisePutFunctions();
int save_block_node_soln(DataReader& data, FEI& fei,
const char* solnFileName, int numProcs,
int localProc, int solveCounter);
int save_block_elem_soln(DataReader& data, FEI& fei,
const char* solnFileName,
int numProcs, int localProc, int solveCounter);
int save_multiplier_soln(DataReader& data, FEI& fei,
const char* solnFileName,
int numProcs, int localProc, int solveCounter);
int checkSolution(int localProc, int numProcs,
const char* solnFileName, const char* checkFileName,
const char* extension, int solveCounter);
int lsc_matrix_check();
MPI_Comm comm_;
fei::SharedPtr<FEI> fei_;
fei::SharedPtr<LibraryWrapper> wrapper_;
fei::SharedPtr<DataReader> data_;
int localProc_, numProcs_;
int numMatrices;
int* matrixIDs;
int numRHSs;
int* rhsIDs;
bool useNewFEI_;
};
#endif // _FEI_tester_h_
|