DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
libraryMDI.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (c) 2017-2025 The Regents of the University of Michigan and DFT-FE
4// authors.
5//
6// This file is part of the DFT-FE code.
7//
8// The DFT-FE code is free software; you can use it, redistribute
9// it, and/or modify it under the terms of the GNU Lesser General
10// Public License as published by the Free Software Foundation; either
11// version 2.1 of the License, or (at your option) any later version.
12// The full text of the license can be found in the file LICENSE at
13// the top level of the DFT-FE distribution.
14//
15// ---------------------------------------------------------------------
16//
17
18#if defined(DFTFE_WITH_MDI)
19# ifndef dftfeLibraryMDI_H_
20# define dftfeLibraryMDI_H_
21
22/* C style library calls to DFTFE when a DFTFE shared library is
23 * used as a plugin through MolSSI Driver Interface (MDI). */
24
25# include <mdi.h>
26
27extern "C"
28{
29 int
30 MDI_Plugin_init_dftfe(void *plugin_state);
31
32 int
33 MDI_Plugin_open_dftfe(void *plugin_state);
34
35 int
36 MDI_Plugin_close_dftfe();
37
38 int
39 dftfe_execute_mdi_command(const char *, MDI_Comm, void *);
40}
41# endif
42#endif