source:
ZHANGProjects/ICOSIM/CPP/trunk/source/newcrym.cc
@
2
Last change on this file since 2 was 2, checked in by , 10 years ago | |
---|---|
File size: 420 bytes |
Line | |
---|---|
1 | #include <iostream> |
2 | #include <cmath> |
3 | #include <fstream> |
4 | #include "simcrys.h" |
5 | |
6 | using namespace std; |
7 | |
8 | |
9 | |
10 | int main() |
11 | { |
12 | |
13 | |
14 | |
15 | SimCrys sim(Crystal (10, 0.0015, 0, 1, 0.005, 0.05), Partcrys (0)); |
16 | |
17 | sim.open_file(sim); |
18 | sim.initiate(sim); |
19 | |
20 | SimCrys simtwo(Crystal (sim.crys.Rcurv, sim.crys.Cry_length, sim.crys.IS, sim.crys.C_orient, sim.crys.C_xmax, sim.crys.C_ymax), Partcrys (0)); |
21 | |
22 | simtwo.general(simtwo); |
23 | |
24 | |
25 | |
26 | } |
Note: See TracBrowser
for help on using the repository browser.