-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JohannHansing
committed
Jul 8, 2016
1 parent
ae863ad
commit 81dd1ef
Showing
7 changed files
with
454 additions
and
363 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* CPolymers.h | ||
* | ||
* Created on: Aug 9, 2013 | ||
* Author: jh | ||
*/ | ||
|
||
#ifndef CBEAD_H_ | ||
#define CBEAD_H_ | ||
|
||
#include <iostream> | ||
#include <vector> | ||
#include <array> | ||
#include <string> | ||
#include "boost/random.hpp" | ||
#include <Eigen/Dense> | ||
|
||
using namespace std; | ||
|
||
|
||
class CBead {//TODO include CPolymers into this here, by setting random sign! | ||
private: | ||
//... | ||
|
||
public: | ||
Eigen::Vector3d pos; | ||
Eigen::Vector3d f_mob; //store mobility and stochastic force | ||
Eigen::Vector3d f_sto; | ||
int sign = 1; | ||
|
||
CBead(); | ||
CBead(int signx, Eigen::Vector3d posx){ | ||
sign = signx; | ||
pos = posx; | ||
} | ||
}; | ||
|
||
|
||
|
||
#endif /* CBEAD_H_ */ |
Oops, something went wrong.