new branch: working
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "Solver.h"
|
||||
#include "System.h"
|
||||
#include "Constraint.h"
|
||||
#include "NewtonRaphson.h"
|
||||
|
||||
namespace MbD {
|
||||
@@ -15,23 +16,34 @@ namespace MbD {
|
||||
public:
|
||||
SystemSolver(System* x) : system(x) {
|
||||
}
|
||||
void initializeLocally();
|
||||
void initializeGlobally();
|
||||
void initializeLocally() override;
|
||||
void initializeGlobally() override;
|
||||
void runAllIC();
|
||||
void runBasicKinematic();
|
||||
|
||||
std::shared_ptr<NewtonRaphson> icTypeSolver;
|
||||
System* system;
|
||||
std::unique_ptr<std::vector<std::vector<std::shared_ptr<Constraint>>>> setsOfRedundantConstraints;
|
||||
|
||||
double tstart = 0;
|
||||
double tend = 10;
|
||||
double tend = 25;
|
||||
double toutFirst = 0.0;
|
||||
double errorTolPosKine = 1.0e-6;
|
||||
int iterMaxPosKine = 100;
|
||||
double errorTolAccKine = 1.0e-6;
|
||||
int iterMaxPosKine = 25;
|
||||
int iterMaxAccKine = 25;
|
||||
double hmin = 1.0e-9;
|
||||
double hmax = 1.0;
|
||||
double hout = 1.0e-1;
|
||||
double direction = 1;
|
||||
double corAbsTol = 0;
|
||||
double corRelTol = 0;
|
||||
double intAbsTol = 0;
|
||||
double intRelTol = 0;
|
||||
int iterMaxDyn = 0;
|
||||
int orderMax = 0;
|
||||
double translationLimit = 0;
|
||||
double rotationLimit = 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user