tfel
Loading...
Searching...
No Matches
mfront::LocalDataStructure Struct Reference

#include </home/runner/work/tfel/tfel/mfront/include/MFront/LocalDataStructure.hxx>

Classes

struct  Variable
 description of a variable More...

Public Types

using ModellingHypothesis = tfel::material::ModellingHypothesis
 a simple alias
using Hypothesis = ModellingHypothesis::Hypothesis
 a simple alias

Public Member Functions

LocalDataStructure & addVariable (const Hypothesis, const Variable &)
std::vector< Hypothesis > getSpecialisedHypotheses () const
 return the list of specialised hypotheses
const std::vector< Variable > & get (const Hypothesis) const
 return the list of variables of variables of the given hypothesis
bool contains (const Hypothesis, const std::string &) const
 return true if a variable has been defined

Public Attributes

std::string name
 name of the variable using the local data structure

Detailed Description

structure used to create local data structure

Member Function Documentation

◆ addVariable()

LocalDataStructure & mfront::LocalDataStructure::addVariable ( const Hypothesis ,
const Variable &  )

add a new variable

Parameters
[in]hmodelling hypothesis
[in]vvariable

◆ contains()

bool mfront::LocalDataStructure::contains ( const Hypothesis ,
const std::string &  ) const
nodiscard

return true if a variable has been defined

Parameters
[in]hmodelling hypothesis
[in]nvariable name

◆ get()

const std::vector< Variable > & mfront::LocalDataStructure::get ( const Hypothesis ) const
nodiscard

return the list of variables of variables of the given hypothesis

Parameters
[in]hmodelling hypothesis

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