Welcome to PSYDAC
PSYDAC is a Python 3 Library for isogeometric analysis.
Requirements
-
Python3:
sudo apt-get install python3 python3-dev
-
pip3:
sudo apt-get install python3-pip
-
All non-Python dependencies can be installed by following the instructions for the pyccel library
-
All Python dependencies can be installed using:
export CC="mpicc" export HDF5_MPI="ON" export HDF5_DIR=/path/to/hdf5/openmpi python3 -m pip install -r requirements.txt
Installing the library
-
Standard mode:
python3 -m pip install .
-
Development mode:
python3 -m pip install --user -e .
Uninstall
- Whichever the install mode:
python3 -m pip uninstall psydac
Running tests
export PSYDAC_MESH_DIR=/path/to/psydac/mesh/
python3 -m pytest --pyargs psydac -m "not parallel"
python3 /path/to/psydac/mpi_tester.py --pyargs psydac -m "parallel"
Mesh Generation
After installation, a command psydac-mesh
will be available.
Example of usage
psydac-mesh -n='16,16' -d='3,3' square mesh.h5