Cardinal
Public Member Functions | Static Public Member Functions | List of all members
CardinalProblem Class Reference

#include <CardinalProblem.h>

Inheritance diagram for CardinalProblem:
[legend]

Public Member Functions

 CardinalProblem (const InputParameters &params)
 
template<typename T >
void checkDuplicateEntries (const std::vector< T > &var, const std::string &name) const
 
void checkDuplicateVariableName (const std::string &name) const
 
bool stringHasEnding (std::string const &full, std::string const &ending) const
 

Static Public Member Functions

static InputParameters validParams ()
 

Detailed Description

Base class for all MOOSE wrappings in Cardinal

Constructor & Destructor Documentation

◆ CardinalProblem()

CardinalProblem::CardinalProblem ( const InputParameters &  params)

Member Function Documentation

◆ checkDuplicateEntries()

template<typename T >
void CardinalProblem::checkDuplicateEntries ( const std::vector< T > &  var,
const std::string &  name 
) const
inline

Check for duplicate entries in a 1-d vector

Parameters
[in]varinput vector
[in]namestring to use for printing error message

◆ checkDuplicateVariableName()

void CardinalProblem::checkDuplicateVariableName ( const std::string &  name) const

Check whether the user has already created a variable using one of the protected names that the wrapping is using.

Parameters
[in]namevariable name

◆ stringHasEnding()

bool CardinalProblem::stringHasEnding ( std::string const &  full,
std::string const &  ending 
) const

Whether a string ends in a particular sub-string

Parameters
[in]fullfull string
[in]endingsub-string ending
Returns
whether full string has ending

◆ validParams()

InputParameters CardinalProblem::validParams ( )
static

The documentation for this class was generated from the following files: