mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-15 18:38:23 +01:00
add solver
This commit is contained in:
parent
3e270ee01c
commit
5b144aea3a
@ -74,7 +74,8 @@ DIFFUSION_TEST(EqualityFTCS) {
|
|||||||
RowMajMat<double> concentrations = MatrixXd::Constant(row, col, 0);
|
RowMajMat<double> concentrations = MatrixXd::Constant(row, col, 0);
|
||||||
|
|
||||||
Diffusion<double, tug::FTCS_APPROACH, tug::THOMAS_ALGORITHM_SOLVER> sim =
|
Diffusion<double, tug::FTCS_APPROACH, tug::THOMAS_ALGORITHM_SOLVER> sim =
|
||||||
setupSimulation<tug::FTCS_APPROACH>(concentrations, timestep, iterations);
|
setupSimulation<tug::FTCS_APPROACH, tug::THOMAS_ALGORITHM_SOLVER>(
|
||||||
|
concentrations, timestep, iterations);
|
||||||
|
|
||||||
// Boundary bc = Boundary(grid);
|
// Boundary bc = Boundary(grid);
|
||||||
|
|
||||||
@ -99,7 +100,8 @@ DIFFUSION_TEST(EqualityBTCS) {
|
|||||||
RowMajMat<double> concentrations = MatrixXd::Constant(row, col, 0);
|
RowMajMat<double> concentrations = MatrixXd::Constant(row, col, 0);
|
||||||
|
|
||||||
Diffusion<double, tug::BTCS_APPROACH, tug::THOMAS_ALGORITHM_SOLVER> sim =
|
Diffusion<double, tug::BTCS_APPROACH, tug::THOMAS_ALGORITHM_SOLVER> sim =
|
||||||
setupSimulation<tug::BTCS_APPROACH>(concentrations, timestep,
|
setupSimulation<tug::BTCS_APPROACH, tug::THOMAS_ALGORITHM_SOLVER>(
|
||||||
|
concentrations, timestep,
|
||||||
iterations); // Boundary
|
iterations); // Boundary
|
||||||
|
|
||||||
// Boundary bc = Boundary(grid);
|
// Boundary bc = Boundary(grid);
|
||||||
@ -124,7 +126,8 @@ DIFFUSION_TEST(EqualityEigenLU) {
|
|||||||
RowMajMat<double> concentrations = MatrixXd::Constant(row, col, 0);
|
RowMajMat<double> concentrations = MatrixXd::Constant(row, col, 0);
|
||||||
|
|
||||||
Diffusion<double, tug::BTCS_APPROACH, tug::EIGEN_LU_SOLVER> sim =
|
Diffusion<double, tug::BTCS_APPROACH, tug::EIGEN_LU_SOLVER> sim =
|
||||||
setupSimulation<tug::BTCS_APPROACH>(concentrations, timestep,
|
setupSimulation<tug::BTCS_APPROACH, tug::EIGEN_LU_SOLVER>(
|
||||||
|
concentrations, timestep,
|
||||||
iterations); // Boundary
|
iterations); // Boundary
|
||||||
|
|
||||||
// Boundary bc = Boundary(grid);
|
// Boundary bc = Boundary(grid);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user