Tinker9
70bd052 (Thu Nov 9 12:11:35 2023 -0800)
Loading...
Searching...
No Matches
include
ff
rwcrd.h
1
#pragma once
2
#include <string>
3
4
namespace
tinker
{
5
enum class
CrdFormat
6
{
7
NONE
,
8
TXYZ1
,
9
TXYZ2_PBC
,
10
DCD
11
};
12
13
class
CrdR;
14
class
CrdReader
15
{
16
protected
:
17
CrdR*
m_impl
;
18
19
public
:
20
~CrdReader
();
21
CrdReader
(std::string crdfile,
CrdFormat
crdformat =
CrdFormat::NONE
);
22
int
readCurrent
();
23
};
24
25
class
CrdW;
26
class
CrdWriter
27
{
28
protected
:
29
CrdW*
m_impl
;
30
const
double
*
qx
, *
qy
, *
qz
;
31
32
public
:
33
~CrdWriter
();
34
CrdWriter
(
const
double
* xx,
const
double
* yy,
const
double
* zz,
//
35
std::string crdfile,
CrdFormat
crdformat =
CrdFormat::NONE
);
36
int
writeCurrent
();
37
};
38
}
tinker::CrdReader
Definition:
rwcrd.h:15
tinker::CrdReader::m_impl
CrdR * m_impl
Definition:
rwcrd.h:17
tinker::CrdReader::~CrdReader
~CrdReader()
tinker::CrdReader::readCurrent
int readCurrent()
tinker::CrdReader::CrdReader
CrdReader(std::string crdfile, CrdFormat crdformat=CrdFormat::NONE)
tinker::CrdWriter
Definition:
rwcrd.h:27
tinker::CrdWriter::writeCurrent
int writeCurrent()
tinker::CrdWriter::m_impl
CrdW * m_impl
Definition:
rwcrd.h:29
tinker::CrdWriter::qx
const double * qx
Definition:
rwcrd.h:30
tinker::CrdWriter::qy
const double * qy
Definition:
rwcrd.h:30
tinker::CrdWriter::~CrdWriter
~CrdWriter()
tinker::CrdWriter::CrdWriter
CrdWriter(const double *xx, const double *yy, const double *zz, std::string crdfile, CrdFormat crdformat=CrdFormat::NONE)
tinker::CrdWriter::qz
const double * qz
Definition:
rwcrd.h:30
tinker
Definition:
testrt.h:9
tinker::CrdFormat
CrdFormat
Definition:
rwcrd.h:6
tinker::CrdFormat::TXYZ2_PBC
@ TXYZ2_PBC
tinker::CrdFormat::NONE
@ NONE
tinker::CrdFormat::DCD
@ DCD
tinker::CrdFormat::TXYZ1
@ TXYZ1
Generated by
1.9.5