eigSolvers Code
Compute eigenvalues and eigenvectors for PDEs in complex geometry
Brought to you by:
wdhenshaw
File | Date | Author | Commit |
---|---|---|---|
cmd | 2024-08-24 | William Henshaw | [ffc829] Add files |
doc | 2024-08-24 | William Henshaw | [ffc829] Add files |
matlab | 2024-08-24 | William Henshaw | [ffc829] Add files |
src | 2024-08-24 | William Henshaw | [ffc829] Add files |
tests | 2024-08-26 | William Douglas Henshaw | [0e191e] wdh |
Makefile | 2024-08-26 | William Douglas Henshaw | [0e191e] wdh |
README | 2024-08-26 | William Douglas Henshaw | [339c35] wdh |
Compute Eigenvalues and EigenVectors of PDE problems ---------------------------------------------------- Set the following in your .cshrc (change the locations of the libraries as appropriate) setenv Overture /home/henshw/Overture.g setenv APlusPlus /home/henshw/software/AppPpp-0.8.3/A++/install setenv PPlusPlus /home/henshw/software/AppPpp-0.8.3/A++/install setenv PETSC_DIR /home/henshw/software/petsc-3.18.2-serial setenv PETSC_ARCH PETSC_ARCH=linux-gnu-opt setenv PETSC_LIB /home/henshw/software/petsc-3.18.2-serial/linux-gnu-opt/lib setenv SLEPC_DIR /home/henshw/software/slepc-3.18.2-serial setenv LAPACK /usr/lib/x86_64-linux-gnu setenv OvertureGridDirectories /home/henshw/Overture.g/sampleGrids:/home/henshw/grids alias plotStuff /home/henshw/Overture.g/bin/plotStuff alias ogen /home/henshw/Overture.g/bin/ogen Type 'make' to compile and build bin/genEigs (you will need Overture to be installed and PETSc) Example: Compute 64 eigenvalues and eigenvectors of the Laplacian on a square (grid square32.odrer2.hdf created with ogen) bin/genEigs -noplot eigs.cmd -problem=laplace -eigCase=square -g=square32.order2.hdf -eigOption=1 -discreteEigenvalues=1 -eps_s=largest_magnitude -tol=1.0e-12 -bc1=d -show=square32O2Ev64.show -numEigenValues=64 -go=go Then use plotStuff square32O2Ev64.show to view eigenvectors See cmd/memo for more sample commands NOTE: To push changes used: git push origin HEAD:master