26 lines
643 B
C++
26 lines
643 B
C++
#pragma once
|
|
|
|
#include "PosNewtonRaphson.h"
|
|
#include "DiagonalMatrix.h"
|
|
|
|
namespace MbD {
|
|
|
|
class AnyPosICNewtonRaphson : public PosNewtonRaphson
|
|
{
|
|
//nqsu qsuOld qsuWeights nSingularMatrixError
|
|
public:
|
|
void initialize() override;
|
|
void initializeGlobally() override;
|
|
void createVectorsAndMatrices() override;
|
|
void fillY() override;
|
|
void fillPyPx() override;
|
|
void passRootToSystem() override;
|
|
|
|
int nqsu = -1;
|
|
std::shared_ptr<FullColumn<double>> qsuOld;
|
|
std::shared_ptr<DiagonalMatrix<double>> qsuWeights;
|
|
int nSingularMatrixError = -1;
|
|
};
|
|
}
|
|
|