Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
/ fd2mm Public archive

Conversion from firedrake to pytential

Notifications You must be signed in to change notification settings

benSepanski/fd2mm

Repository files navigation

f(ire)d(rake)2m(esh)m(ode):

mesh conversion from firedrake to meshmode

WARNING: Still in development, interface may not be final

Installation:

  • First install firedrake. If you want to use things like a HelmhotlzKernel, you'll want to install the complex version. Note this is still in development.

  • Inside the firedrake virtual environment, install pytential. To do this, make sure you have pyopencl and pybind11. Then, install pytential starting from step 8.

  • If you aren't a developer, run:

    pip install git+https://github.com/benSepanski/fd2mm
    
  • For developers, run:

    git clone git+https://github.com/benSepanski/fd2mm
    pip install -e <path-to-cloned-directory>
    
  • Run make meshes. This may take some time.

  • To prevent having to choose a device each time you use pytential, you may want to set PYOPENCL_CTX=<device number>

  • To run tests, type make test.

Resources:

Note:

About

Conversion from firedrake to pytential

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published