Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PCR Thomas Laplacian inversion solver #2340

Merged
merged 12 commits into from
Jul 28, 2022
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ set(BOUT_SOURCES
./src/invert/laplace/impls/naulin/naulin_laplace.hxx
./src/invert/laplace/impls/pcr/pcr.cxx
./src/invert/laplace/impls/pcr/pcr.hxx
./src/invert/laplace/impls/pcr_thomas/pcr_thomas.cxx
./src/invert/laplace/impls/pcr_thomas/pcr_thomas.hxx
./src/invert/laplace/impls/pdd/pdd.cxx
./src/invert/laplace/impls/pdd/pdd.hxx
./src/invert/laplace/impls/petsc/petsc_laplace.cxx
Expand Down
1 change: 1 addition & 0 deletions include/invert_laplace.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ constexpr auto LAPLACE_MULTIGRID = "multigrid";
constexpr auto LAPLACE_NAULIN = "naulin";
constexpr auto LAPLACE_IPT = "ipt";
constexpr auto LAPLACE_PCR = "pcr";
constexpr auto LAPLACE_PCR_THOMAS = "pcr_thomas";

// Inversion flags for each boundary
/// Zero-gradient for DC (constant in Z) component. Default is zero value
Expand Down
2 changes: 1 addition & 1 deletion src/invert/laplace/impls/makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

BOUT_TOP = ../../../..

DIRS = serial_tri serial_band pdd spt petsc cyclic multigrid naulin petsc3damg iterative_parallel_tri pcr
DIRS = serial_tri serial_band pdd spt petsc cyclic multigrid naulin petsc3damg iterative_parallel_tri pcr pcr_thomas

include $(BOUT_TOP)/make.config
8 changes: 8 additions & 0 deletions src/invert/laplace/impls/pcr_thomas/makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

BOUT_TOP = ../../../../..

SOURCEC = pcr_thomas.cxx
SOURCEH = pcr_thomas.hxx
TARGET = lib

include $(BOUT_TOP)/make.config
Loading