Skip to content
Snippets Groups Projects
Commit 67bcf653 authored by Marcin Kirsz's avatar Marcin Kirsz
Browse files

fill_T start argument

parent 55664ced
No related branches found
No related tags found
No related merge requests found
Pipeline #37574 passed
...@@ -69,7 +69,7 @@ class DesignMatrix : public DesignMatrixBase { ...@@ -69,7 +69,7 @@ class DesignMatrix : public DesignMatrixBase {
F f; F f;
phi_type Phi; phi_type Phi;
t_type T; t_type T;
t_type Tlabels; // 0-Energy, 1-Force, 2-Stress t_type Tlabels; // 0-Energy, 1-Force, 2-Stress // TODO should be array of int not double
bool scale=true; // Control escale,fscale,sscale bool scale=true; // Control escale,fscale,sscale
double e_std_dev=1; double e_std_dev=1;
...@@ -194,8 +194,8 @@ class DesignMatrix : public DesignMatrixBase { ...@@ -194,8 +194,8 @@ class DesignMatrix : public DesignMatrixBase {
f.calc_phi_stress_rows(Phi,row,sscale_arr,st,st_d); f.calc_phi_stress_rows(Phi,row,sscale_arr,st,st_d);
} }
} }
void fill_T(const StructureDB &stdb) { void fill_T(const StructureDB &stdb, size_t start=0) {
size_t j=0; size_t j=start;
for (size_t s=0; s<stdb.size(); ++s) { for (size_t s=0; s<stdb.size(); ++s) {
double escale = 1; double escale = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment