Loading...
Searching...
No Matches
testWriteR.cpp
Go to the documentation of this file.
1/*
2** This file is part of eOn.
3**
4** SPDX-License-Identifier: BSD-3-Clause
5**
6** Copyright (c) 2010--present, eOn Development Team
7** All rights reserved.
8**
9** Repo:
10** https://github.com/TheochemUI/eOn
11*/
12#include "eon/Matter.h"
13#include "eon/Parameters.h"
14#include <cstdlib>
15#include <string>
16
17int main() {
18 std::string confile("pos.con");
19 eonc::Parameters parameters;
20 auto pot =
22 eonc::Matter matter(pot, parameters);
23 matter.con2matter(confile);
24 matter.writeTibble("rSysdat.txt");
25 return EXIT_SUCCESS;
26}
io::IoStatus writeTibble(std::string filename)
Definition Matter.h:274
io::IoStatus con2matter(std::string filename)
Definition Matter.h:281
std::unique_ptr< Potential > makePotential(const Parameters &params)
Exclusive ownership.
std::shared_ptr< Potential > sharePotential(std::unique_ptr< Potential > pot)
Multi-owner boundary: one instance observed by several Matters, images, or a binding.
Definition Potential.h:292
int main()