blob: 9deb8037f9b5896cb3f89400859ad7d012120b5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright 2006-2007 Nanorex, Inc. See LICENSE file for details.
#ifndef NANOTUBO_H_DEFINED
#define NANOTUBO_H_DEFINED
class Nanotubo
{
double *altura, *phi; // altura --> height
double A;
public:
int i1, i2, ordenmin, _d;
double deltaz1, deltaz2, deltaphi1, deltaphi2;
Nanotubo (int I, int J);
Nanotubo (int I, int J, double aalt);
double deltaz ();
double deltaphi ();
double radio ();
double quiral ();
double quiralg ();
double deltazc ();
double deltaphic ();
int d ();
double energia (double momm, double momz);
};
#endif
|