Loading...
Searching...
No Matches
CpmdMessage.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <capnp/message.h>
6
7#include "rgpot/rpc/Potentials.capnp.h"
8
9// The CPMDParams root the engine passes to CPMDPot.
10//
11// A non-empty params_path is that message: functional, cutOffRy, charge,
12// multiplicity, title, memory, inputSections, and inputBlocks. Scalar
13// fields on the options are not written over a message that loaded.
14// An empty path uses those scalars as the message.
15//
16// engine_path, engine_library, engine_root, scratch_dir, and permanent_dir
17// are written after either source. They place the process.
18//
19// input_block, or RGPOT_CPMD_INPUT_BLOCK when that string is empty, is
20// appended to inputBlocks. inputSections stay as the file stored them.
21namespace eon {
22::CPMDParams::Builder fillCpmdParams(::capnp::MallocMessageBuilder &msg,
23 const RGPotEngineOptions &opt);
24}
::CPMDParams::Builder fillCpmdParams(::capnp::MallocMessageBuilder &msg, const RGPotEngineOptions &opt)