PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures
|
Prototypes of parser functions. More...
#include <string>
#include <petscsys.h>
#include <symengine/lambda_double.h>
#include <yaml-cpp/yaml.h>
#include <petibm/type.h>
Go to the source code of this file.
Namespaces | |
namespace | petibm |
A toolbox for building flow solvers. | |
namespace | petibm::parser |
A collection of YAML node parsers. | |
Functions | |
PetscErrorCode | petibm::parser::getSettings (YAML::Node &node) |
Get configuration settings. More... | |
PetscErrorCode | petibm::parser::readYAMLFile (const std::string &filePath, YAML::Node &node) |
Load the content of a YAML file into a YAML node. More... | |
PetscErrorCode | petibm::parser::parseMesh (const YAML::Node &meshNode, PetscInt &dim, type::RealVec1D &bg, type::RealVec1D &ed, type::IntVec1D &nTotal, type::RealVec2D &dL) |
Parse a YAML node of cartesianMesh. More... | |
PetscErrorCode | petibm::parser::parseOneAxis (const YAML::Node &axis, PetscInt &dir, PetscReal &bg, PetscReal &ed, PetscInt &nTotal, type::RealVec1D &dL) |
Parse the info of only one direction from YAML node. More... | |
PetscErrorCode | petibm::parser::parseSubDomains (const YAML::Node &subs, const PetscReal bg, PetscInt &nTotal, PetscReal &ed, type::RealVec1D &dL) |
Parse all sub-domains in a direction. More... | |
PetscErrorCode | petibm::parser::parseOneSubDomain (const YAML::Node &sub, const PetscReal bg, PetscInt &n, PetscReal &ed, type::RealVec1D &dL) |
Parse only one sub-domain. More... | |
PetscErrorCode | petibm::parser::parseBCs (const YAML::Node &node, type::IntVec2D &bcTypes, type::RealVec2D &bcValues) |
Parse boundary conditions from a YAML node. More... | |
PetscErrorCode | petibm::parser::parseICs (const YAML::Node &node, std::vector< SymEngine::LambdaRealDoubleVisitor > &ics) |
Parse initial conditions from a YAML node. More... | |
Prototypes of parser functions.
Definition in file parser.h.