WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
SimulationUtils.cpp File Reference
#include <algorithm>
#include <filesystem>
#include <fstream>
#include <iostream>
#include "SimulationUtils.h"
#include "core/clockwerkerrors.h"
#include "locations.h"
#include "utils/fileutils.h"

Namespaces

namespace  warptwin
 Class to propagate CR3BP dynamics in characteristic units.

Functions

Name of the model type

List all default options for the specified model type

Returns
Vector containing all default options for the model type

This function returns all of the pre-configured default json configurations for the model as stored in data/defaults/<Model type name>

std::vector< std::string > warptwin::listDefaultConfigsByModelName (std::string name)
int warptwin::parseDefaultConfigFromJson (const std::string &class_type, const std::string &default_name, nlohmann::json &j)
 Parse the default configuration from a JSON file into a PBR JSON object.