Merge pull request #106 from andlaus/linear_solver_scalar

make it possible to specify a separate floating-point type of the linear solver
This commit is contained in:
Andreas Lauser 2016-12-07 15:05:41 +01:00 committed by GitHub
commit 44339935e4

View File

@ -42,6 +42,10 @@ SET_TAG_PROP(LensProblemEcfv, SpatialDiscretizationSplice, EcfvDiscretization);
// use automatic differentiation for this simulator
SET_TAG_PROP(LensProblemEcfv, LocalLinearizerSplice, AutoDiffLocalLinearizer);
// this problem works fine if the linear solver uses single precision scalars
SET_TYPE_PROP(LensProblemEcfv, LinearSolverScalar, float);
}}
int main(int argc, char **argv)