Skip to content

Commit

Permalink
added a macro to handle new kernel dispatch marcors
Browse files Browse the repository at this point in the history
  • Loading branch information
sshiraiwa committed Oct 4, 2024
1 parent dd805be commit dc74992
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions mfem/_par/bilininteg.i
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import_array();

%ignore mfem::MassIntegrator::SetupPA;

%include "../common/kernel_dispatch.i"
%include "fem/bilininteg.hpp"

%feature("director") mfem::PyBilinearFormIntegrator;
Expand Down
1 change: 1 addition & 0 deletions mfem/_par/quadinterpolator.i
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import_array();

%import "../common/numpy_int_typemap.i"

%include "../common/kernel_dispatch.i"
%include "fem/quadinterpolator.hpp"

#endif
1 change: 1 addition & 0 deletions mfem/_ser/bilininteg.i
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import_array();

%ignore mfem::MassIntegrator::SetupPA;

%include "../common/kernel_dispatch.i"
%include "fem/bilininteg.hpp"

%feature("director") mfem::PyBilinearFormIntegrator;
Expand Down
4 changes: 3 additions & 1 deletion mfem/_ser/lininteg.i
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
import_array();
%}



%include "exception.i"
%import "globals.i"

//%include "fem/coefficient.hpp"

%import "fe.i"
%import "vector.i"
%import "eltrans.i"
Expand Down
1 change: 1 addition & 0 deletions mfem/_ser/quadinterpolator.i
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import_array();

%import "../common/numpy_int_typemap.i"

%include "../common/kernel_dispatch.i"
%include "fem/quadinterpolator.hpp"

#endif

0 comments on commit dc74992

Please sign in to comment.