You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
643 B

#pragma once
#include <Eigen/Eigen>
#include <string>
#include <utility>
#include "Eigen/src/Core/Matrix.h"
#include "Eigen/src/Geometry/AlignedBox.h"
namespace da {
class Config {
public:
std::string filePath;
std::string outputPath;
std::string visualObjPath;
double YM = 1e5;
double PR = 0.3;
double max_loop =200;
double volfrac=0.15;
double penal=1.0;
double r_min=1.5;
int len_x;
int len_y;
int len_z;
std::vector<Neu> v_Neu;
std::vector<Dir> v_Dir;
public:
bool loadFromJSON(const std::string& p_filePath);
void backUpConfig(const std::string& p_filePath);
};
} // namespace da