|
Nektar++
|
Simple AST for the Geo format which will be populated by the #GeoParser class. More...
Classes | |
| struct | GeoFile |
| Lightweight wrapper for a .geo file structure. More... | |
| struct | Geom |
| Wrapper for all other Geometry types, which are defined using a list of integer IDs. For example, a line is defined from the IDs of two points. More... | |
| struct | Point |
| Wrapper for the Gmsh Point geometry type. More... | |
Functions | |
| double | Eval (LibUtilities::Interpreter &interp, std::vector< char > &expr) |
| Evaluate an expression using the LibUtilities::Interpreter class. | |
| void | SetParam (LibUtilities::Interpreter &interp, std::vector< char > &varname, double &val) |
Set a parameter inside the interp object. Used to store Gmsh variables defined in the .geo file. | |
| void | PrintWarning (Logger &log, std::vector< char > &geomname) |
| Print a warning for unknown geometry types. | |
Simple AST for the Geo format which will be populated by the #GeoParser class.
| double Nektar::SpatialDomains::GeoAst::Eval | ( | LibUtilities::Interpreter & | interp, |
| std::vector< char > & | expr | ||
| ) |
Evaluate an expression using the LibUtilities::Interpreter class.
| interp | Handle to the interpreter to use. |
| expr | String expression returned from boost::qi, handled as a vector of characters. |
Definition at line 65 of file GeoParser.hpp.
References Nektar::LibUtilities::Interpreter::DefineFunction(), and Nektar::LibUtilities::Interpreter::Evaluate().
Referenced by Nektar::SpatialDomains::GeoParser< Iterator, Skipper >::GeoParser().
Print a warning for unknown geometry types.
| geomname | The interpreted geomtery name. |
Definition at line 93 of file GeoParser.hpp.
References tinysimd::log(), and Nektar::WARNING.
Referenced by Nektar::SpatialDomains::GeoParser< Iterator, Skipper >::GeoParser().
| void Nektar::SpatialDomains::GeoAst::SetParam | ( | LibUtilities::Interpreter & | interp, |
| std::vector< char > & | varname, | ||
| double & | val | ||
| ) |
Set a parameter inside the interp object. Used to store Gmsh variables defined in the .geo file.
| interp | Handle to the interpreter to use. |
| expr | Variable name returned from boost::qi, handled as a vector of characters. |
| val | Value of the parameter. |
Definition at line 81 of file GeoParser.hpp.
References Nektar::LibUtilities::Interpreter::SetParameter().
Referenced by Nektar::SpatialDomains::GeoParser< Iterator, Skipper >::GeoParser().