Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
DDsegments.cpp
Go to the documentation of this file.
1/* This file is part of MODEL, the Mechanics Of Defect Evolution Library.
2 *
3 * Copyright (C) 2015 by Giacomo Po <gpo@ucla.edu>.
4 *
5 * model is distributed without any warranty under the
6 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
7 */
8
9#include <VTKsegments.h>
10
11using namespace model;
12
13int main(int argc, char** argv)
14{
15
16 const std::string folderName(argc>1? std::string(argv[1]) : "./");
17 const std::string vtkFile(argc>2? std::string(argv[2]) : "dxa_ovito_0");
18
19 VTKsegments vs(folderName);
20 vs.readVTK(vtkFile);
21
22 return 0;
23}
void readVTK(const std::string &vtkFilePrefix)
void argv
void b int argc