aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source/ops_dft.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vasp/source/ops_dft.h')
-rw-r--r--externals/grill/vasp/source/ops_dft.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/externals/grill/vasp/source/ops_dft.h b/externals/grill/vasp/source/ops_dft.h
new file mode 100644
index 00000000..f2f3fe40
--- /dev/null
+++ b/externals/grill/vasp/source/ops_dft.h
@@ -0,0 +1,25 @@
+/*
+
+VASP modular - vector assembling signal processor / objects for Max/MSP and PD
+
+Copyright (c) 2002 Thomas Grill (xovo@gmx.net)
+For information on usage and redistribution, and for a DISCLAIMER OF ALL
+WARRANTIES, see the file, "license.txt," in this distribution.
+
+*/
+
+#ifndef __VASP_OPS_DFT_H
+#define __VASP_OPS_DFT_H
+
+#include "opbase.h"
+
+// Fourier transforms
+
+namespace VaspOp {
+ Vasp *m_rfft(OpParam &p,Vasp &src,Vasp *dst = NULL,BL inv = false); // real forward
+ inline Vasp *m_rifft(OpParam &p,Vasp &src,Vasp *dst = NULL) { return m_rfft(p,src,dst,true); } // real inverse
+ Vasp *m_cfft(OpParam &p,Vasp &src,Vasp *dst = NULL,BL inv = false); // complex forward
+ inline Vasp *m_cifft(OpParam &p,Vasp &src,Vasp *dst = NULL) { return m_cfft(p,src,dst,true); } // complex inverse
+}
+
+#endif