Documentation 6b54b78464
Loading...
Searching...
No Matches
option_structure.inl File Reference

Template derived classes from COption, defined here as we only include them where needed to reduce compilation time. More...

Classes

class  COptionEnum< Tenum, TField >
 
class  COptionScalar< Scalar >
 
class  COptionDouble
 
class  COptionInt
 
class  COptionULong
 
class  COptionUShort
 
class  COptionLong
 
class  COptionBool
 
class  COptionString
 
class  COptionEnumList< Tenum, TField >
 
class  COptionArray< Type >
 
class  COptionScalarList< Scalar >
 
class  COptionDoubleList
 
class  COptionShortList
 
class  COptionUShortList
 
class  COptionULongList
 
class  COptionStringList
 
class  COptionConvect
 
class  COptionFEMConvect
 
class  COptionMathProblem
 
class  COptionDVParam
 
class  COptionDVValue
 
class  COptionFFDDef
 
class  COptionFFDDegree
 
class  COptionInlet
 
struct  CStringValuesListHelper< T >
 
struct  CStringValuesListHelper< T * >
 
class  COptionStringValuesList< Type >
 
class  COptionRiemann< Tenum >
 
class  COptionWallSpecies< Tenum >
 
class  COptionGiles< Tenum >
 
class  COptionExhaust
 
class  COptionPeriodic
 
class  COptionTurboPerformance
 
class  COptionPython
 
class  COptionActDisk
 
class  COptionWallFunction
 

Functions

bool IsNumericToken (const std::string &token)
 Whether a config token is a numeric value rather than a name.
 

Detailed Description

Template derived classes from COption, defined here as we only include them where needed to reduce compilation time.

Author
J. Hicken, B. Tracey
Version
8.5.0 "Harrier"

SU2 Project Website: https://su2code.github.io

The SU2 Project is maintained by the SU2 Foundation (http://su2foundation.org)

Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)

SU2 is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

SU2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with SU2. If not, see http://www.gnu.org/licenses/.

Function Documentation

◆ IsNumericToken()

bool IsNumericToken ( const std::string &  token)
inline

Whether a config token is a numeric value rather than a name.

Options that interleave marker names with numbers have to tell the two apart. Testing the first character for a letter is not enough: mesh formats such as CGNS routinely produce boundary names that begin with a digit (4000_QUAD_4_Bdy6), which such a test reads as a value. Requiring the whole token to parse as a number is unambiguous for every name that is not purely numeric.