cuIBM
A GPU-based Immersed Boundary Method code
|
Declaration of the functions of the namespace io
.
More...
#include <vector>
#include "utilities/types.h"
#include "utilities/domain.h"
#include "utilities/parameterDB.h"
#include "utilities/bodies.h"
Go to the source code of this file.
Namespaces | |
io | |
Contains functions related to I/O tasks. | |
Functions | |
std::vector< std::string > & | io::split (const std::string &s, char delim, std::vector< std::string > &elems) |
Splits a string given a delimiter. More... | |
std::vector< std::string > | io::split (const std::string &s, char delim) |
Splits a string given a delimiter. More... | |
void | io::readInputs (int argc, char **argv, parameterDB &DB, domain &D) |
Reads data inputs from the command-line and the simulation files. More... | |
void | io::parseDomainFile (std::string &domFile, domain &D) |
Parses the domain file and generates the computational grid. More... | |
void | io::parseFlowFile (std::string &flowFile, parameterDB &DB) |
Parses the flow file and stores the parameters in the database. More... | |
void | io::parseSimulationFile (std::string &simFile, parameterDB &DB) |
Parses simParams.yaml and stores the simulation parameters. More... | |
void | io::parseBodiesFile (std::string &bodiesFile, parameterDB &DB) |
Parses the bodies.yaml file and stores information about the immersed bodies. More... | |
void | io::initialiseDefaultDB (parameterDB &DB) |
Initializes the database with default values. More... | |
void | io::commandLineParse1 (int argc, char **argv, parameterDB &DB) |
Parses the command-line to get the case folder name and the device number. More... | |
void | io::commandLineParse2 (int argc, char **argv, parameterDB &DB) |
Overwrites parameters with additional arguments of the command-line. More... | |
void | io::printSimulationInfo (parameterDB &DB, domain &D) |
Prints the parameters of the simulation. More... | |
void | io::printTimingInfo (Logger &logger) |
Prints the time spent to execute tasks. More... | |
void | io::writeGrid (std::string &caseFolder, domain &D) |
Writes grid-points coordinates into the file grid. More... | |
template<typename Vector > | |
void | io::writeData (std::string &caseFolder, int n, Vector &q, Vector &lambda, domain &D) |
void | io::readData (std::string &caseFolder, int timeStep, real *x, std::string name) |
Reads numerical data at a given time-step. More... | |
void | io::printDeviceMemoryUsage (std::string label) |
Prints device memory usage. More... | |
Declaration of the functions of the namespace io
.
Definition in file io.h.