From acb1eb8a2f11311273967db0369516971a435383 Mon Sep 17 00:00:00 2001 From: Syun'ichi Shiraiwa Date: Thu, 18 Sep 2025 07:24:21 -0400 Subject: [PATCH 1/7] update version number to 4.8 --- mfem/__init__.py | 2 +- mfem/_par/array.i | 3 +++ mfem/_par/arrays_by_name.i | 3 +++ mfem/_par/attribute_sets.i | 3 +++ mfem/_par/auxiliary.i | 3 +++ mfem/_par/bilinearform.i | 3 +++ mfem/_par/bilininteg.i | 3 +++ mfem/_par/blockmatrix.i | 3 +++ mfem/_par/blockoperator.i | 3 +++ mfem/_par/blockvector.i | 3 +++ mfem/_par/bounds.i | 3 +++ mfem/_par/coefficient.i | 3 +++ mfem/_par/common_functions.i | 3 +++ mfem/_par/communication.i | 3 +++ mfem/_par/complex_fem.i | 3 +++ mfem/_par/complex_operator.i | 3 +++ mfem/_par/constraints.i | 3 +++ mfem/_par/cpointers.i | 3 +++ mfem/_par/datacollection.i | 3 +++ mfem/_par/densemat.i | 3 +++ mfem/_par/device.i | 3 +++ mfem/_par/dist_solver.i | 3 +++ mfem/_par/doftrans.i | 3 +++ mfem/_par/element.i | 3 +++ mfem/_par/eltrans.i | 3 +++ mfem/_par/enzyme.i | 3 +++ mfem/_par/error.i | 3 +++ mfem/_par/estimators.i | 3 +++ mfem/_par/fe.i | 3 +++ mfem/_par/fe_base.i | 3 +++ mfem/_par/fe_coll.i | 3 +++ mfem/_par/fe_fixed_order.i | 3 +++ mfem/_par/fe_h1.i | 3 +++ mfem/_par/fe_l2.i | 3 +++ mfem/_par/fe_nd.i | 3 +++ mfem/_par/fe_nurbs.i | 3 +++ mfem/_par/fe_pos.i | 3 +++ mfem/_par/fe_rt.i | 3 +++ mfem/_par/fe_ser.i | 3 +++ mfem/_par/fespace.i | 3 +++ mfem/_par/fespacehierarchy.i | 3 +++ mfem/_par/geom.i | 3 +++ mfem/_par/globals.i | 3 +++ mfem/_par/gridfunc.i | 3 +++ mfem/_par/gslib.i | 3 +++ mfem/_par/handle.i | 3 +++ mfem/_par/hash.i | 3 +++ mfem/_par/hexahedron.i | 3 +++ mfem/_par/hybridization.i | 3 +++ mfem/_par/hyperbolic.i | 3 +++ mfem/_par/hypre.i | 3 +++ mfem/_par/intrules.i | 3 +++ mfem/_par/intrules_cut.i | 3 +++ mfem/_par/io_stream.i | 3 +++ mfem/_par/istream_typemap.i | 3 +++ mfem/_par/linearform.i | 3 +++ mfem/_par/lininteg.i | 3 +++ mfem/_par/matrix.i | 3 +++ mfem/_par/mem_manager.i | 3 +++ mfem/_par/mesh.i | 3 +++ mfem/_par/mesh_operators.i | 3 +++ mfem/_par/multigrid.i | 3 +++ mfem/_par/navier_solver.i | 3 +++ mfem/_par/ncmesh.i | 3 +++ mfem/_par/nonlinearform.i | 3 +++ mfem/_par/nonlininteg.i | 3 +++ mfem/_par/ode.i | 3 +++ mfem/_par/operators.i | 3 +++ mfem/_par/ostream_typemap.i | 3 +++ mfem/_par/pbilinearform.i | 3 +++ mfem/_par/pfespace.i | 3 +++ mfem/_par/pgridfunc.i | 3 +++ mfem/_par/plinearform.i | 3 +++ mfem/_par/pmesh.i | 3 +++ mfem/_par/pncmesh.i | 3 +++ mfem/_par/pnonlinearform.i | 3 +++ mfem/_par/point.i | 3 +++ mfem/_par/prestriction.i | 3 +++ mfem/_par/psubmesh.i | 3 +++ mfem/_par/ptransfermap.i | 3 +++ mfem/_par/pumi.i | 3 +++ mfem/_par/qfunction.i | 3 +++ mfem/_par/qspace.i | 3 +++ mfem/_par/quadinterpolator.i | 3 +++ mfem/_par/quadinterpolator_face.i | 3 +++ mfem/_par/quadrilateral.i | 3 +++ mfem/_par/restriction.i | 3 +++ mfem/_par/schwarz.i | 3 +++ mfem/_par/segment.i | 3 +++ mfem/_par/sets.i | 3 +++ mfem/_par/sidredatacollection.i | 3 +++ mfem/_par/socketstream.i | 3 +++ mfem/_par/solvers.i | 3 +++ mfem/_par/sort_pairs.i | 3 +++ mfem/_par/sparsemat.i | 3 +++ mfem/_par/sparsesmoothers.i | 3 +++ mfem/_par/stable3d.i | 3 +++ mfem/_par/staticcond.i | 3 +++ mfem/_par/std_vectors.i | 3 +++ mfem/_par/strumpack.i | 3 +++ mfem/_par/submesh.i | 3 +++ mfem/_par/symmat.i | 3 +++ mfem/_par/table.i | 3 +++ mfem/_par/tetrahedron.i | 3 +++ mfem/_par/tmop.i | 3 +++ mfem/_par/tmop_amr.i | 3 +++ mfem/_par/tmop_tools.i | 3 +++ mfem/_par/transfer.i | 3 +++ mfem/_par/transfermap.i | 3 +++ mfem/_par/triangle.i | 3 +++ mfem/_par/vector.i | 3 +++ mfem/_par/vertex.i | 3 +++ mfem/_par/vtk.i | 3 +++ mfem/_par/wedge.i | 3 +++ mfem/_ser/array.i | 3 +++ mfem/_ser/arrays_by_name.i | 3 +++ mfem/_ser/attribute_sets.i | 3 +++ mfem/_ser/bilinearform.i | 3 +++ mfem/_ser/bilininteg.i | 3 +++ mfem/_ser/blockmatrix.i | 3 +++ mfem/_ser/blockoperator.i | 3 +++ mfem/_ser/blockvector.i | 3 +++ mfem/_ser/bounds.i | 3 +++ mfem/_ser/coefficient.i | 3 +++ mfem/_ser/common_functions.i | 3 +++ mfem/_ser/complex_densemat.i | 3 +++ mfem/_ser/complex_fem.i | 3 +++ mfem/_ser/complex_operator.i | 3 +++ mfem/_ser/complexstaticcond.i | 3 +++ mfem/_ser/complexweakform.i | 3 +++ mfem/_ser/constraints.i | 3 +++ mfem/_ser/cpointers.i | 3 +++ mfem/_ser/datacollection.i | 3 +++ mfem/_ser/densemat.i | 3 +++ mfem/_ser/device.i | 3 +++ mfem/_ser/doftrans.i | 3 +++ mfem/_ser/element.i | 3 +++ mfem/_ser/eltrans.i | 3 +++ mfem/_ser/enzyme.i | 3 +++ mfem/_ser/error.i | 3 +++ mfem/_ser/estimators.i | 3 +++ mfem/_ser/fe.i | 3 +++ mfem/_ser/fe_base.i | 3 +++ mfem/_ser/fe_coll.i | 3 +++ mfem/_ser/fe_fixed_order.i | 3 +++ mfem/_ser/fe_h1.i | 3 +++ mfem/_ser/fe_l2.i | 3 +++ mfem/_ser/fe_nd.i | 3 +++ mfem/_ser/fe_nurbs.i | 3 +++ mfem/_ser/fe_pos.i | 3 +++ mfem/_ser/fe_rt.i | 3 +++ mfem/_ser/fe_ser.i | 3 +++ mfem/_ser/fespace.i | 3 +++ mfem/_ser/fespacehierarchy.i | 3 +++ mfem/_ser/geom.i | 3 +++ mfem/_ser/globals.i | 3 +++ mfem/_ser/gridfunc.i | 3 +++ mfem/_ser/gslib.i | 3 +++ mfem/_ser/handle.i | 3 +++ mfem/_ser/hash.i | 3 +++ mfem/_ser/hexahedron.i | 3 +++ mfem/_ser/hybridization.i | 3 +++ mfem/_ser/hyperbolic.i | 3 +++ mfem/_ser/intrules.i | 3 +++ mfem/_ser/intrules_cut.i | 3 +++ mfem/_ser/io_stream.i | 3 +++ mfem/_ser/istream_typemap.i | 3 +++ mfem/_ser/linearform.i | 3 +++ mfem/_ser/lininteg.i | 3 +++ mfem/_ser/matrix.i | 3 +++ mfem/_ser/mem_manager.i | 3 +++ mfem/_ser/mesh.i | 3 +++ mfem/_ser/mesh_operators.i | 3 +++ mfem/_ser/multigrid.i | 3 +++ mfem/_ser/ncmesh.i | 3 +++ mfem/_ser/nonlinearform.i | 3 +++ mfem/_ser/nonlininteg.i | 3 +++ mfem/_ser/ode.i | 3 +++ mfem/_ser/operators.i | 3 +++ mfem/_ser/ostream_typemap.i | 3 +++ mfem/_ser/point.i | 3 +++ mfem/_ser/qfunction.i | 3 +++ mfem/_ser/qspace.i | 3 +++ mfem/_ser/quadinterpolator.i | 3 +++ mfem/_ser/quadinterpolator_face.i | 3 +++ mfem/_ser/quadrilateral.i | 3 +++ mfem/_ser/restriction.i | 3 +++ mfem/_ser/segment.i | 3 +++ mfem/_ser/sets.i | 3 +++ mfem/_ser/sidredatacollection.i | 3 +++ mfem/_ser/socketstream.i | 3 +++ mfem/_ser/solvers.i | 3 +++ mfem/_ser/sort_pairs.i | 3 +++ mfem/_ser/sparsemat.i | 3 +++ mfem/_ser/sparsesmoothers.i | 3 +++ mfem/_ser/stable3d.i | 3 +++ mfem/_ser/staticcond.i | 3 +++ mfem/_ser/std_vectors.i | 3 +++ mfem/_ser/submesh.i | 3 +++ mfem/_ser/symmat.i | 3 +++ mfem/_ser/table.i | 3 +++ mfem/_ser/tetrahedron.i | 3 +++ mfem/_ser/tmop.i | 3 +++ mfem/_ser/tmop_amr.i | 3 +++ mfem/_ser/tmop_tools.i | 3 +++ mfem/_ser/transfer.i | 3 +++ mfem/_ser/transfermap.i | 3 +++ mfem/_ser/triangle.i | 3 +++ mfem/_ser/vector.i | 3 +++ mfem/_ser/vertex.i | 3 +++ mfem/_ser/vtk.i | 3 +++ mfem/_ser/wedge.i | 3 +++ mfem/common/array_instantiation_macro.i | 3 +++ mfem/common/array_listtuple_typemap.i | 3 +++ mfem/common/bilininteg_ext.i | 3 +++ mfem/common/coefficient_common.i | 3 +++ mfem/common/complex_fem_ext.i | 3 +++ mfem/common/const_doubleptr_typemap.i | 3 +++ mfem/common/const_intptr_typemap.i | 3 +++ mfem/common/cpointers.i | 3 +++ mfem/common/data_size_typemap.i | 3 +++ mfem/common/deprecation.i | 3 +++ mfem/common/enum_class.i | 3 +++ mfem/common/exception.i | 3 +++ mfem/common/exception_director.i | 3 +++ mfem/common/handle_template.i | 3 +++ mfem/common/hypre_int.i | 3 +++ mfem/common/ignore_common_functions.i | 3 +++ mfem/common/io_stream_typemap.i | 3 +++ mfem/common/kernel_dispatch.i | 3 +++ mfem/common/lininteg_ext.i | 3 +++ mfem/common/memorytype_typemap.i | 3 +++ mfem/common/mfem_config.i | 3 +++ mfem/common/numba_coefficient.i | 3 +++ mfem/common/numpy_int_typemap.i | 3 +++ mfem/common/object_array_typemap.i | 3 +++ mfem/common/operator_ptr_typemap.i | 3 +++ mfem/common/typemap_macros.i | 3 +++ 238 files changed, 712 insertions(+), 1 deletion(-) diff --git a/mfem/__init__.py b/mfem/__init__.py index 1ff4c3c0b..2744e0156 100644 --- a/mfem/__init__.py +++ b/mfem/__init__.py @@ -20,5 +20,5 @@ def debug_print(message): print(message) -__version__ = '4.8.0rc10' +__version__ = '4.8.0' diff --git a/mfem/_par/array.i b/mfem/_par/array.i index 633aea487..6377f5017 100644 --- a/mfem/_par/array.i +++ b/mfem/_par/array.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") array %feature("autodoc", "1"); diff --git a/mfem/_par/arrays_by_name.i b/mfem/_par/arrays_by_name.i index a2c7b9b9d..d8ff670fd 100644 --- a/mfem/_par/arrays_by_name.i +++ b/mfem/_par/arrays_by_name.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") arrays_by_name %{ #include "mfem.hpp" diff --git a/mfem/_par/attribute_sets.i b/mfem/_par/attribute_sets.i index 1f130ccfd..b4c324f7e 100644 --- a/mfem/_par/attribute_sets.i +++ b/mfem/_par/attribute_sets.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") attribute_sets %{ #include "mfem.hpp" diff --git a/mfem/_par/auxiliary.i b/mfem/_par/auxiliary.i index 91b138f46..e139f5421 100644 --- a/mfem/_par/auxiliary.i +++ b/mfem/_par/auxiliary.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._par") auxiliary %{ diff --git a/mfem/_par/bilinearform.i b/mfem/_par/bilinearform.i index f237da2bf..2e150e3b3 100644 --- a/mfem/_par/bilinearform.i +++ b/mfem/_par/bilinearform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="1") bilinearform %{ #include "fem/bilinearform.hpp" diff --git a/mfem/_par/bilininteg.i b/mfem/_par/bilininteg.i index 2766e5a0c..3989b8251 100644 --- a/mfem/_par/bilininteg.i +++ b/mfem/_par/bilininteg.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="1") bilininteg %{ #include "mfem.hpp" diff --git a/mfem/_par/blockmatrix.i b/mfem/_par/blockmatrix.i index 977b97e03..e91a9ab1a 100644 --- a/mfem/_par/blockmatrix.i +++ b/mfem/_par/blockmatrix.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") blockmatrix %{ diff --git a/mfem/_par/blockoperator.i b/mfem/_par/blockoperator.i index c7fcae6c7..492e9c8cd 100644 --- a/mfem/_par/blockoperator.i +++ b/mfem/_par/blockoperator.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") blockoperator %{ diff --git a/mfem/_par/blockvector.i b/mfem/_par/blockvector.i index ca9cc2681..71b45442f 100644 --- a/mfem/_par/blockvector.i +++ b/mfem/_par/blockvector.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") blockvector %{ diff --git a/mfem/_par/bounds.i b/mfem/_par/bounds.i index dff23d827..554517ebf 100644 --- a/mfem/_par/bounds.i +++ b/mfem/_par/bounds.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") bounds %{ diff --git a/mfem/_par/coefficient.i b/mfem/_par/coefficient.i index 4dc5387c9..7c6034736 100644 --- a/mfem/_par/coefficient.i +++ b/mfem/_par/coefficient.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* coefficient.i SWIG interface file for coefficient.hpp diff --git a/mfem/_par/common_functions.i b/mfem/_par/common_functions.i index 1868d956c..6f297500b 100644 --- a/mfem/_par/common_functions.i +++ b/mfem/_par/common_functions.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") common_functions %{ diff --git a/mfem/_par/communication.i b/mfem/_par/communication.i index e70db6af5..17addeb3e 100644 --- a/mfem/_par/communication.i +++ b/mfem/_par/communication.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") communication %feature("autodoc", "1"); diff --git a/mfem/_par/complex_fem.i b/mfem/_par/complex_fem.i index 5bbfad956..9e365cebf 100644 --- a/mfem/_par/complex_fem.i +++ b/mfem/_par/complex_fem.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* complex_fem.i diff --git a/mfem/_par/complex_operator.i b/mfem/_par/complex_operator.i index 0a4bd8f5b..8ad6e4aad 100644 --- a/mfem/_par/complex_operator.i +++ b/mfem/_par/complex_operator.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* complex_operator.i diff --git a/mfem/_par/constraints.i b/mfem/_par/constraints.i index a2b7051d1..a86af52ac 100644 --- a/mfem/_par/constraints.i +++ b/mfem/_par/constraints.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* constraints.i diff --git a/mfem/_par/cpointers.i b/mfem/_par/cpointers.i index e48510ec3..73af49d26 100644 --- a/mfem/_par/cpointers.i +++ b/mfem/_par/cpointers.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") cpointers %include "../common/cpointers.i" diff --git a/mfem/_par/datacollection.i b/mfem/_par/datacollection.i index b1e94cc67..387639797 100644 --- a/mfem/_par/datacollection.i +++ b/mfem/_par/datacollection.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") datacollection %{ #include "mfem.hpp" diff --git a/mfem/_par/densemat.i b/mfem/_par/densemat.i index 4635d627d..7e30f3399 100644 --- a/mfem/_par/densemat.i +++ b/mfem/_par/densemat.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* densemat.i diff --git a/mfem/_par/device.i b/mfem/_par/device.i index 9e1479382..c3f12f0aa 100644 --- a/mfem/_par/device.i +++ b/mfem/_par/device.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") device %{ #include "mfem.hpp" diff --git a/mfem/_par/dist_solver.i b/mfem/_par/dist_solver.i index c3d8cbd94..0a1008684 100644 --- a/mfem/_par/dist_solver.i +++ b/mfem/_par/dist_solver.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") dist_solver %{ #include "mfem.hpp" diff --git a/mfem/_par/doftrans.i b/mfem/_par/doftrans.i index 549582bf3..a3c7c2701 100644 --- a/mfem/_par/doftrans.i +++ b/mfem/_par/doftrans.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") doftrans %{ #include "mfem.hpp" diff --git a/mfem/_par/element.i b/mfem/_par/element.i index ed883f966..ccc780430 100644 --- a/mfem/_par/element.i +++ b/mfem/_par/element.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") element %{ diff --git a/mfem/_par/eltrans.i b/mfem/_par/eltrans.i index e41342d9a..0bd91cd5c 100644 --- a/mfem/_par/eltrans.i +++ b/mfem/_par/eltrans.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._par") eltrans %{ diff --git a/mfem/_par/enzyme.i b/mfem/_par/enzyme.i index 97b33c020..662886bf4 100644 --- a/mfem/_par/enzyme.i +++ b/mfem/_par/enzyme.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") enzyme %{ #include "mfem.hpp" diff --git a/mfem/_par/error.i b/mfem/_par/error.i index 8ca25982e..ed5e862f4 100644 --- a/mfem/_par/error.i +++ b/mfem/_par/error.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") error %{ #include diff --git a/mfem/_par/estimators.i b/mfem/_par/estimators.i index 10184fb47..4877cfe49 100644 --- a/mfem/_par/estimators.i +++ b/mfem/_par/estimators.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") estimators %{ #include "mfem.hpp" diff --git a/mfem/_par/fe.i b/mfem/_par/fe.i index d9a516772..a548fd615 100644 --- a/mfem/_par/fe.i +++ b/mfem/_par/fe.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._par") fe %{ diff --git a/mfem/_par/fe_base.i b/mfem/_par/fe_base.i index 768fde43b..7c4577741 100644 --- a/mfem/_par/fe_base.i +++ b/mfem/_par/fe_base.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_base %{ #include "mfem.hpp" diff --git a/mfem/_par/fe_coll.i b/mfem/_par/fe_coll.i index 8cdf51b38..5adb777df 100644 --- a/mfem/_par/fe_coll.i +++ b/mfem/_par/fe_coll.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_coll %{ #include diff --git a/mfem/_par/fe_fixed_order.i b/mfem/_par/fe_fixed_order.i index ef7e15d80..ec837c6c0 100644 --- a/mfem/_par/fe_fixed_order.i +++ b/mfem/_par/fe_fixed_order.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_fixed_order %{ #include "mfem.hpp" diff --git a/mfem/_par/fe_h1.i b/mfem/_par/fe_h1.i index 551ab0cc4..a5907c4f5 100644 --- a/mfem/_par/fe_h1.i +++ b/mfem/_par/fe_h1.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_h1 %{ #include "mfem.hpp" diff --git a/mfem/_par/fe_l2.i b/mfem/_par/fe_l2.i index 9581a46e9..aafdedf83 100644 --- a/mfem/_par/fe_l2.i +++ b/mfem/_par/fe_l2.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_l2 %{ #include "mfem.hpp" diff --git a/mfem/_par/fe_nd.i b/mfem/_par/fe_nd.i index 6828397d4..64ec5bc90 100644 --- a/mfem/_par/fe_nd.i +++ b/mfem/_par/fe_nd.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_nd %{ #include "mfem.hpp" diff --git a/mfem/_par/fe_nurbs.i b/mfem/_par/fe_nurbs.i index d24a893c7..1c32df90d 100644 --- a/mfem/_par/fe_nurbs.i +++ b/mfem/_par/fe_nurbs.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_nurbs %{ #include "mfem.hpp" diff --git a/mfem/_par/fe_pos.i b/mfem/_par/fe_pos.i index 91a8266cf..a8202e054 100644 --- a/mfem/_par/fe_pos.i +++ b/mfem/_par/fe_pos.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_pos %{ #include "mfem.hpp" diff --git a/mfem/_par/fe_rt.i b/mfem/_par/fe_rt.i index 656f606a5..87d41fa14 100644 --- a/mfem/_par/fe_rt.i +++ b/mfem/_par/fe_rt.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_rt %{ #include "mfem.hpp" diff --git a/mfem/_par/fe_ser.i b/mfem/_par/fe_ser.i index cbf350db8..ce53ce673 100644 --- a/mfem/_par/fe_ser.i +++ b/mfem/_par/fe_ser.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fe_ser %{ #include "mfem.hpp" diff --git a/mfem/_par/fespace.i b/mfem/_par/fespace.i index 558381b0c..2849532e4 100644 --- a/mfem/_par/fespace.i +++ b/mfem/_par/fespace.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") fespace %feature("autodoc", "1"); diff --git a/mfem/_par/fespacehierarchy.i b/mfem/_par/fespacehierarchy.i index 75dbcacc6..97d981f7b 100644 --- a/mfem/_par/fespacehierarchy.i +++ b/mfem/_par/fespacehierarchy.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* fespacehierarchy.i diff --git a/mfem/_par/geom.i b/mfem/_par/geom.i index 387688273..73f0ef569 100644 --- a/mfem/_par/geom.i +++ b/mfem/_par/geom.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") geom %{ #include "mfem.hpp" diff --git a/mfem/_par/globals.i b/mfem/_par/globals.i index b922462b3..bdb775efb 100644 --- a/mfem/_par/globals.i +++ b/mfem/_par/globals.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") globals %{ #include "mfem.hpp" diff --git a/mfem/_par/gridfunc.i b/mfem/_par/gridfunc.i index 7066dfc0c..e3c4598e1 100644 --- a/mfem/_par/gridfunc.i +++ b/mfem/_par/gridfunc.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="0") gridfunc %{ #include diff --git a/mfem/_par/gslib.i b/mfem/_par/gslib.i index 72efde7ff..d48514838 100644 --- a/mfem/_par/gslib.i +++ b/mfem/_par/gslib.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") gslib %{ #include "mfem.hpp" diff --git a/mfem/_par/handle.i b/mfem/_par/handle.i index 2a863553e..711e98ef5 100644 --- a/mfem/_par/handle.i +++ b/mfem/_par/handle.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") handle %feature("autodoc", "1"); %{ diff --git a/mfem/_par/hash.i b/mfem/_par/hash.i index 154bc7942..d98a37d4f 100644 --- a/mfem/_par/hash.i +++ b/mfem/_par/hash.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") hash %{ diff --git a/mfem/_par/hexahedron.i b/mfem/_par/hexahedron.i index 6796766a1..d4c34c684 100644 --- a/mfem/_par/hexahedron.i +++ b/mfem/_par/hexahedron.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") hexahedron %{ #include "mfem.hpp" diff --git a/mfem/_par/hybridization.i b/mfem/_par/hybridization.i index addf12e25..05c13981d 100644 --- a/mfem/_par/hybridization.i +++ b/mfem/_par/hybridization.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") hybridization %{ #include "mfem.hpp" diff --git a/mfem/_par/hyperbolic.i b/mfem/_par/hyperbolic.i index c71660cd5..464d68ba9 100644 --- a/mfem/_par/hyperbolic.i +++ b/mfem/_par/hyperbolic.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") hyperbolic %feature("autodoc", "1"); diff --git a/mfem/_par/hypre.i b/mfem/_par/hypre.i index 805932ddf..63f5dd3c4 100644 --- a/mfem/_par/hypre.i +++ b/mfem/_par/hypre.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") hypre %feature("autodoc", "1"); %{ diff --git a/mfem/_par/intrules.i b/mfem/_par/intrules.i index 709f1f86c..26b82d157 100644 --- a/mfem/_par/intrules.i +++ b/mfem/_par/intrules.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._par") intrules %{ diff --git a/mfem/_par/intrules_cut.i b/mfem/_par/intrules_cut.i index 57ae12e42..3e620b7eb 100644 --- a/mfem/_par/intrules_cut.i +++ b/mfem/_par/intrules_cut.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._par", director="1") intrules_cut %{ diff --git a/mfem/_par/io_stream.i b/mfem/_par/io_stream.i index ee11c64c7..36fb6ff3d 100644 --- a/mfem/_par/io_stream.i +++ b/mfem/_par/io_stream.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") io_stream %feature("autodoc", "1"); diff --git a/mfem/_par/istream_typemap.i b/mfem/_par/istream_typemap.i index cb2b68b5a..dfd7c635f 100644 --- a/mfem/_par/istream_typemap.i +++ b/mfem/_par/istream_typemap.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") istream_typemap //recipe for istream diff --git a/mfem/_par/linearform.i b/mfem/_par/linearform.i index 3addabcbc..490525020 100644 --- a/mfem/_par/linearform.i +++ b/mfem/_par/linearform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="1") linearform %{ #include diff --git a/mfem/_par/lininteg.i b/mfem/_par/lininteg.i index 6a772e4cf..b543d00f9 100644 --- a/mfem/_par/lininteg.i +++ b/mfem/_par/lininteg.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="1") lininteg %{ #include diff --git a/mfem/_par/matrix.i b/mfem/_par/matrix.i index 56b2871ce..78b53005c 100644 --- a/mfem/_par/matrix.i +++ b/mfem/_par/matrix.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") matrix %feature("autodoc", "1"); diff --git a/mfem/_par/mem_manager.i b/mfem/_par/mem_manager.i index d6538d006..8f44a0dfb 100644 --- a/mfem/_par/mem_manager.i +++ b/mfem/_par/mem_manager.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") mem_manager %{ #include "mfem.hpp" diff --git a/mfem/_par/mesh.i b/mfem/_par/mesh.i index 76d18b88a..7d881aa6e 100644 --- a/mfem/_par/mesh.i +++ b/mfem/_par/mesh.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") mesh %{ diff --git a/mfem/_par/mesh_operators.i b/mfem/_par/mesh_operators.i index 2ca72b044..723e416af 100644 --- a/mfem/_par/mesh_operators.i +++ b/mfem/_par/mesh_operators.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") mesh_operators %{ diff --git a/mfem/_par/multigrid.i b/mfem/_par/multigrid.i index 0e75a0b08..3fdb82254 100644 --- a/mfem/_par/multigrid.i +++ b/mfem/_par/multigrid.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* multigrid.i diff --git a/mfem/_par/navier_solver.i b/mfem/_par/navier_solver.i index 28dc8eeb1..2f06b0bc7 100644 --- a/mfem/_par/navier_solver.i +++ b/mfem/_par/navier_solver.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") navier_solver %{ #include "mfem.hpp" diff --git a/mfem/_par/ncmesh.i b/mfem/_par/ncmesh.i index d43135fe1..a302533d3 100644 --- a/mfem/_par/ncmesh.i +++ b/mfem/_par/ncmesh.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") ncmesh %feature("autodoc", "1"); diff --git a/mfem/_par/nonlinearform.i b/mfem/_par/nonlinearform.i index 1f6f4f734..c16e4492f 100644 --- a/mfem/_par/nonlinearform.i +++ b/mfem/_par/nonlinearform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") nonlinearform %{ #include diff --git a/mfem/_par/nonlininteg.i b/mfem/_par/nonlininteg.i index 240cbbd61..b553400b8 100644 --- a/mfem/_par/nonlininteg.i +++ b/mfem/_par/nonlininteg.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="1") nonlininteg %{ #include "mfem.hpp" diff --git a/mfem/_par/ode.i b/mfem/_par/ode.i index 33538fc77..05fc9842d 100644 --- a/mfem/_par/ode.i +++ b/mfem/_par/ode.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") ode %{ #include "mfem.hpp" diff --git a/mfem/_par/operators.i b/mfem/_par/operators.i index 596783514..056858624 100644 --- a/mfem/_par/operators.i +++ b/mfem/_par/operators.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._par", directors="1") operators %feature("autodoc", "1"); diff --git a/mfem/_par/ostream_typemap.i b/mfem/_par/ostream_typemap.i index fdd7940c6..4dc64c2e4 100644 --- a/mfem/_par/ostream_typemap.i +++ b/mfem/_par/ostream_typemap.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") ostream_typemap // recipe for ostream diff --git a/mfem/_par/pbilinearform.i b/mfem/_par/pbilinearform.i index 191f0b9e3..7c1bae79c 100644 --- a/mfem/_par/pbilinearform.i +++ b/mfem/_par/pbilinearform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") pbilinearform %{ //#include diff --git a/mfem/_par/pfespace.i b/mfem/_par/pfespace.i index b3a1331c0..3f4b8d6c8 100644 --- a/mfem/_par/pfespace.i +++ b/mfem/_par/pfespace.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") pfespace %{ #include diff --git a/mfem/_par/pgridfunc.i b/mfem/_par/pgridfunc.i index c55ad8edf..0a96046aa 100644 --- a/mfem/_par/pgridfunc.i +++ b/mfem/_par/pgridfunc.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") pgridfunc %feature("autodoc", "1"); diff --git a/mfem/_par/plinearform.i b/mfem/_par/plinearform.i index 4f50dffff..428eb6dbb 100644 --- a/mfem/_par/plinearform.i +++ b/mfem/_par/plinearform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") plinearform %{ #include "mfem.hpp" diff --git a/mfem/_par/pmesh.i b/mfem/_par/pmesh.i index b7b6cf7a1..7b381ed2d 100644 --- a/mfem/_par/pmesh.i +++ b/mfem/_par/pmesh.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") pmesh %feature("autodoc", "1"); diff --git a/mfem/_par/pncmesh.i b/mfem/_par/pncmesh.i index a8886915c..6850266e1 100644 --- a/mfem/_par/pncmesh.i +++ b/mfem/_par/pncmesh.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") pncmesh %feature("autodoc", "1"); diff --git a/mfem/_par/pnonlinearform.i b/mfem/_par/pnonlinearform.i index c0db54ec1..e142b2d89 100644 --- a/mfem/_par/pnonlinearform.i +++ b/mfem/_par/pnonlinearform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") pnonlinearform %{ #include diff --git a/mfem/_par/point.i b/mfem/_par/point.i index 26aca69b4..9df4585de 100644 --- a/mfem/_par/point.i +++ b/mfem/_par/point.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") point %feature("autodoc", "1"); diff --git a/mfem/_par/prestriction.i b/mfem/_par/prestriction.i index 959f2aedd..315d26d73 100644 --- a/mfem/_par/prestriction.i +++ b/mfem/_par/prestriction.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") prestriction %{ #include "mfem.hpp" diff --git a/mfem/_par/psubmesh.i b/mfem/_par/psubmesh.i index 440766b1b..6f85db5cd 100644 --- a/mfem/_par/psubmesh.i +++ b/mfem/_par/psubmesh.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") psubmesh %feature("autodoc", "1"); diff --git a/mfem/_par/ptransfermap.i b/mfem/_par/ptransfermap.i index 491b5fcf0..f6ab6d762 100644 --- a/mfem/_par/ptransfermap.i +++ b/mfem/_par/ptransfermap.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") ptransfermap %feature("autodoc", "1"); diff --git a/mfem/_par/pumi.i b/mfem/_par/pumi.i index 972106635..14c7e56e2 100644 --- a/mfem/_par/pumi.i +++ b/mfem/_par/pumi.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="0") pumi %feature("autodoc", "1"); diff --git a/mfem/_par/qfunction.i b/mfem/_par/qfunction.i index e7fec5703..5db5ada9d 100644 --- a/mfem/_par/qfunction.i +++ b/mfem/_par/qfunction.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") qfunction %{ #include "mfem.hpp" diff --git a/mfem/_par/qspace.i b/mfem/_par/qspace.i index 1de6a752b..786abc6f8 100644 --- a/mfem/_par/qspace.i +++ b/mfem/_par/qspace.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") qspace %{ #include "mfem.hpp" diff --git a/mfem/_par/quadinterpolator.i b/mfem/_par/quadinterpolator.i index 650bd3956..27f3d5986 100644 --- a/mfem/_par/quadinterpolator.i +++ b/mfem/_par/quadinterpolator.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") quadinterpolator %{ #include "mfem.hpp" diff --git a/mfem/_par/quadinterpolator_face.i b/mfem/_par/quadinterpolator_face.i index 435c4d9de..d3f110be0 100644 --- a/mfem/_par/quadinterpolator_face.i +++ b/mfem/_par/quadinterpolator_face.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") quadinterpolator_face %{ #include "mfem.hpp" diff --git a/mfem/_par/quadrilateral.i b/mfem/_par/quadrilateral.i index 93b1f7df3..eb709289f 100644 --- a/mfem/_par/quadrilateral.i +++ b/mfem/_par/quadrilateral.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") quadrilateral %{ #include "mfem.hpp" diff --git a/mfem/_par/restriction.i b/mfem/_par/restriction.i index 3649a3e29..3c629fa2c 100644 --- a/mfem/_par/restriction.i +++ b/mfem/_par/restriction.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") restriction %{ #include "mfem.hpp" diff --git a/mfem/_par/schwarz.i b/mfem/_par/schwarz.i index e1ac028f2..e9a033925 100644 --- a/mfem/_par/schwarz.i +++ b/mfem/_par/schwarz.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") schwarz %{ #include "mfem.hpp" diff --git a/mfem/_par/segment.i b/mfem/_par/segment.i index f57d02233..df4c3c0ad 100644 --- a/mfem/_par/segment.i +++ b/mfem/_par/segment.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") segment %{ #include "mfem.hpp" diff --git a/mfem/_par/sets.i b/mfem/_par/sets.i index a9199219d..539ba031d 100644 --- a/mfem/_par/sets.i +++ b/mfem/_par/sets.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") sets %{ #include diff --git a/mfem/_par/sidredatacollection.i b/mfem/_par/sidredatacollection.i index 98d392232..4fb6546d3 100644 --- a/mfem/_par/sidredatacollection.i +++ b/mfem/_par/sidredatacollection.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") sidredatacollection %{ #include "mfem.hpp" diff --git a/mfem/_par/socketstream.i b/mfem/_par/socketstream.i index b4a555f51..b7cc6f397 100644 --- a/mfem/_par/socketstream.i +++ b/mfem/_par/socketstream.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") socketstream %feature("autodoc", "1"); diff --git a/mfem/_par/solvers.i b/mfem/_par/solvers.i index 027fc6014..4f49e5139 100644 --- a/mfem/_par/solvers.i +++ b/mfem/_par/solvers.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="1") solvers %{ #include diff --git a/mfem/_par/sort_pairs.i b/mfem/_par/sort_pairs.i index 72f30c897..0b51659b0 100644 --- a/mfem/_par/sort_pairs.i +++ b/mfem/_par/sort_pairs.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") sort_pairs %{ #include "mfem.hpp" diff --git a/mfem/_par/sparsemat.i b/mfem/_par/sparsemat.i index 1a5c97f77..ade10750f 100644 --- a/mfem/_par/sparsemat.i +++ b/mfem/_par/sparsemat.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._par") sparsemat %{ diff --git a/mfem/_par/sparsesmoothers.i b/mfem/_par/sparsesmoothers.i index 40c71fda9..1b6c92664 100644 --- a/mfem/_par/sparsesmoothers.i +++ b/mfem/_par/sparsesmoothers.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") sparsesmoothers %{ #include "linalg/sparsesmoothers.hpp" diff --git a/mfem/_par/stable3d.i b/mfem/_par/stable3d.i index b45783a06..db3e3e38c 100644 --- a/mfem/_par/stable3d.i +++ b/mfem/_par/stable3d.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") stable3d %feature("autodoc", "1"); diff --git a/mfem/_par/staticcond.i b/mfem/_par/staticcond.i index ea2e51331..143f49527 100644 --- a/mfem/_par/staticcond.i +++ b/mfem/_par/staticcond.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") staticcond %{ #include "mfem.hpp" diff --git a/mfem/_par/std_vectors.i b/mfem/_par/std_vectors.i index 272432500..33e48ad90 100644 --- a/mfem/_par/std_vectors.i +++ b/mfem/_par/std_vectors.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") std_vectors // // std_vectors : diff --git a/mfem/_par/strumpack.i b/mfem/_par/strumpack.i index 32dfd1213..f7312aef2 100644 --- a/mfem/_par/strumpack.i +++ b/mfem/_par/strumpack.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="0") strumpack %feature("autodoc", "1"); diff --git a/mfem/_par/submesh.i b/mfem/_par/submesh.i index a26ad6a04..916e11a27 100644 --- a/mfem/_par/submesh.i +++ b/mfem/_par/submesh.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") submesh %feature("autodoc", "1"); diff --git a/mfem/_par/symmat.i b/mfem/_par/symmat.i index 2a56ebe29..5fe59ff31 100644 --- a/mfem/_par/symmat.i +++ b/mfem/_par/symmat.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") symmat %{ #include "mfem.hpp" diff --git a/mfem/_par/table.i b/mfem/_par/table.i index 6934db049..98c08f093 100644 --- a/mfem/_par/table.i +++ b/mfem/_par/table.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") table %feature("autodoc", "1"); diff --git a/mfem/_par/tetrahedron.i b/mfem/_par/tetrahedron.i index 7ca08dbf0..a337d6b9a 100644 --- a/mfem/_par/tetrahedron.i +++ b/mfem/_par/tetrahedron.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") tetrahedron %{ #include "mfem.hpp" diff --git a/mfem/_par/tmop.i b/mfem/_par/tmop.i index a657c7058..276fd19cc 100644 --- a/mfem/_par/tmop.i +++ b/mfem/_par/tmop.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="1") tmop %{ #include "mfem.hpp" diff --git a/mfem/_par/tmop_amr.i b/mfem/_par/tmop_amr.i index 6cfb05a8f..5da523c12 100644 --- a/mfem/_par/tmop_amr.i +++ b/mfem/_par/tmop_amr.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="1") tmop_amr %{ #include "mfem.hpp" diff --git a/mfem/_par/tmop_tools.i b/mfem/_par/tmop_tools.i index b07d76d33..ced83e0bf 100644 --- a/mfem/_par/tmop_tools.i +++ b/mfem/_par/tmop_tools.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par", directors="1") tmop_tools %{ #include "mfem.hpp" diff --git a/mfem/_par/transfer.i b/mfem/_par/transfer.i index 952422569..e45d22c64 100644 --- a/mfem/_par/transfer.i +++ b/mfem/_par/transfer.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") transfer %feature("autodoc", "1"); diff --git a/mfem/_par/transfermap.i b/mfem/_par/transfermap.i index abec9bdf1..15d85b6cc 100644 --- a/mfem/_par/transfermap.i +++ b/mfem/_par/transfermap.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") transfermap %feature("autodoc", "1"); diff --git a/mfem/_par/triangle.i b/mfem/_par/triangle.i index 76d548c77..e2796a624 100644 --- a/mfem/_par/triangle.i +++ b/mfem/_par/triangle.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") triangle %{ #include "mfem.hpp" diff --git a/mfem/_par/vector.i b/mfem/_par/vector.i index 62808ccf2..5b8478433 100644 --- a/mfem/_par/vector.i +++ b/mfem/_par/vector.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* vector.i diff --git a/mfem/_par/vertex.i b/mfem/_par/vertex.i index 3906e1ccf..12a28960f 100644 --- a/mfem/_par/vertex.i +++ b/mfem/_par/vertex.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") vertex %{ diff --git a/mfem/_par/vtk.i b/mfem/_par/vtk.i index a7a190af3..2f2dbea58 100644 --- a/mfem/_par/vtk.i +++ b/mfem/_par/vtk.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") vtk %{ #include "mfem.hpp" diff --git a/mfem/_par/wedge.i b/mfem/_par/wedge.i index f2248f32b..c498d77ca 100644 --- a/mfem/_par/wedge.i +++ b/mfem/_par/wedge.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._par") wedge %{ diff --git a/mfem/_ser/array.i b/mfem/_ser/array.i index 64bf6f4c4..72a95ae27 100644 --- a/mfem/_ser/array.i +++ b/mfem/_ser/array.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") array %feature("autodoc", "1"); diff --git a/mfem/_ser/arrays_by_name.i b/mfem/_ser/arrays_by_name.i index 0ba9c95d3..a6b7b7d2c 100644 --- a/mfem/_ser/arrays_by_name.i +++ b/mfem/_ser/arrays_by_name.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") arrays_by_name %{ #include "mfem.hpp" diff --git a/mfem/_ser/attribute_sets.i b/mfem/_ser/attribute_sets.i index b9fd738fe..5ce5e479a 100644 --- a/mfem/_ser/attribute_sets.i +++ b/mfem/_ser/attribute_sets.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") attribute_sets %feature("autodoc", "1"); diff --git a/mfem/_ser/bilinearform.i b/mfem/_ser/bilinearform.i index d30da958c..4ce85339a 100644 --- a/mfem/_ser/bilinearform.i +++ b/mfem/_ser/bilinearform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="1") bilinearform %{ #include "fem/bilinearform.hpp" diff --git a/mfem/_ser/bilininteg.i b/mfem/_ser/bilininteg.i index 8d549a2ac..a56f4b3a8 100644 --- a/mfem/_ser/bilininteg.i +++ b/mfem/_ser/bilininteg.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="1") bilininteg %{ #include "mfem.hpp" diff --git a/mfem/_ser/blockmatrix.i b/mfem/_ser/blockmatrix.i index e75186872..14c10fc95 100644 --- a/mfem/_ser/blockmatrix.i +++ b/mfem/_ser/blockmatrix.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") blockmatrix %{ diff --git a/mfem/_ser/blockoperator.i b/mfem/_ser/blockoperator.i index 53ba7c1fa..ffe0aa18f 100644 --- a/mfem/_ser/blockoperator.i +++ b/mfem/_ser/blockoperator.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") blockoperator %{ diff --git a/mfem/_ser/blockvector.i b/mfem/_ser/blockvector.i index b21c25246..8824ede84 100644 --- a/mfem/_ser/blockvector.i +++ b/mfem/_ser/blockvector.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") blockvector %{ diff --git a/mfem/_ser/bounds.i b/mfem/_ser/bounds.i index 1ced94427..4558b7b57 100644 --- a/mfem/_ser/bounds.i +++ b/mfem/_ser/bounds.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") bounds %{ diff --git a/mfem/_ser/coefficient.i b/mfem/_ser/coefficient.i index f208929a4..202ad28ed 100644 --- a/mfem/_ser/coefficient.i +++ b/mfem/_ser/coefficient.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* coefficient.i SWIG interface file for coefficient.hpp diff --git a/mfem/_ser/common_functions.i b/mfem/_ser/common_functions.i index 978d5dac5..a8e21efd0 100644 --- a/mfem/_ser/common_functions.i +++ b/mfem/_ser/common_functions.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") common_functions %{ diff --git a/mfem/_ser/complex_densemat.i b/mfem/_ser/complex_densemat.i index 84a1a61a5..1a7e94322 100644 --- a/mfem/_ser/complex_densemat.i +++ b/mfem/_ser/complex_densemat.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") complex_densemat %{ #include "mfem.hpp" diff --git a/mfem/_ser/complex_fem.i b/mfem/_ser/complex_fem.i index 97e7596f5..0261f1617 100644 --- a/mfem/_ser/complex_fem.i +++ b/mfem/_ser/complex_fem.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* complex_fem.i diff --git a/mfem/_ser/complex_operator.i b/mfem/_ser/complex_operator.i index 9f60b0d4f..5b9b7dfb1 100644 --- a/mfem/_ser/complex_operator.i +++ b/mfem/_ser/complex_operator.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* complex_operator.i diff --git a/mfem/_ser/complexstaticcond.i b/mfem/_ser/complexstaticcond.i index bf3f61ffc..f9025a79d 100644 --- a/mfem/_ser/complexstaticcond.i +++ b/mfem/_ser/complexstaticcond.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") complexstaticcond %{ #include "mfem.hpp" diff --git a/mfem/_ser/complexweakform.i b/mfem/_ser/complexweakform.i index 632c0eabe..e2ee6c90a 100644 --- a/mfem/_ser/complexweakform.i +++ b/mfem/_ser/complexweakform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") complexweakform %{ #include "mfem.hpp" diff --git a/mfem/_ser/constraints.i b/mfem/_ser/constraints.i index db263464b..5fc167438 100644 --- a/mfem/_ser/constraints.i +++ b/mfem/_ser/constraints.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* constraints.i diff --git a/mfem/_ser/cpointers.i b/mfem/_ser/cpointers.i index 1434aaa93..60ae623d8 100644 --- a/mfem/_ser/cpointers.i +++ b/mfem/_ser/cpointers.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") cpointers %include "../common/cpointers.i" diff --git a/mfem/_ser/datacollection.i b/mfem/_ser/datacollection.i index 8033ea592..4e2e2727f 100644 --- a/mfem/_ser/datacollection.i +++ b/mfem/_ser/datacollection.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") datacollection %{ #include "mfem.hpp" diff --git a/mfem/_ser/densemat.i b/mfem/_ser/densemat.i index 721ea204d..d2279e3db 100644 --- a/mfem/_ser/densemat.i +++ b/mfem/_ser/densemat.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* densemat.i diff --git a/mfem/_ser/device.i b/mfem/_ser/device.i index e1ab5d5d7..c718b9015 100644 --- a/mfem/_ser/device.i +++ b/mfem/_ser/device.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") device %{ #include "mfem.hpp" diff --git a/mfem/_ser/doftrans.i b/mfem/_ser/doftrans.i index 485f67264..8537e884f 100644 --- a/mfem/_ser/doftrans.i +++ b/mfem/_ser/doftrans.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") doftrans %{ #include "mfem.hpp" diff --git a/mfem/_ser/element.i b/mfem/_ser/element.i index 19c517b91..34174d7bc 100644 --- a/mfem/_ser/element.i +++ b/mfem/_ser/element.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") element %{ diff --git a/mfem/_ser/eltrans.i b/mfem/_ser/eltrans.i index 9e6aea8b9..f79a4605c 100644 --- a/mfem/_ser/eltrans.i +++ b/mfem/_ser/eltrans.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._ser") eltrans %{ diff --git a/mfem/_ser/enzyme.i b/mfem/_ser/enzyme.i index 28c07034b..0b2d9cc9a 100644 --- a/mfem/_ser/enzyme.i +++ b/mfem/_ser/enzyme.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") enzyme %{ #include "mfem.hpp" diff --git a/mfem/_ser/error.i b/mfem/_ser/error.i index ff150910f..82190d47d 100644 --- a/mfem/_ser/error.i +++ b/mfem/_ser/error.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") error %{ #include diff --git a/mfem/_ser/estimators.i b/mfem/_ser/estimators.i index 77136c9e0..ec4d2f493 100644 --- a/mfem/_ser/estimators.i +++ b/mfem/_ser/estimators.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") estimators %{ diff --git a/mfem/_ser/fe.i b/mfem/_ser/fe.i index 6b933a85d..8e3bbc490 100644 --- a/mfem/_ser/fe.i +++ b/mfem/_ser/fe.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe %{ diff --git a/mfem/_ser/fe_base.i b/mfem/_ser/fe_base.i index 1d3800456..f7fd343b6 100644 --- a/mfem/_ser/fe_base.i +++ b/mfem/_ser/fe_base.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_base %{ #include "mfem.hpp" diff --git a/mfem/_ser/fe_coll.i b/mfem/_ser/fe_coll.i index 6d379fcc5..fd4f02a21 100644 --- a/mfem/_ser/fe_coll.i +++ b/mfem/_ser/fe_coll.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_coll %{ #include diff --git a/mfem/_ser/fe_fixed_order.i b/mfem/_ser/fe_fixed_order.i index c469efc3c..f222c9539 100644 --- a/mfem/_ser/fe_fixed_order.i +++ b/mfem/_ser/fe_fixed_order.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_fixed_order %{ #include "mfem.hpp" diff --git a/mfem/_ser/fe_h1.i b/mfem/_ser/fe_h1.i index eee8acf84..a383faa71 100644 --- a/mfem/_ser/fe_h1.i +++ b/mfem/_ser/fe_h1.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_h1 %{ #include "mfem.hpp" diff --git a/mfem/_ser/fe_l2.i b/mfem/_ser/fe_l2.i index 91da2b74c..4e6878d71 100644 --- a/mfem/_ser/fe_l2.i +++ b/mfem/_ser/fe_l2.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_l2 %{ #include "mfem.hpp" diff --git a/mfem/_ser/fe_nd.i b/mfem/_ser/fe_nd.i index 80d9bbd23..488c12aae 100644 --- a/mfem/_ser/fe_nd.i +++ b/mfem/_ser/fe_nd.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_nd %{ #include "mfem.hpp" diff --git a/mfem/_ser/fe_nurbs.i b/mfem/_ser/fe_nurbs.i index 81f6b2b14..4b0469fe6 100644 --- a/mfem/_ser/fe_nurbs.i +++ b/mfem/_ser/fe_nurbs.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_nurbs %{ #include "mfem.hpp" diff --git a/mfem/_ser/fe_pos.i b/mfem/_ser/fe_pos.i index af9578092..54e6ba4d1 100644 --- a/mfem/_ser/fe_pos.i +++ b/mfem/_ser/fe_pos.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_pos %{ #include "mfem.hpp" diff --git a/mfem/_ser/fe_rt.i b/mfem/_ser/fe_rt.i index 0bcd8be47..9ed034d8f 100644 --- a/mfem/_ser/fe_rt.i +++ b/mfem/_ser/fe_rt.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_rt %{ #include "mfem.hpp" diff --git a/mfem/_ser/fe_ser.i b/mfem/_ser/fe_ser.i index 90fe88696..4c8281d4f 100644 --- a/mfem/_ser/fe_ser.i +++ b/mfem/_ser/fe_ser.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fe_ser %{ #include "mfem.hpp" diff --git a/mfem/_ser/fespace.i b/mfem/_ser/fespace.i index fd26643b6..adef3e32c 100644 --- a/mfem/_ser/fespace.i +++ b/mfem/_ser/fespace.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") fespace %feature("autodoc", "1"); %{ diff --git a/mfem/_ser/fespacehierarchy.i b/mfem/_ser/fespacehierarchy.i index 9ef325926..b913656d5 100644 --- a/mfem/_ser/fespacehierarchy.i +++ b/mfem/_ser/fespacehierarchy.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* fespacehierarchy.i diff --git a/mfem/_ser/geom.i b/mfem/_ser/geom.i index dca63f12f..2c8ac12cb 100644 --- a/mfem/_ser/geom.i +++ b/mfem/_ser/geom.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") geom %{ #include "mfem.hpp" diff --git a/mfem/_ser/globals.i b/mfem/_ser/globals.i index 526ca8d79..1a70b200b 100644 --- a/mfem/_ser/globals.i +++ b/mfem/_ser/globals.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") globals %{ #include "mfem.hpp" diff --git a/mfem/_ser/gridfunc.i b/mfem/_ser/gridfunc.i index 3cd168aea..8bf801196 100644 --- a/mfem/_ser/gridfunc.i +++ b/mfem/_ser/gridfunc.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="0") gridfunc %feature("autodoc", "1"); diff --git a/mfem/_ser/gslib.i b/mfem/_ser/gslib.i index da0794665..37337f20b 100644 --- a/mfem/_ser/gslib.i +++ b/mfem/_ser/gslib.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") gslib %{ #include "mfem.hpp" diff --git a/mfem/_ser/handle.i b/mfem/_ser/handle.i index 7471aea4e..63a97ff00 100644 --- a/mfem/_ser/handle.i +++ b/mfem/_ser/handle.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") handle %feature("autodoc", "1"); %{ diff --git a/mfem/_ser/hash.i b/mfem/_ser/hash.i index 8806eced5..ab33e33a7 100644 --- a/mfem/_ser/hash.i +++ b/mfem/_ser/hash.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") hash %{ diff --git a/mfem/_ser/hexahedron.i b/mfem/_ser/hexahedron.i index 6c9118a97..68abb6998 100644 --- a/mfem/_ser/hexahedron.i +++ b/mfem/_ser/hexahedron.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") hexahedron %{ diff --git a/mfem/_ser/hybridization.i b/mfem/_ser/hybridization.i index 91f6dd87f..158b81358 100644 --- a/mfem/_ser/hybridization.i +++ b/mfem/_ser/hybridization.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") hybridization %{ #include "mfem.hpp" diff --git a/mfem/_ser/hyperbolic.i b/mfem/_ser/hyperbolic.i index b0d919efd..c6ae0f6db 100644 --- a/mfem/_ser/hyperbolic.i +++ b/mfem/_ser/hyperbolic.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") hyperbolic %feature("autodoc", "1"); diff --git a/mfem/_ser/intrules.i b/mfem/_ser/intrules.i index c8fcc4beb..b0d144ba8 100644 --- a/mfem/_ser/intrules.i +++ b/mfem/_ser/intrules.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._ser") intrules %{ diff --git a/mfem/_ser/intrules_cut.i b/mfem/_ser/intrules_cut.i index 2a29d9fca..2e6955724 100644 --- a/mfem/_ser/intrules_cut.i +++ b/mfem/_ser/intrules_cut.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._ser", director="1") intrules_cut %{ diff --git a/mfem/_ser/io_stream.i b/mfem/_ser/io_stream.i index 5c455625a..4dbec8030 100644 --- a/mfem/_ser/io_stream.i +++ b/mfem/_ser/io_stream.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") io_stream %feature("autodoc", "1"); diff --git a/mfem/_ser/istream_typemap.i b/mfem/_ser/istream_typemap.i index 6582ca413..2484fda75 100644 --- a/mfem/_ser/istream_typemap.i +++ b/mfem/_ser/istream_typemap.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") istream_typemap //recipe for istream diff --git a/mfem/_ser/linearform.i b/mfem/_ser/linearform.i index 53be61272..4d7143689 100644 --- a/mfem/_ser/linearform.i +++ b/mfem/_ser/linearform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="1") linearform %{ #include diff --git a/mfem/_ser/lininteg.i b/mfem/_ser/lininteg.i index 428d0e6c9..db26f7611 100644 --- a/mfem/_ser/lininteg.i +++ b/mfem/_ser/lininteg.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="1") lininteg %{ #include diff --git a/mfem/_ser/matrix.i b/mfem/_ser/matrix.i index 37834f740..a91575437 100644 --- a/mfem/_ser/matrix.i +++ b/mfem/_ser/matrix.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") matrix %feature("autodoc", "1"); diff --git a/mfem/_ser/mem_manager.i b/mfem/_ser/mem_manager.i index d9130ac90..d3a12785b 100644 --- a/mfem/_ser/mem_manager.i +++ b/mfem/_ser/mem_manager.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") mem_manager %{ #include "mfem.hpp" diff --git a/mfem/_ser/mesh.i b/mfem/_ser/mesh.i index 9005f012a..481da0a8e 100644 --- a/mfem/_ser/mesh.i +++ b/mfem/_ser/mesh.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="0") mesh %{ diff --git a/mfem/_ser/mesh_operators.i b/mfem/_ser/mesh_operators.i index 3476458e1..b7f47cb38 100644 --- a/mfem/_ser/mesh_operators.i +++ b/mfem/_ser/mesh_operators.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") mesh_operators %{ diff --git a/mfem/_ser/multigrid.i b/mfem/_ser/multigrid.i index da9d6e383..27cd592dd 100644 --- a/mfem/_ser/multigrid.i +++ b/mfem/_ser/multigrid.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* multigrid.i diff --git a/mfem/_ser/ncmesh.i b/mfem/_ser/ncmesh.i index fd6158c93..e40db05be 100644 --- a/mfem/_ser/ncmesh.i +++ b/mfem/_ser/ncmesh.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") ncmesh %feature("autodoc", "1"); diff --git a/mfem/_ser/nonlinearform.i b/mfem/_ser/nonlinearform.i index 8bb38a7a8..a0833babf 100644 --- a/mfem/_ser/nonlinearform.i +++ b/mfem/_ser/nonlinearform.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") nonlinearform %{ #include "mfem.hpp" diff --git a/mfem/_ser/nonlininteg.i b/mfem/_ser/nonlininteg.i index 25a531df7..e7a2d90bf 100644 --- a/mfem/_ser/nonlininteg.i +++ b/mfem/_ser/nonlininteg.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="1") nonlininteg %{ #include "mfem.hpp" diff --git a/mfem/_ser/ode.i b/mfem/_ser/ode.i index d1802f30f..16b3ab1b4 100644 --- a/mfem/_ser/ode.i +++ b/mfem/_ser/ode.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") ode %{ #include "mfem.hpp" diff --git a/mfem/_ser/operators.i b/mfem/_ser/operators.i index 7327220af..23321a7dc 100644 --- a/mfem/_ser/operators.i +++ b/mfem/_ser/operators.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._ser", directors="1") operators %feature("autodoc", "1"); diff --git a/mfem/_ser/ostream_typemap.i b/mfem/_ser/ostream_typemap.i index f8c35a30d..50eeeca1d 100644 --- a/mfem/_ser/ostream_typemap.i +++ b/mfem/_ser/ostream_typemap.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") ostream_typemap // recipe for ostream diff --git a/mfem/_ser/point.i b/mfem/_ser/point.i index 9608f066f..cba07e006 100644 --- a/mfem/_ser/point.i +++ b/mfem/_ser/point.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") point %feature("autodoc", "1"); diff --git a/mfem/_ser/qfunction.i b/mfem/_ser/qfunction.i index 7e9fbef7e..d910cec81 100644 --- a/mfem/_ser/qfunction.i +++ b/mfem/_ser/qfunction.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") qfunction %{ #include "mfem.hpp" diff --git a/mfem/_ser/qspace.i b/mfem/_ser/qspace.i index ef69d2b0d..916a78699 100644 --- a/mfem/_ser/qspace.i +++ b/mfem/_ser/qspace.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") qspace %{ #include "mfem.hpp" diff --git a/mfem/_ser/quadinterpolator.i b/mfem/_ser/quadinterpolator.i index 48f79612b..394b7a224 100644 --- a/mfem/_ser/quadinterpolator.i +++ b/mfem/_ser/quadinterpolator.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") quadinterpolator %{ #include "mfem.hpp" diff --git a/mfem/_ser/quadinterpolator_face.i b/mfem/_ser/quadinterpolator_face.i index c40d1ecb2..21fe4bc5a 100644 --- a/mfem/_ser/quadinterpolator_face.i +++ b/mfem/_ser/quadinterpolator_face.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") quadinterpolator_face %{ #include "mfem.hpp" diff --git a/mfem/_ser/quadrilateral.i b/mfem/_ser/quadrilateral.i index 667bef521..9c03c4fe6 100644 --- a/mfem/_ser/quadrilateral.i +++ b/mfem/_ser/quadrilateral.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") quadrilateral %{ #include "mfem.hpp" diff --git a/mfem/_ser/restriction.i b/mfem/_ser/restriction.i index b8f2999cf..0640bff30 100644 --- a/mfem/_ser/restriction.i +++ b/mfem/_ser/restriction.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") restriction %{ #include "mfem.hpp" diff --git a/mfem/_ser/segment.i b/mfem/_ser/segment.i index 900eed0af..dc066181b 100644 --- a/mfem/_ser/segment.i +++ b/mfem/_ser/segment.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") segment %{ #include "mfem.hpp" diff --git a/mfem/_ser/sets.i b/mfem/_ser/sets.i index 9b69004aa..5be10da28 100644 --- a/mfem/_ser/sets.i +++ b/mfem/_ser/sets.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") sets %{ #include "general/sets.hpp" diff --git a/mfem/_ser/sidredatacollection.i b/mfem/_ser/sidredatacollection.i index 9eedaef5b..9eba18ff3 100644 --- a/mfem/_ser/sidredatacollection.i +++ b/mfem/_ser/sidredatacollection.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") sidredatacollection %{ #include "mfem.hpp" diff --git a/mfem/_ser/socketstream.i b/mfem/_ser/socketstream.i index 2fc0e3362..482edd8c0 100644 --- a/mfem/_ser/socketstream.i +++ b/mfem/_ser/socketstream.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") socketstream %feature("autodoc", "1"); diff --git a/mfem/_ser/solvers.i b/mfem/_ser/solvers.i index 507bf94c6..4e1625b47 100644 --- a/mfem/_ser/solvers.i +++ b/mfem/_ser/solvers.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="1") solvers %{ diff --git a/mfem/_ser/sort_pairs.i b/mfem/_ser/sort_pairs.i index a2c15f6de..80dad5684 100644 --- a/mfem/_ser/sort_pairs.i +++ b/mfem/_ser/sort_pairs.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") sort_pairs %{ #include "mfem.hpp" diff --git a/mfem/_ser/sparsemat.i b/mfem/_ser/sparsemat.i index c80bb2cfa..b0a93ee9b 100644 --- a/mfem/_ser/sparsemat.i +++ b/mfem/_ser/sparsemat.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module (package="mfem._ser") sparsemat %{ #include diff --git a/mfem/_ser/sparsesmoothers.i b/mfem/_ser/sparsesmoothers.i index 0b9826aaa..78939db15 100644 --- a/mfem/_ser/sparsesmoothers.i +++ b/mfem/_ser/sparsesmoothers.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") sparsesmoothers %{ #include "linalg/sparsesmoothers.hpp" diff --git a/mfem/_ser/stable3d.i b/mfem/_ser/stable3d.i index 522318e4e..b49caa271 100644 --- a/mfem/_ser/stable3d.i +++ b/mfem/_ser/stable3d.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") stable3d %feature("autodoc", "1"); diff --git a/mfem/_ser/staticcond.i b/mfem/_ser/staticcond.i index 5f5efe186..323f0cffd 100644 --- a/mfem/_ser/staticcond.i +++ b/mfem/_ser/staticcond.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") staticcond %{ #include "mfem.hpp" diff --git a/mfem/_ser/std_vectors.i b/mfem/_ser/std_vectors.i index ebb80685d..8001b7db6 100644 --- a/mfem/_ser/std_vectors.i +++ b/mfem/_ser/std_vectors.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") std_vectors // // std_vectors : diff --git a/mfem/_ser/submesh.i b/mfem/_ser/submesh.i index 152bb902e..1985fcf97 100644 --- a/mfem/_ser/submesh.i +++ b/mfem/_ser/submesh.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") submesh %feature("autodoc", "1"); diff --git a/mfem/_ser/symmat.i b/mfem/_ser/symmat.i index cc793fac1..5dab2ae0f 100644 --- a/mfem/_ser/symmat.i +++ b/mfem/_ser/symmat.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") symmat %{ #include "mfem.hpp" diff --git a/mfem/_ser/table.i b/mfem/_ser/table.i index a984ee79c..ac08a2072 100644 --- a/mfem/_ser/table.i +++ b/mfem/_ser/table.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") table %feature("autodoc", "1"); diff --git a/mfem/_ser/tetrahedron.i b/mfem/_ser/tetrahedron.i index 7be00018c..2f4604a75 100644 --- a/mfem/_ser/tetrahedron.i +++ b/mfem/_ser/tetrahedron.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") tetrahedron %{ #include "mfem.hpp" diff --git a/mfem/_ser/tmop.i b/mfem/_ser/tmop.i index 6d0152b93..940bfe9cf 100644 --- a/mfem/_ser/tmop.i +++ b/mfem/_ser/tmop.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="1") tmop %{ #include "mfem.hpp" diff --git a/mfem/_ser/tmop_amr.i b/mfem/_ser/tmop_amr.i index 31094e31f..cdf81d38f 100644 --- a/mfem/_ser/tmop_amr.i +++ b/mfem/_ser/tmop_amr.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="1") tmop_amr %{ #include "mfem.hpp" diff --git a/mfem/_ser/tmop_tools.i b/mfem/_ser/tmop_tools.i index 3e4cf2e56..1f12b7708 100644 --- a/mfem/_ser/tmop_tools.i +++ b/mfem/_ser/tmop_tools.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser", directors="1") tmop_tools %{ #include "mfem.hpp" diff --git a/mfem/_ser/transfer.i b/mfem/_ser/transfer.i index 10955b7ec..04bcdd1b8 100644 --- a/mfem/_ser/transfer.i +++ b/mfem/_ser/transfer.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") transfer %feature("autodoc", "1"); diff --git a/mfem/_ser/transfermap.i b/mfem/_ser/transfermap.i index acf0db6a8..f29dccaca 100644 --- a/mfem/_ser/transfermap.i +++ b/mfem/_ser/transfermap.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") transfermap %feature("autodoc", "1"); diff --git a/mfem/_ser/triangle.i b/mfem/_ser/triangle.i index 3259565f8..1fe0fd93f 100644 --- a/mfem/_ser/triangle.i +++ b/mfem/_ser/triangle.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") triangle %{ #include "mfem.hpp" diff --git a/mfem/_ser/vector.i b/mfem/_ser/vector.i index ec1a34a84..7a0ec5a84 100644 --- a/mfem/_ser/vector.i +++ b/mfem/_ser/vector.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* vector.i diff --git a/mfem/_ser/vertex.i b/mfem/_ser/vertex.i index 1653b1f9f..dbe2d7b66 100644 --- a/mfem/_ser/vertex.i +++ b/mfem/_ser/vertex.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") vertex %{ diff --git a/mfem/_ser/vtk.i b/mfem/_ser/vtk.i index cfb66d565..0995f5ce8 100644 --- a/mfem/_ser/vtk.i +++ b/mfem/_ser/vtk.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") vtk %{ #include "mfem.hpp" diff --git a/mfem/_ser/wedge.i b/mfem/_ser/wedge.i index 902c06119..9fb6c75ac 100644 --- a/mfem/_ser/wedge.i +++ b/mfem/_ser/wedge.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %module(package="mfem._ser") wedge %{ diff --git a/mfem/common/array_instantiation_macro.i b/mfem/common/array_instantiation_macro.i index 0ebacb8a5..f31288eb9 100644 --- a/mfem/common/array_instantiation_macro.i +++ b/mfem/common/array_instantiation_macro.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %define INSTANTIATE_ARRAY2(XXX, YYY, ZZZ, USEPTR) #if USEPTR == 1 //%template(##ZZZ##Ptr##Array) mfem::Array; diff --git a/mfem/common/array_listtuple_typemap.i b/mfem/common/array_listtuple_typemap.i index 4bbda0499..7e9b0f286 100644 --- a/mfem/common/array_listtuple_typemap.i +++ b/mfem/common/array_listtuple_typemap.i @@ -1,4 +1,7 @@ // +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// +// // this typemap is used together with %extend, which // adds a class member taking int *pymfem_size // diff --git a/mfem/common/bilininteg_ext.i b/mfem/common/bilininteg_ext.i index c6b093ce5..a1ad7e455 100644 --- a/mfem/common/bilininteg_ext.i +++ b/mfem/common/bilininteg_ext.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// namespace mfem { %pythonappend BilinearFormIntegrator::BilinearFormIntegrator %{ self._coeff = args diff --git a/mfem/common/coefficient_common.i b/mfem/common/coefficient_common.i index 5a78d3451..a77d0de7d 100644 --- a/mfem/common/coefficient_common.i +++ b/mfem/common/coefficient_common.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// namespace mfem { %pythonappend PWCoefficient::PWCoefficient %{ if len(args) > 1: diff --git a/mfem/common/complex_fem_ext.i b/mfem/common/complex_fem_ext.i index 5008fde77..6d02406d1 100644 --- a/mfem/common/complex_fem_ext.i +++ b/mfem/common/complex_fem_ext.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// namespace mfem { // serial %pythonappend ComplexLinearForm::AddDomainIntegrator %{ diff --git a/mfem/common/const_doubleptr_typemap.i b/mfem/common/const_doubleptr_typemap.i index 8853f2f47..ca1d15736 100644 --- a/mfem/common/const_doubleptr_typemap.i +++ b/mfem/common/const_doubleptr_typemap.i @@ -1,4 +1,7 @@ // +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// +// // const_doubleptr_typemap // // this typemap accept list/const */vector/numpy float array for double * (used in mesh.i) diff --git a/mfem/common/const_intptr_typemap.i b/mfem/common/const_intptr_typemap.i index b7b91184a..4b1b7869d 100644 --- a/mfem/common/const_intptr_typemap.i +++ b/mfem/common/const_intptr_typemap.i @@ -1,4 +1,7 @@ // +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// +// // const_intptr_typemap // // This typemap accept list/const */Array/numpy float array for int32 * (used in mesh.i) diff --git a/mfem/common/cpointers.i b/mfem/common/cpointers.i index 408732d54..644c38bd8 100644 --- a/mfem/common/cpointers.i +++ b/mfem/common/cpointers.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %include "cpointer.i" %pointer_class(int, intp); %pointer_class(double, doublep); diff --git a/mfem/common/data_size_typemap.i b/mfem/common/data_size_typemap.i index adf51a7a1..0b7d025c2 100644 --- a/mfem/common/data_size_typemap.i +++ b/mfem/common/data_size_typemap.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// // Used in array.i // INTPTR_SIZE_IN(int *data_, int asize) // DOUBLEPTR_SIZE_IN(double *data_, int asize) diff --git a/mfem/common/deprecation.i b/mfem/common/deprecation.i index 036462d2b..1b096f03e 100644 --- a/mfem/common/deprecation.i +++ b/mfem/common/deprecation.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// // deprecate an overload method %define DEPRECATED_OVERLOADED_METHOD(method, message, condition) %feature("pythonprepend") method %{ diff --git a/mfem/common/enum_class.i b/mfem/common/enum_class.i index a98b2ec7a..541610279 100644 --- a/mfem/common/enum_class.i +++ b/mfem/common/enum_class.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %define ENUM_CLASS_WRAP(P1, P2) %pythoncode %{ diff --git a/mfem/common/exception.i b/mfem/common/exception.i index 61e3ba12f..76c1519ed 100644 --- a/mfem/common/exception.i +++ b/mfem/common/exception.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %exception { try { $action diff --git a/mfem/common/exception_director.i b/mfem/common/exception_director.i index 5f4807498..5d35b850c 100644 --- a/mfem/common/exception_director.i +++ b/mfem/common/exception_director.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %exception { try { $action diff --git a/mfem/common/handle_template.i b/mfem/common/handle_template.i index da64b9575..0c81704ed 100644 --- a/mfem/common/handle_template.i +++ b/mfem/common/handle_template.i @@ -1,4 +1,7 @@ // +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// +// // AS_RENAME rename As -> AsHypreParMatrix // AS_WRAP instatiate As // diff --git a/mfem/common/hypre_int.i b/mfem/common/hypre_int.i index 72fb978c9..7f9ad72b3 100644 --- a/mfem/common/hypre_int.i +++ b/mfem/common/hypre_int.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %include "HYPRE_utilities.h" %inline %{ #if MFEM_HYPRE_VERSION < 21600 diff --git a/mfem/common/ignore_common_functions.i b/mfem/common/ignore_common_functions.i index b6ba69f7a..d170f90bc 100644 --- a/mfem/common/ignore_common_functions.i +++ b/mfem/common/ignore_common_functions.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %ignore mfem::Add; %ignore mfem::Mult; %ignore mfem::Transpose; diff --git a/mfem/common/io_stream_typemap.i b/mfem/common/io_stream_typemap.i index b2ce785a2..83e9b2ba8 100644 --- a/mfem/common/io_stream_typemap.i +++ b/mfem/common/io_stream_typemap.i @@ -1,4 +1,7 @@ // +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// +// // // ostream // diff --git a/mfem/common/kernel_dispatch.i b/mfem/common/kernel_dispatch.i index 20475486a..0c5615ded 100644 --- a/mfem/common/kernel_dispatch.i +++ b/mfem/common/kernel_dispatch.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* kernel_dispatch.i diff --git a/mfem/common/lininteg_ext.i b/mfem/common/lininteg_ext.i index ebd59a46e..e083d5af9 100644 --- a/mfem/common/lininteg_ext.i +++ b/mfem/common/lininteg_ext.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// namespace mfem { %pythonappend LinearFormIntegrator::LinearFormIntegrator %{ self._coeff = args diff --git a/mfem/common/memorytype_typemap.i b/mfem/common/memorytype_typemap.i index 224d5e84d..52a3322f9 100644 --- a/mfem/common/memorytype_typemap.i +++ b/mfem/common/memorytype_typemap.i @@ -1,4 +1,7 @@ // +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// +// // this typemap is used to replace MemoryType input // to mfem.MemoryType in Pythonl, which is a IntEnum class // diff --git a/mfem/common/mfem_config.i b/mfem/common/mfem_config.i index 21dd988cb..2e9ccab39 100644 --- a/mfem/common/mfem_config.i +++ b/mfem/common/mfem_config.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// %ignore MFEM_GIT_STRING; %ignore MFEM_HYPRE_VERSION; %ignore MFEM_SOURCE_DIR; diff --git a/mfem/common/numba_coefficient.i b/mfem/common/numba_coefficient.i index 5687d3a61..c262a0a77 100644 --- a/mfem/common/numba_coefficient.i +++ b/mfem/common/numba_coefficient.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// /* # # USING numba JIT function for mfem::FunctionCoefficient diff --git a/mfem/common/numpy_int_typemap.i b/mfem/common/numpy_int_typemap.i index 50e49db94..5fb723c63 100644 --- a/mfem/common/numpy_int_typemap.i +++ b/mfem/common/numpy_int_typemap.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// // conversion of Int (can handle numpy int) %typemap(in) int { if ((PyArray_PyIntAsInt($input) == -1) && PyErr_Occurred()) { diff --git a/mfem/common/object_array_typemap.i b/mfem/common/object_array_typemap.i index af84ba50c..7e8de31c5 100644 --- a/mfem/common/object_array_typemap.i +++ b/mfem/common/object_array_typemap.i @@ -1,4 +1,7 @@ // +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// +// // Array< T > & -> Python list of T // // ObjectArrayInput(Solver*) diff --git a/mfem/common/operator_ptr_typemap.i b/mfem/common/operator_ptr_typemap.i index 70885555e..3494357ba 100644 --- a/mfem/common/operator_ptr_typemap.i +++ b/mfem/common/operator_ptr_typemap.i @@ -1,4 +1,7 @@ // +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// +// // allows to pass OperatorPtr to operator & // %typemap(in, noblock=1) mfem::Operator & (void *argp = 0, int res = 0) { diff --git a/mfem/common/typemap_macros.i b/mfem/common/typemap_macros.i index 2fb3090d0..69bdaa67e 100644 --- a/mfem/common/typemap_macros.i +++ b/mfem/common/typemap_macros.i @@ -1,3 +1,6 @@ +// +// Copyright (c) 2020-2025, Princeton Plasma Physics Laboratory, All rights reserved. +// // integer array output with known length (tuple) %define INTARRAY_OUT_TO_TUPLE(type_name, l) %typemap(out) type_name{ From 46c14f2c6f01e7d337bcab7411f01beb41bfe6f6 Mon Sep 17 00:00:00 2001 From: Syun'ichi Shiraiwa Date: Thu, 18 Sep 2025 09:28:52 -0400 Subject: [PATCH 2/7] edit README.md --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0bfa5f4a8..a56480cdc 100644 --- a/README.md +++ b/README.md @@ -26,15 +26,17 @@ $ git clone https://github.com/mfem/PyMFEM.git # Build it from local source with MPI $ pip install ./ -C"with-parallel=Yes" --verbose - +``` # Cleaning +```shell $ python setup.py clean --all # clean external dependencies + wrapper code - +``` # Run test +```shell cd test python test_examples.py -serial - +``` # For other configurations, see INSTALL.md ## Usage @@ -118,7 +120,9 @@ plt.show() ## License -PyMFEM is licensed under BSD-3. +PyMFEM is licensed under BSD-3 license. All new contributions +must be made under this license. See [License](LICENSE) for details. + Please refer the developers' web sites for the external libraries * MFEM: https://mfem.org/ * Hypre: https://computing.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods From 754902c7ba4d36efe95b4e1b86c366ba968164e8 Mon Sep 17 00:00:00 2001 From: Syun'ichi Shiraiwa Date: Thu, 18 Sep 2025 09:30:33 -0400 Subject: [PATCH 3/7] edit README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a56480cdc..060369125 100644 --- a/README.md +++ b/README.md @@ -20,24 +20,24 @@ pip install mfem # binary install is available only on linux platform The setup script accept various options. Download the package manually and run the script. Examples below downloads and build parallel version of MFEM library (linked with Metis and Hypre) and installs under /mfem. See INSTALL.md for various other options +#### Download source and build ```shell -# Download source and build $ git clone https://github.com/mfem/PyMFEM.git # Build it from local source with MPI $ pip install ./ -C"with-parallel=Yes" --verbose ``` -# Cleaning +#### Cleaning ```shell $ python setup.py clean --all # clean external dependencies + wrapper code ``` -# Run test +#### Run test ```shell cd test python test_examples.py -serial ``` -# For other configurations, see INSTALL.md +#### For other configurations, see [INSTALL](INSTALL.md) ## Usage This example (modified from `ex1.cpp`) solves the Poisson equation, From fcbd7f9d6a2f7fee6a5fbcacef3990b43cb79530 Mon Sep 17 00:00:00 2001 From: Syun'ichi Shiraiwa Date: Thu, 18 Sep 2025 09:58:28 -0400 Subject: [PATCH 4/7] edit INSTLL.md --- INSTALL.md | 42 +++++++++++++++++---------------------- docs/development_memo.txt | 29 +++++++++++++++------------ 2 files changed, 34 insertions(+), 37 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 590bab27d..4563c74ea 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,24 +2,23 @@ ## Basic serial install -Most users (on Linux and Mac) will be fine using the binary bundled in the default `pip` install: +For serial version, most users (on Linux and Mac) will be fine using the binary bundled in the default `pip` install: ```shell pip install mfem ``` The above installation will download and install a *serial* version of `MFEM`. -## Environmental variables -Build script checks the following environmental variables -- CC : c compiler for parallel build -- CXX : c++ compiler for serial build -- MPICC : c compiler for parallel build -- MPICXX : c++ compiler for parallel build -- CXX11FLAG : C++11 flag for C++ compiler -- MPIINC : the location of MPI.h (if this variable is set, the parallle PyMFEM is build with CXX, not MPICXX) - ## Building from source +To build it from source, clone the repository and use pip command + +```shell +git clone git@github:mfem/PyMFEM.git +cd PyMFEM +pip install . --user +``` + PyMFEM has many options for installation, when building from source, including: - Serial and parallel (MPI) wrappers - Using pre-built local dependencies @@ -28,17 +27,13 @@ PyMFEM has many options for installation, when building from source, including: - `gslib` - `libceed` - `metis` - -Most of the options for PyMFEM can be used directly when installing via `pip install . or python setup.py install`, e.g. -```shell -git clone git@github:mfem/PyMFEM.git -cd PyMFEM -pip install . --user - -or - -python setup.py install --user -``` +Build script checks the following environmental variables + - CC : c compiler for parallel build + - CXX : c++ compiler for serial build + - MPICC : c compiler for parallel build + - MPICXX : c++ compiler for parallel build + - CXX11FLAG : C++11 flag for C++ compiler + - MPIINC : the location of MPI.h (if this variable is set, the parallle PyMFEM is build with CXX, not MPICXX) Note that `python setup.py install` is deprecated and will be removed soon in favor of `pip`. When installing via `pip`, options are specified using the `-C` flag using the syntax `-C"name=value"`; e.g. the `--with-parallel` option is now specified as `-C"with-parallel=Yes`. @@ -48,12 +43,11 @@ For example, parallel (MPI) support and GSlib support is built with `--with-par and `--with-gslib' flags as follows. ```shell -python setup.py install --with-parallel --with-gslib -or pip install . -C"with-parallel=Yes" -C"with-gslib=Yes" ``` -Note: this option turns on building `metis` and `Hypre` +(Warning) Some of the example commands are not tested yet, which are indicated by using old conversion of "python setup.py install XXXX" + ## Commonly used flags diff --git a/docs/development_memo.txt b/docs/development_memo.txt index aeb97b10d..9f4a953d5 100644 --- a/docs/development_memo.txt +++ b/docs/development_memo.txt @@ -12,22 +12,25 @@ $ twine check dist/* # check syntax $ python3 -m twine upload --repository testpypi dist/* # upload at testpypi $ python3 -m twine upload dist/* # uploade to the official -### building step-by-step -pip download -i https://test.pypi.org/simple/ mfem -python3 setup.py install --prefix=~/sandbox --verbose --with-parallel - -### test inside virtualenv -virtualenv env -source env/bin/activate +### check test PyPI distribution +pip3 install -i https://test.pypi.org/simple mfem==4.8.0rc10 -verbose -### test verious pip combinations -pip3 install -i https://test.pypi.org/simple mfem --no-binary mfem --verbose -pip3 install -i https://test.pypi.org/simple mfem --no-binary mfem --verbose --prefix=~/sandbox -virtualenv env -source env/bin/activate -pip3 install -i https://test.pypi.org/simple mfem --no-binary mfem --verbose +### building step-by-step +git clone https://github.com/mfem/PyMFEM.git +cd PyMFEM +1) build external libraries +pip install . -C"ext-only=Yes" --verbose +pip install . -C"with-parallel=Yes" -C"ext-only=Yes" --verbose + +2) generate wrapper codes +pip install . -C"skip-ext=Yes" -C"swig=Yes" --verbose +pip install . -C"with-parallel=Yes" -C"skip-ext=Yes" -C"swig=Yes" --verbose + +3) compile wrapper +pip install . -C"skip-ext=Yes" -C"skip-swig=Yes" --verbose +pip install . -C"with-parallel=Yes" -C"skip-ext=Yes" -C"skip-swig=Yes" --verbose ### Test linux binary build locally using docker (1) for Python <= 3.9 From 7c8dba6de10e6e0f4ffac9993ecc50cc7cc757c3 Mon Sep 17 00:00:00 2001 From: Syun'ichi Shiraiwa Date: Thu, 18 Sep 2025 09:59:57 -0400 Subject: [PATCH 5/7] edit INSTLL.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 060369125..ca964bbb0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ pip install mfem # binary install is available only on linux platform ### Build with additional features (MPI, GPU, GPU-Hypre, GSLIB, SuiteSparse, libCEED, LAPACK) -The setup script accept various options. Download the package manually and run the script. Examples below downloads and build parallel version of MFEM library (linked with Metis and Hypre) and installs under /mfem. See INSTALL.md for various other options +The setup script accept various options. Download the package manually and run the script. Examples below downloads and build parallel version of MFEM library (linked with Metis and Hypre) and installs under /mfem. See [INSTALL](INSTALL.md) for various other options #### Download source and build ```shell @@ -37,7 +37,6 @@ $ python setup.py clean --all # clean external dependencies + wrapper code cd test python test_examples.py -serial ``` -#### For other configurations, see [INSTALL](INSTALL.md) ## Usage This example (modified from `ex1.cpp`) solves the Poisson equation, From fd192ba6ddde8a3cc8971558d7656f3cfe0ccd19 Mon Sep 17 00:00:00 2001 From: Syun'ichi Shiraiwa Date: Thu, 18 Sep 2025 10:00:48 -0400 Subject: [PATCH 6/7] edit INSTLL.md --- INSTALL.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 4563c74ea..bd5d8636f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -27,6 +27,7 @@ PyMFEM has many options for installation, when building from source, including: - `gslib` - `libceed` - `metis` + Build script checks the following environmental variables - CC : c compiler for parallel build - CXX : c++ compiler for serial build @@ -40,7 +41,7 @@ When installing via `pip`, options are specified using the `-C` flag using the s The name and value of each option should be written explicitly with a dedicated -C flag. For example, parallel (MPI) support and GSlib support is built with `--with-parallel` -and `--with-gslib' flags as follows. +and `--with-gslib` flags as follows. ```shell pip install . -C"with-parallel=Yes" -C"with-gslib=Yes" From 65dc7646ed192f079e727d94cbfd2f50e15e1936 Mon Sep 17 00:00:00 2001 From: Syun'ichi Shiraiwa Date: Thu, 18 Sep 2025 10:03:48 -0400 Subject: [PATCH 7/7] edit INSTLL.md --- INSTALL.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index bd5d8636f..6e8a65e06 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -47,7 +47,7 @@ and `--with-gslib` flags as follows. pip install . -C"with-parallel=Yes" -C"with-gslib=Yes" ``` -(Warning) Some of the example commands are not tested yet, which are indicated by using old conversion of "python setup.py install XXXX" +(Warning) The migration to `pip install . ` is on-going effort and Some of the example commands are not tested yet, which are indicated by using old conversion of "python setup.py install XXXX" ## Commonly used flags @@ -58,12 +58,6 @@ pip install . -C"with-parallel=Yes" -C"with-gslib=Yes" | `--mfem-branch=` | Download/install MFEM using a specific reference (`git` `branch`, `hash`, or `tag`) | | `--user` | Install in user's site-package | -In order to see the full list of options, use - -```shell -python setup.py install --help -``` - ## Advanced options ### Suitesparse