tfel
Loading...
Searching...
No Matches
mtest::PipeTestParser Struct Reference

#include </home/runner/work/tfel/tfel/mtest/include/MTest/PipeTestParser.hxx>

Inheritance diagram for mtest::PipeTestParser:
mtest::SingleStructureSchemeParser mtest::SchemeParserBase tfel::utilities::CxxTokenizer tfel::utilities::CxxTokenizerOptions

Public Member Functions

 PipeTestParser ()
 default constructor
void execute (PipeTest &, const std::string &, const std::vector< std::string > &, const std::map< std::string, std::string > &)
 execute mtest parser on a file
void parseString (PipeTest &, const std::string &)
 execute mtest parser on a string
virtual std::vector< std::string > getKeyWordsList () const
virtual void displayKeyWordsList () const
 display the list of keywords
virtual void displayKeyWordsHelp () const
 display the list of keywords
virtual void displayKeyWordDescription (const std::string &) const
 display the description of a keyword
 ~PipeTestParser () override
 destructor
Public Member Functions inherited from mtest::SingleStructureSchemeParser
virtual void handleBehaviour (SingleStructureScheme &, tokens_iterator &)
 handle the @Behaviour keyword
virtual void handleModel (SingleStructureScheme &, tokens_iterator &)
 handle the @Model keyword
virtual void handleParameter (SingleStructureScheme &, tokens_iterator &)
 handle the @Parameter keyword
virtual void handleIntegerParameter (SingleStructureScheme &, tokens_iterator &)
 handle the @IntegerParameter keyword
virtual void handleUnsignedIntegerParameter (SingleStructureScheme &, tokens_iterator &)
 handle the @UnsignedIntegerParameter keyword
virtual void handleOutOfBoundsPolicy (SingleStructureScheme &, tokens_iterator &)
 handle the @OutOfBoundsPolicy keyword
virtual void handleMaterialProperty (SingleStructureScheme &, tokens_iterator &)
 handle the @MaterialProperty keyword
virtual void handleHandleThermalExpansion (SingleStructureScheme &, tokens_iterator &)
 handle the @HandleThermalExpansion keyword
virtual void handleInternalStateVariable (SingleStructureScheme &, tokens_iterator &)
 handle the @InternalStateVariable keyword
virtual void handleExternalStateVariable (SingleStructureScheme &, tokens_iterator &)
 handle the @ExternalStateVariable keyword
 ~SingleStructureSchemeParser () override
 destructor
Public Member Functions inherited from mtest::SchemeParserBase
 SchemeParserBase ()
 constructor
 ~SchemeParserBase () override
 destructor

Protected Types

typedef void(PipeTestParser::* CallBack) (PipeTest &, tokens_iterator &)
 a simple alias
Protected Types inherited from mtest::SchemeParserBase
using ExternalFunctionManager = tfel::math::parser::ExternalFunctionManager
 a simple alias
Protected Types inherited from tfel::utilities::CxxTokenizer
using TokensContainer = std::vector<Token>
 a simple alias
using const_iterator = TokensContainer::const_iterator
 a simple alias
using size_type = TokensContainer::size_type
 a simple alias

Protected Member Functions

virtual void handleRadialLoading (PipeTest &, tokens_iterator &)
 handle the @RadialLoading keyword
virtual void handleAxialLoading (PipeTest &, tokens_iterator &)
 handle the @AxialLoading keyword
virtual void handleInnerRadius (PipeTest &, tokens_iterator &)
 handle the @InnerRadius keyword
virtual void handleOuterRadius (PipeTest &, tokens_iterator &)
 handle the @OuterRadius keyword
virtual void handleNumberOfElements (PipeTest &, tokens_iterator &)
 handle the @NumberOfElements keyword
virtual void handleElementType (PipeTest &, tokens_iterator &)
 handle the @ElementType keyword
virtual void handlePerformSmallStrainAnalysis (PipeTest &, tokens_iterator &)
 handle the @PerformSmallStrainAnalysis keyword
virtual void handleInnerPressureEvolution (PipeTest &, tokens_iterator &)
 handle the @InnerPressureEvolution keyword
virtual void handleOuterPressureEvolution (PipeTest &, tokens_iterator &)
 handle the @OuterPressureEvolution keyword
virtual void handleInnerRadiusEvolution (PipeTest &, tokens_iterator &)
 handle the @InnerRadiusEvolution keyword
virtual void handleOuterRadiusEvolution (PipeTest &, tokens_iterator &)
 handle the @OuterRadiusEvolution keyword
virtual void handleMandrelRadiusEvolution (PipeTest &, tokens_iterator &)
 handle the @MandrelRadiusEvolution keyword
virtual void handleMandrelAxialGrowthEvolution (PipeTest &, tokens_iterator &)
 handle the @MandrelAxialGrowthEvolution keyword
virtual void handleAxialForceEvolution (PipeTest &, tokens_iterator &)
 handle the @AxialForceEvolution keyword
virtual void handleAxialGrowthEvolution (PipeTest &, tokens_iterator &)
 handle the @AxialGrowthEvolution keyword
virtual void handleGasEquationOfState (PipeTest &, tokens_iterator &)
 handle the @GasEquationOfState keyword
virtual void handleFillingPressure (PipeTest &, tokens_iterator &)
 handle the @FillingPressure keyword
virtual void handleFillingTemperature (PipeTest &, tokens_iterator &)
 handle the @FillingTemperature keyword
virtual void handleDisplacementEpsilon (PipeTest &, tokens_iterator &)
 handle the @DisplacementEpsilon keyword
virtual void handleResidualEpsilon (PipeTest &, tokens_iterator &)
 handle the @ResidualEpsilon keyword
virtual void handleProfile (PipeTest &, tokens_iterator &)
 handle the @Profile keyword
virtual void handleTest (PipeTest &, tokens_iterator &)
 handle the @Test keyword
virtual void handleAdditionalOutputs (PipeTest &, tokens_iterator &)
 handle the @AdditionalOutputs keyword
virtual void handleFailureCriterion (PipeTest &, tokens_iterator &)
 handle the @FailureCriterion keyword
virtual void handleFailurePolicy (PipeTest &, tokens_iterator &)
 handle the @FailurePolicy keyword
virtual void handleOxidationModel (PipeTest &, tokens_iterator &)
 handle the @OxidationModel keyword
void execute (PipeTest &t)
 execute mtest parser after reading a file or parsing a string
void registerCallBacks () override
 register the call backs associated with each command
bool treatKeyword (PipeTest &, tokens_iterator &)
 treat the current keyword
Protected Member Functions inherited from mtest::SingleStructureSchemeParser
void setInternalStateVariableValue (SingleStructureScheme &, tokens_iterator &, const std::string &)
void registerCallBacks () override
bool treatKeyword (SingleStructureScheme &, tokens_iterator &)
 treat the current keyword
std::vector< std::string > getKeyWordsList () const
Protected Member Functions inherited from mtest::SchemeParserBase
void openFile (const std::string &)
virtual void handleLonelySeparator (SchemeBase &, tokens_iterator &)
 allow an lonely ';'
virtual void handleAuthor (SchemeBase &, tokens_iterator &)
 handle the @Author keyword
virtual void handleDate (SchemeBase &, tokens_iterator &)
 handle the @Date keyword
virtual void handleMessage (SchemeBase &, tokens_iterator &)
 handle the @Import`` keyword \param[in,out] p : position in the input file */ virtual void handleImport(SchemeBase&, tokens_iterator&); /*! \brief handle the @Message` keyword
virtual void handleOutputFrequency (SchemeBase &, tokens_iterator &)
 handle the @OutputFrequency keyword
virtual void handleDescription (SchemeBase &, tokens_iterator &)
 handle the @Description keyword
virtual void handlePredictionPolicy (SchemeBase &, tokens_iterator &)
 handle the @PredictionPolicy keyword
virtual void handleTimes (SchemeBase &, tokens_iterator &)
 handle the @Times keyword
virtual void handleReal (SchemeBase &, tokens_iterator &)
 handle the @Real keyword
virtual void handleStiffnessMatrixType (SchemeBase &, tokens_iterator &)
 handle the @StiffnessMatrixType keyword
virtual void handleStiffnessUpdatePolicy (SchemeBase &, tokens_iterator &)
 handle the @StiffnessUpdatePolicy keyword
virtual void handleUseCastemAccelerationAlgorithm (SchemeBase &, tokens_iterator &)
 handle the @UseCastemAccelerationAlgorithm keyword
virtual void handleCastemAccelerationTrigger (SchemeBase &, tokens_iterator &)
 handle the @CastemAccelerationTrigger keyword
virtual void handleCastemAccelerationPeriod (SchemeBase &, tokens_iterator &)
 handle the @CastemAccelerationAlgorithm keyword
virtual void handleAccelerationAlgorithm (SchemeBase &, tokens_iterator &)
 handle the @AccelerationAlgorithm keyword
virtual void handleAccelerationAlgorithmParameter (SchemeBase &, tokens_iterator &)
 handle the @AccelerationAlgorithmParameter keyword
virtual void handleDynamicTimeStepScaling (SchemeBase &, tokens_iterator &)
 handle the @DynamicTimeStepScaling keyword
virtual void handleMaximalTimeStep (SchemeBase &, tokens_iterator &)
 handle the @MaximalTimeStep keyword
virtual void handleMinimalTimeStep (SchemeBase &, tokens_iterator &)
 handle the @MinimalTimeStep keyword
virtual void handleMaximalTimeStepScalingFactor (SchemeBase &, tokens_iterator &)
 handle the @MaximalTimeStepScalingFactor keyword
virtual void handleMinimalTimeStepScalingFactor (SchemeBase &, tokens_iterator &)
 handle the @MinimalTimeStepScalingFactor keyword
virtual void handleMaximumNumberOfIterations (SchemeBase &, tokens_iterator &)
 handle the @MaximumNumberOfIterations keyword
virtual void handleMaximumNumberOfSubSteps (SchemeBase &, tokens_iterator &)
 handle the @MaximumNumberOfSubSteps keyword
virtual void handleEvolution (SchemeBase &, tokens_iterator &)
 handle the @Evolution keyword
virtual void handleOutputFile (SchemeBase &, tokens_iterator &)
 handle the @OutputFile keyword
virtual void handleXMLOutputFile (SchemeBase &, tokens_iterator &)
 handle the @XMLOutputFile keyword
virtual void handleOutputFilePrecision (SchemeBase &, tokens_iterator &)
 handle the @OutputFilePrecision keyword
virtual void handleResidualFile (SchemeBase &, tokens_iterator &)
 handle the @ResidualFile keyword
virtual void handleResidualFilePrecision (SchemeBase &, tokens_iterator &)
 handle the @ResidualFilePrecision keyword
virtual std::string getDocumentationFilePath (const std::string &, const std::string &) const
virtual std::string readUntilEndOfInstruction (tokens_iterator &)
virtual real readDouble (SchemeBase &, tokens_iterator &)
virtual real readTime (SchemeBase &, tokens_iterator &)
virtual std::shared_ptr< Evolution > parseEvolution (SchemeBase &, const std::string &, tokens_iterator &)
 parse an evolution
virtual std::string readEvolutionType (tokens_iterator &)
 try to read the type of an evolution
virtual void readArrayOfSpecifiedSize (std::vector< real > &, SchemeBase &, tokens_iterator &)
virtual std::vector< real > readTimesArray (const std::string &m, SchemeBase &t, tokens_iterator &p)
bool treatKeyword (SchemeBase &, tokens_iterator &)
 treat the current keyword
std::vector< std::string > getKeyWordsList () const
Protected Member Functions inherited from tfel::utilities::CxxTokenizer
virtual void parseStream (std::istream &, Token::size_type &, const std::string &)
 tokenize the lines of a stream
virtual void splitLine (const std::string &, const Token::size_type)
virtual void parseChar (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const Token::size_type)
virtual void parseString (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const Token::size_type, const char)
virtual void parseCComment (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const Token::size_type)
virtual void parseCxxComment (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const Token::size_type)
virtual void try_join (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const Token::size_type, const char)
virtual void try_join (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const Token::size_type, const char, const char)
virtual void parseNumber (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const Token::size_type)
 read a number
virtual void parsePreprocessorDirective (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const std::string::const_iterator, const Token::size_type)
virtual void parseStandardLine (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const std::string::const_iterator, const Token::size_type)
virtual void parseRawString (Token::size_type &, std::string::const_iterator &, const std::string::const_iterator, const Token::size_type, const Token::size_type)
 read the contents of a raw string literal, which starts at the current iterator, past the opening R"delim( prefix
 CxxTokenizer ()
 default constructor
 CxxTokenizer (const CxxTokenizerOptions &)
 constructor with options
 CxxTokenizer (const std::string &)
 constructor from a file
 CxxTokenizer (const std::string &, const CxxTokenizerOptions &)
 constructor from a file
template<typename InputIterator>
void import (const InputIterator, const InputIterator)
 import the specified tokens
void parseString (const std::string &)
 analyse the string given all previous tokens are erased
void openFile (const std::string &)
 import the specified file
void printFileTokens (std::ostream &) const
 print the stored tokens to the specified stream
void setCStyleCommentOpened (const bool)
 assume that a C-style comment was opened at the beginning of the processing. This is usefull when parsing a file line by line
bool isCStyleCommentOpened () const
void setRawStringOpened (const bool)
 assume that a raw string was opened at the beginning of the processing.
void setRawStringDelimiter (std::string_view)
 set the raw string deliminter. This assume that a raw string was opened at the beginning of the processing, i.e. sets the rawStringOpened boolean to true.
bool isRawStringOpened () const
std::string getCurrentRawStringDelimiter () const noexcept
void stripComments ()
 remove all comment tokens
void clear ()
 clear the object
void treatCharAsString (const bool)
 set if char tokens shall be treated as string tokens
void keepCommentBoundaries (const bool)
 set if the comment boundaries must be left in the resulting tokens.
void treatDotAsSeparator (const bool)
 set if '.' shall be treated as as sperator
void treatPlusAsSeparator (const bool)
 set if '+' shall be treated as as sperator
void treatMinusAsSeparator (const bool)
 set if '-' shall be treated as as sperator
void mergeStrings (const bool)
 set if successive strings shall be merged
void extractNumbers (const bool)
 set if tokens shall be split to extract numbers
void addSeparator (const std::string &)
 add a new separator
void substitute (const std::map< std::string, std::string > &)
 apply the given substitutions by calling replace_all on the values hold by the standard and string tokens.
bool empty () const
const_iterator begin () const
const_iterator end () const
const_iterator cbegin () const
const_iterator cend () const
const Token & operator[] (const size_type) const
size_type size () const
virtual ~CxxTokenizer ()
 destructor
Protected Member Functions inherited from tfel::utilities::CxxTokenizerOptions
 CxxTokenizerOptions ()
 default constructor
 CxxTokenizerOptions (const CxxTokenizerOptions &)
 copy constructor
 CxxTokenizerOptions (CxxTokenizerOptions &&) noexcept
 move constructor
CxxTokenizerOptions & operator= (const CxxTokenizerOptions &)
 standard assignement
CxxTokenizerOptions & operator= (CxxTokenizerOptions &&) noexcept
 move assignement
 ~CxxTokenizerOptions ()
 destructor

Additional Inherited Members

Public Types inherited from mtest::SchemeParserBase
using tokens_iterator = TokensContainer::const_iterator
 a simple alias
Static Protected Member Functions inherited from tfel::utilities::CxxTokenizer
static bool isValidFunctionIdentifier (const std::string &, const bool=true)
static bool isValidIdentifier (std::string_view, const IsValidIdentifierOptions &)
static bool isValidIdentifier (std::string_view, const bool=true)
static void checkNotEndOfLine (const std::string &, const_iterator &, const const_iterator)
 an helper method throwing an exception if the given iterator is egal to the third argument (which shall point after the last token of the line)
static void checkNotEndOfLine (const std::string &, const std::string &, const_iterator &, const const_iterator)
 an helper method throwing an exception if the given iterator is egal to the fourth argument (which shall point after the last token of the line)
static void readSpecifiedToken (const std::string &, const std::string &, const_iterator &, const const_iterator)
 an helper method throwing an exception if the given iterator is egal to the fourth argument (which shall point after the last token of the line) or if the given token is not equal to the expected value
static unsigned int readUnsignedInt (const_iterator &, const const_iterator)
 an helper method to extract an unsigned int from the given token
static std::string readString (const_iterator &, const const_iterator)
 an helper method to extract a string from the given token
static std::vector< std::string > readArray (const std::string &, const_iterator &, const const_iterator)
 an helper method to extract a set of values from the given as an array
static void readArray (const std::string &, std::vector< std::string > &, const_iterator &, const const_iterator)
 an helper method to extract a set of values from the given as an array
static std::vector< Token > readList (const std::string &, const std::string &, const std::string &, const_iterator &, const const_iterator)
 extract a list of token
static void readList (std::vector< Token > &, const std::string &, const std::string &, const std::string &, const_iterator &, const const_iterator)
 extract a list of token
static std::vector< std::string > readStringArray (const_iterator &, const const_iterator)
 an helper method to extract a set of values from the given as an array
static double readDouble (const_iterator &, const const_iterator)
 an helper method to extract a double from the given token
static int readInt (const_iterator &, const const_iterator)
 an helper method to extract a int from the given token
Protected Attributes inherited from mtest::SchemeParserBase
std::shared_ptr< ExternalFunctionManager > externalFunctions
 external function imported through the @Import keyword
std::string file
 input file
Protected Attributes inherited from tfel::utilities::CxxTokenizer
std::vector< std::string > additional_separators
TokensContainer tokens
 list of tokens read
std::map< Token::size_type, std::string > comments
 store the comments which have been removed by the stripComments method. The key of the map is the line a comment starts on and the value is the values of the comments of this line, in the order they appear in the line, separated by a space character.
bool cStyleCommentOpened = false
 if true, a cStyle comment what opened when the last line treatment was finised
bool rawStringOpened = false
std::string currentRawStringDelimiter
 name of the current delimiter for a raw string
Protected Attributes inherited from tfel::utilities::CxxTokenizerOptions
bool bKeepCommentBoundaries = false
 if true, keep the comment boundaries
bool shallMergeStrings = false
 if true, successive strings are merged
bool allowStrayHashCharacter = false
 allow stray hash character
bool treatHashCharacterAsCommentDelimiter = false
 the hash character can start a comment, as in python, shell, etc..
bool allowStrayBackSlash = false
 allow stray backslash
bool treatPreprocessorDirectives = true
 treat preprocessor directives
bool treatStrings = true
 treat strings and characters If false, the ' and '"' are treated as indivdual tokens
bool treatNumbers = true
 extract number
bool treatCComments = true
 treat comments
bool treatCxxComments = true
 treat comments
bool joinCxxTwoCharactersSeparators = true
bool graveAccentAsSeparator = true
 strings and characters
bool charAsString = false
bool dotAsSeparator = true
 treat . as a separator
bool plusAsSeparator = true
 treat + as a separator
bool minusAsSeparator = true
 treat - as a separator
bool addCurlyBraces = false
 add curly braces at the beginning and at the end of the file

Detailed Description

PipeTestParser is used to parse mtest file.

Member Function Documentation

◆ execute() [1/2]

void mtest::PipeTestParser::execute ( PipeTest & ,
const std::string & ,
const std::vector< std::string > & ,
const std::map< std::string, std::string > &  )

execute mtest parser on a file

Parameters
[out]tstructure to be filled
[in]ffile name
[in]ecmdsexternal commands
[in]ssubstitutions patterns inserted (those substitutions are given through command-line options such as --@YYY@=XXX)

◆ execute() [2/2]

void mtest::PipeTestParser::execute ( PipeTest & t)
protected

execute mtest parser after reading a file or parsing a string

Parameters
[out]tstructure to be filled

◆ getKeyWordsList()

virtual std::vector< std::string > mtest::PipeTestParser::getKeyWordsList ( ) const
nodiscardvirtual
Returns
the list of keywords

◆ handleAdditionalOutputs()

virtual void mtest::PipeTestParser::handleAdditionalOutputs ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @AdditionalOutputs keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleAxialForceEvolution()

virtual void mtest::PipeTestParser::handleAxialForceEvolution ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @AxialForceEvolution keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleAxialGrowthEvolution()

virtual void mtest::PipeTestParser::handleAxialGrowthEvolution ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @AxialGrowthEvolution keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleAxialLoading()

virtual void mtest::PipeTestParser::handleAxialLoading ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @AxialLoading keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleDisplacementEpsilon()

virtual void mtest::PipeTestParser::handleDisplacementEpsilon ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @DisplacementEpsilon keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleElementType()

virtual void mtest::PipeTestParser::handleElementType ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @ElementType keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleFailureCriterion()

virtual void mtest::PipeTestParser::handleFailureCriterion ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @FailureCriterion keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleFailurePolicy()

virtual void mtest::PipeTestParser::handleFailurePolicy ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @FailurePolicy keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleFillingPressure()

virtual void mtest::PipeTestParser::handleFillingPressure ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @FillingPressure keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleFillingTemperature()

virtual void mtest::PipeTestParser::handleFillingTemperature ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @FillingTemperature keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleGasEquationOfState()

virtual void mtest::PipeTestParser::handleGasEquationOfState ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @GasEquationOfState keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleInnerPressureEvolution()

virtual void mtest::PipeTestParser::handleInnerPressureEvolution ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @InnerPressureEvolution keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleInnerRadius()

virtual void mtest::PipeTestParser::handleInnerRadius ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @InnerRadius keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleInnerRadiusEvolution()

virtual void mtest::PipeTestParser::handleInnerRadiusEvolution ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @InnerRadiusEvolution keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleMandrelAxialGrowthEvolution()

virtual void mtest::PipeTestParser::handleMandrelAxialGrowthEvolution ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @MandrelAxialGrowthEvolution keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleMandrelRadiusEvolution()

virtual void mtest::PipeTestParser::handleMandrelRadiusEvolution ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @MandrelRadiusEvolution keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleNumberOfElements()

virtual void mtest::PipeTestParser::handleNumberOfElements ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @NumberOfElements keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleOuterPressureEvolution()

virtual void mtest::PipeTestParser::handleOuterPressureEvolution ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @OuterPressureEvolution keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleOuterRadius()

virtual void mtest::PipeTestParser::handleOuterRadius ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @OuterRadius keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleOuterRadiusEvolution()

virtual void mtest::PipeTestParser::handleOuterRadiusEvolution ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @OuterRadiusEvolution keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleOxidationModel()

virtual void mtest::PipeTestParser::handleOxidationModel ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @OxidationModel keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handlePerformSmallStrainAnalysis()

virtual void mtest::PipeTestParser::handlePerformSmallStrainAnalysis ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @PerformSmallStrainAnalysis keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleProfile()

virtual void mtest::PipeTestParser::handleProfile ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @Profile keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleRadialLoading()

virtual void mtest::PipeTestParser::handleRadialLoading ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @RadialLoading keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleResidualEpsilon()

virtual void mtest::PipeTestParser::handleResidualEpsilon ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @ResidualEpsilon keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ handleTest()

virtual void mtest::PipeTestParser::handleTest ( PipeTest & ,
tokens_iterator &  )
protectedvirtual

handle the @Test keyword

Parameters
[out]ttest
[in,out]pposition in the input file

◆ parseString()

void mtest::PipeTestParser::parseString ( PipeTest & ,
const std::string &  )

execute mtest parser on a string

Parameters
[in]s: string

◆ registerCallBacks()

void mtest::PipeTestParser::registerCallBacks ( )
overrideprotectedvirtual

register the call backs associated with each command

Reimplemented from mtest::SchemeParserBase.

◆ treatKeyword()

bool mtest::PipeTestParser::treatKeyword ( PipeTest & ,
tokens_iterator &  )
protected

treat the current keyword

Parameters
[in,out]pposition in the input file

The documentation for this struct was generated from the following file: