MRMD 0.4.0
Multi Resolution Molecular Dynamics
Loading...
Searching...
No Matches
DumpGRO.hpp
Go to the documentation of this file.
1// Copyright 2024 Sebastian Eibl
2// Copyright 2026 Julian Friedrich Hille
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// https://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16#pragma once
17
18#include "data/Atoms.hpp"
19#include "data/Subdomain.hpp"
20
21namespace mrmd
22{
23namespace io
24{
25void dumpGRO(const std::string& filename,
26 data::Atoms& atoms,
27 const data::Subdomain& subdomain,
28 const real_t& timestamp,
29 const std::string& title,
30 const std::string& resName,
31 const std::vector<std::string>& typeNames,
32 bool dumpGhosts = true,
33 bool dumpVelocities = false);
34} // namespace io
35} // namespace mrmd
DeviceAtoms Atoms
Definition Atoms.hpp:177
void dumpGRO(const std::string &filename, data::Atoms &atoms, const data::Subdomain &subdomain, const real_t &timestamp, const std::string &title, const std::string &resName, const std::vector< std::string > &typeNames, bool dumpGhosts, bool dumpVelocities)
format specification https://manual.gromacs.org/current/reference-manual/file-formats....
Definition DumpGRO.cpp:26
Definition BerendsenBarostat.cpp:18
double real_t
Definition datatypes.hpp:99