mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
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:
commit
44339935e4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user