Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
lmplugin.cpp File Reference
#include <cmath>
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <algorithm>
#include <exception>
#include <numeric>
#include <set>
#include <sstream>
#include <string>
#include <variant>
#include <vector>
#include <hdf5.h>
#include <hdf5_hl.h>
#include "molfile_plugin.h"
#include "vmdconio.h"
Include dependency graph for lmplugin.cpp:

Namespaces

namespace  H5File_specialized

Macros

#define MAX_VMD_NAME   16
#define RDME_RADIUS_SCALE   0.1
#define TO_ANGSTROM   1e10
#define MAX_LMPEXC_MSG   256
#define partial_val(x)
#define H5_CALL_ASSIGN(val, call)
#define H5_CALL(call)

Functions

VMDPLUGIN_API int VMDPLUGIN_init ()
VMDPLUGIN_API int VMDPLUGIN_register (void *v, vmdplugin_register_cb cb)
VMDPLUGIN_API int VMDPLUGIN_fini ()

Macro Definition Documentation

◆ H5_CALL

#define H5_CALL ( call)
Value:
do { \
hid_t val; \
H5_CALL_ASSIGN(val, (call)); \
} while (0)

◆ H5_CALL_ASSIGN

#define H5_CALL_ASSIGN ( val,
call )
Value:
do { \
val = (call); \
if (val < 0) { \
throw H5Exception(); \
} \
} while (0)

◆ MAX_LMPEXC_MSG

#define MAX_LMPEXC_MSG   256

◆ MAX_VMD_NAME

#define MAX_VMD_NAME   16

◆ partial_val

#define partial_val ( x)
Value:
(std::holds_alternative<uint32_t>(x) ? std::get<uint32_t>(x) : std::get<uint8_t>(x))

◆ RDME_RADIUS_SCALE

#define RDME_RADIUS_SCALE   0.1

◆ TO_ANGSTROM

#define TO_ANGSTROM   1e10

Function Documentation

◆ VMDPLUGIN_fini()

VMDPLUGIN_API int VMDPLUGIN_fini ( )

◆ VMDPLUGIN_init()

VMDPLUGIN_API int VMDPLUGIN_init ( )

◆ VMDPLUGIN_register()

VMDPLUGIN_API int VMDPLUGIN_register ( void * v,
vmdplugin_register_cb cb )