WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
fileutils.h File Reference
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  warptwin
 Class to propagate CR3BP dynamics in characteristic units.

Functions

bool warptwin::fileExist (const std::string &name)
 Function to quickly check and verify whether a file exists.
int warptwin::readTxtFile (const std::string &filename, std::vector< std::vector< double > > &data, const std::string &header_end_mark="!", const std::string &delimeter=" ", unsigned int num_cols=10)
 Reads a text file and populates a 2D vector with column-based numerical data.