From 566af7392a0de26018761b180f103cb869ce003c Mon Sep 17 00:00:00 2001 From: Syun'ichi Shiraiwa Date: Mon, 5 Aug 2024 12:03:19 -0400 Subject: [PATCH] added hyperbolic.i --- mfem/_par/hyperbolic.i | 35 +++++++++++++++++++++++++++++++++++ mfem/_ser/hyperbolic.i | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 mfem/_par/hyperbolic.i create mode 100644 mfem/_ser/hyperbolic.i diff --git a/mfem/_par/hyperbolic.i b/mfem/_par/hyperbolic.i new file mode 100644 index 00000000..17f4b2ba --- /dev/null +++ b/mfem/_par/hyperbolic.i @@ -0,0 +1,35 @@ +%module(package="mfem._par") hyperbolic +%feature("autodoc", "1"); + +%{ +#include "mfem.hpp" +#include "numpy/arrayobject.h" +#include "../common/io_stream.hpp" +#include "../common/pyoperator.hpp" +#include "../common/pycoefficient.hpp" +#include "../common/pyintrules.hpp" +%} + +%include "../common/existing_mfem_headers.i" +#ifdef FILE_EXISTS_FEM_HYPERBOLIC + +%init %{ +import_array(); +%} + +%include "exception.i" +%include "std_string.i" +%include "../common/exception.i" + +%import "array.i" +%import "vector.i" +%import "densemat.i" +%import "eltrans.i" + + +%include "fem/hyperbolic.hpp" + +#endif + + + diff --git a/mfem/_ser/hyperbolic.i b/mfem/_ser/hyperbolic.i new file mode 100644 index 00000000..7b6f4540 --- /dev/null +++ b/mfem/_ser/hyperbolic.i @@ -0,0 +1,35 @@ +%module(package="mfem._ser") hyperbolic +%feature("autodoc", "1"); + +%{ +#include "mfem.hpp" +#include "numpy/arrayobject.h" +#include "../common/io_stream.hpp" +#include "../common/pyoperator.hpp" +#include "../common/pycoefficient.hpp" +#include "../common/pyintrules.hpp" +%} + +%include "../common/existing_mfem_headers.i" +#ifdef FILE_EXISTS_FEM_HYPERBOLIC + +%init %{ +import_array(); +%} + +%include "exception.i" +%include "std_string.i" +%include "../common/exception.i" + +%import "array.i" +%import "vector.i" +%import "densemat.i" +%import "eltrans.i" + + +%include "fem/hyperbolic.hpp" + +#endif + + +