MDStressLab++
Loading...
Searching...
No Matches
Rigidity.h
Go to the documentation of this file.
1//
2// Created by Nikhil Chandra Admal on 1/29/25.
3//
4
5#ifndef MDSTRESSLAB_RIGIDITY_H
6#define MDSTRESSLAB_RIGIDITY_H
7
8#include "Eigen/Eigen/Sparse"
9#include "neighbor_list.h"
10
11// input: coordinates, input_Nl.
12// private: halfNl, rigidity matrices
13// Output bonds;
14class Rigidity {
15public:
16 Eigen::MatrixXd matrixR, matrixRTR;
19 std::vector<double> project(const Eigen::VectorXd& gi) const;
20};
21
22
23#endif //MDSTRESSLAB_RIGIDITY_H
Eigen::MatrixXd matrixR
Definition Rigidity.h:16
Eigen::MatrixXd matrixRTR
Definition Rigidity.h:16
std::vector< double > project(const Eigen::VectorXd &gi) const
Definition Rigidity.cpp:40
const MatrixXd & coordinates
Definition Rigidity.h:17
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > MatrixXd
Definition typedef.h:54