16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 16:19:19 +02:00

build 190809. load weights data file

This commit is contained in:
tmj-fstate
2019-08-09 23:49:41 +02:00
parent c951b1b955
commit 7ebf6bd7cf
7 changed files with 66 additions and 25 deletions

View File

@@ -1497,7 +1497,7 @@ public:
/*funkcje obliczajace sily*/
void ComputeConstans(void);//ABu: wczesniejsze wyznaczenie stalych dla liczenia sil
double ComputeMass(void);
void ComputeMass(void);
void ComputeTotalForce(double dt);
double Adhesive(double staticfriction) const;
double TractionForce(double dt);
@@ -1645,3 +1645,11 @@ private:
};
//double Distance(TLocation Loc1, TLocation Loc2, TDimension Dim1, TDimension Dim2);
namespace simulation {
using weights_table = std::unordered_map<std::string, float>;
extern weights_table Weights;
} // simulation