/usr/include/trilinos/ml_ValidateParameters.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 | /*!
* \file ml_ValidateParameters.h
*
* \brief Parameter Validation for ML
*
*/
/* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
/*#############################################################################
# CVS File Information
# Current revision: $Revision$
# Branch: $Branch$
# Last modified: $Date$
# Modified by: $Author$
#############################################################################*/
#ifndef ML_VALIDATEPARAMETERS_H
#define ML_VALIDATEPARAMETERS_H
#include "ml_include.h"
#if defined(HAVE_ML_EPETRA) && defined(HAVE_ML_TEUCHOS)
#include "Teuchos_ParameterList.hpp"
namespace ML_Epetra
{
//! Builds a list of "valid" parameters for parameter validation for MultiLevelPreconditioner.
Teuchos::ParameterList * GetValidMLPParameters();
//! Builds a list of "valid" smoothing parameters for parameter validation for MultiLevelPreconditioner.
void SetValidSmooParams(Teuchos::ParameterList *PL, Teuchos::Array<std::string> &smootherList);
//! Builds a list of "valid" aggregation parameters for parameter validation for MultiLevelPreconditioner.
void SetValidAggrParams(Teuchos::ParameterList *PL);
//void GetValidSmootherParameters(ParameterList &PL, Array<std::string> smootherList);
//! Validates the parameters of inList (warning: level-specific parameters
//! will not be validated) for MultiLevelPreconditioner.
bool ValidateMLPParameters(const Teuchos::ParameterList &inList, int depth=5);
//! Builds a list of "valid" parameters for parameter validation for RefMaxwell.
Teuchos::ParameterList * GetValidRefMaxwellParameters();
//! Validates the parameters of inList (warning: level-specific parameters
//! will not be validated) for RefMaxwell.
bool ValidateRefMaxwellParameters(const Teuchos::ParameterList &inList);
}
#endif
#endif
|