tfel
Loading...
Searching...
No Matches
VariableDescription.hxx File Reference

This file declares the VariableDescription class. More...

#include <map>
#include <vector>
#include <string>
#include <variant>
#include <optional>
#include <initializer_list>
#include "TFEL/Utilities/GenTypeBase.hxx"
#include "MFront/MFrontConfig.hxx"
#include "MFront/SupportedTypes.hxx"
#include "MFront/VariableAttribute.hxx"
#include "MFront/VariableBoundsDescription.hxx"
#include "MFront/VariableDescriptionBase.hxx"
#include "MFront/VariableDescription.ixx"

Classes

struct  mfront::VariableDescription
 structure standing for a standard (non static) variable More...
struct  mfront::VariableDescriptionContainer
 a simple wrapper around the std::vector class More...

Namespaces

namespace  mfront
 This namespace contains material used to build the MFront code generator.

Typedefs

using mfront::VarHandler = VariableDescription
 a simple alias for backward compatibility
using mfront::VarContainer = VariableDescriptionContainer
 a simple alias for backward compatibility with previous version of TFEL

Functions

MFRONT_VISIBILITY_EXPORT void mfront::checkAndCompletePhysicalBoundsDeclaration (VariableDescription &, const std::string_view)
 declare the physical bounds of a variable if:
MFRONT_VISIBILITY_EXPORT SupportedTypes::TypeSize mfront::getTypeSize (const VariableDescription &)
MFRONT_VISIBILITY_EXPORT bool mfront::hasBounds (const VariableDescription &)
MFRONT_VISIBILITY_EXPORT bool mfront::hasBounds (const VariableDescription &, const unsigned short)
MFRONT_VISIBILITY_EXPORT bool mfront::hasPhysicalBounds (const VariableDescription &)
MFRONT_VISIBILITY_EXPORT bool mfront::hasPhysicalBounds (const VariableDescription &, const unsigned short)
MFRONT_VISIBILITY_EXPORT void mfront::getSymbol (std::map< std::string, std::string > &, const VariableDescription &)
 retrieve the symbol of the given variable description.
MFRONT_VISIBILITY_EXPORT void mfront::getIncrementSymbol (std::map< std::string, std::string > &, const VariableDescription &)
 retrieve the symbols associated with the increment of the given variable.
MFRONT_VISIBILITY_EXPORT void mfront::getTimeDerivativeSymbol (std::map< std::string, std::string > &, const VariableDescription &)
 retrieve the symbols associated with the time derivative of the given variable.
MFRONT_VISIBILITY_EXPORT VariableDescriptionContainer::const_iterator mfront::findByExternalName (const VariableDescriptionContainer &, const std::string &)
MFRONT_VISIBILITY_EXPORT SupportedTypes::TypeSize mfront::getTypeSize (const VariableDescriptionContainer &)
MFRONT_VISIBILITY_EXPORT bool mfront::hasBounds (const VariableDescriptionContainer &)
MFRONT_VISIBILITY_EXPORT bool mfront::hasPhysicalBounds (const VariableDescriptionContainer &)
MFRONT_VISIBILITY_EXPORT void mfront::getSymbols (std::map< std::string, std::string > &, const VariableDescriptionContainer &)
 retrieve all symbols in the given variables.
MFRONT_VISIBILITY_EXPORT void mfront::getIncrementSymbols (std::map< std::string, std::string > &, const VariableDescriptionContainer &)
 retrieve all symbols associated with the increment of the given variables.
MFRONT_VISIBILITY_EXPORT void mfront::getTimeDerivativeSymbols (std::map< std::string, std::string > &, const VariableDescriptionContainer &)
 retrieve all symbols associated with the time derivative of the given variables.
MFRONT_VISIBILITY_EXPORT SupportedTypes::TypeSize mfront::getOffset (const VariableDescriptionContainer &, const std::string &)
MFRONT_VISIBILITY_EXPORT void mfront::checkAndCompletePhysicalBoundsDeclaration (VariableDescriptionContainer &, const std::string_view)
 declare the physical bounds of all variables using the glossary

Detailed Description

This file declares the VariableDescription class.

Author
Thomas Helfer
Date
17/01/2007