feat(surface): surface deformation prescriptions
restricted the unknown state vector to surface deformation and implemented one prescription, NodalRadialSurface, while the full volumetric displacment field is reconstructed analytically from that. This reduced the number of degrees of freedom in the system by a factor of 80 while also removing many null vectors from the system.
This commit is contained in:
@@ -18,7 +18,7 @@ export namespace experiment {
|
||||
|
||||
class ExperimentRegistry {
|
||||
public:
|
||||
static ExperimentRegistry& instance() {
|
||||
static ExperimentRegistry &instance() {
|
||||
static ExperimentRegistry registry;
|
||||
return registry;
|
||||
}
|
||||
@@ -50,16 +50,20 @@ export namespace experiment {
|
||||
};
|
||||
|
||||
inline void record_experiment_result(
|
||||
const std::string& experiment_name,
|
||||
const std::string& case_name,
|
||||
std::map<std::string, std::string> parameters,
|
||||
std::map<std::string, double> metrics
|
||||
const std::string &experiment_name,
|
||||
const std::string &case_name,
|
||||
std::map<
|
||||
std::string,
|
||||
std::string> parameters,
|
||||
std::map<
|
||||
std::string,
|
||||
double> metrics
|
||||
) {
|
||||
ExperimentRegistry::instance().add_result({
|
||||
.experiment_name = experiment_name,
|
||||
.case_name = case_name,
|
||||
.parameters = std::move(parameters),
|
||||
.metrics = std::move(metrics)
|
||||
});
|
||||
ExperimentRegistry::instance().add_result(
|
||||
{.experiment_name = experiment_name,
|
||||
.case_name = case_name,
|
||||
.parameters = std::move(parameters),
|
||||
.metrics = std::move(metrics)}
|
||||
);
|
||||
}
|
||||
}
|
||||
} // namespace experiment
|
||||
Reference in New Issue
Block a user