feat(libconfig): new version of libconfig
This commit is contained in:
35
src/include/gridfire/config/config.h
Normal file
35
src/include/gridfire/config/config.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#pragma once
|
||||
|
||||
#include "fourdst/config/config.h"
|
||||
|
||||
namespace gridfire::config {
|
||||
struct CVODESolverConfig {
|
||||
double absTol = 1.0e-8;
|
||||
double relTol = 1.0e-5;
|
||||
};
|
||||
|
||||
struct SolverConfig {
|
||||
CVODESolverConfig cvode;
|
||||
};
|
||||
|
||||
struct AdaptiveEngineViewConfig {
|
||||
double relativeCullingThreshold = 1.0e-75;
|
||||
};
|
||||
|
||||
struct EngineViewConfig {
|
||||
AdaptiveEngineViewConfig adaptiveEngineView;
|
||||
};
|
||||
|
||||
struct EngineConfig {
|
||||
EngineViewConfig views;
|
||||
|
||||
};
|
||||
|
||||
struct GridFireConfig {
|
||||
SolverConfig solver;
|
||||
EngineConfig engine;
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user