Skip to content

Commit

Permalink
Update meson.build
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmunozmoncayo committed Jul 4, 2024
1 parent e1f440e commit fd2594c
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions src/pyclaw/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -326,49 +326,3 @@ py.extension_module(
subdir: 'clawpack/pyclaw/examples/advection_reaction_2d',
install : true
)

# 3D Euler with gravity

ext_name = 'euler_3d_gmap'
ext_srcs = [
'../../examples/euler_gravity_3d/rpn3_euler_mapgrid.f90',
'../../examples/euler_gravity_3d/rpt3_euler_mapgrid.f90',
'../../examples/euler_gravity_3d/rptt3_euler_mapgrid.f90',
]
f2py_srcs = custom_target(
'f2py_3d_gmap',
command: [f2py, ext_name],
input: ext_srcs,
output: [ext_name + 'module.c', ext_name + '-f2pywrappers.f'],
build_by_default: true,
)

py.extension_module(
ext_name, [ext_srcs, f2py_srcs],
incdir_f2py / 'fortranobject.c',
include_directories: inc_np,
dependencies : py_dep,
subdir: 'clawpack/pyclaw/examples/euler_gravity_3d',
install : true
)

ext_name = 'mappedGrid'
ext_srcs = [
'../../examples/euler_gravity_3d/euler3d_mappedGrid.f90',
]
f2py_srcs = custom_target(
'f2py_mappedGrid',
command: [f2py, ext_name],
input: ext_srcs,
output: [ext_name + 'module.c', ext_name + '-f2pywrappers2.f90'],
build_by_default: true,
)

py.extension_module(
ext_name, [ext_srcs, f2py_srcs],
incdir_f2py / 'fortranobject.c',
include_directories: inc_np,
dependencies : py_dep,
subdir: 'clawpack/pyclaw/examples/euler_gravity_3d',
install : true
)

0 comments on commit fd2594c

Please sign in to comment.