Commit 0f900449 authored by Dennis Gläser's avatar Dennis Gläser Committed by Dennis Gläser
Browse files

[newton] allow access to Backend type in derived classes

parent 88f4243e
......@@ -177,9 +177,12 @@ template <class Assembler, class LinearSolver,
class NewtonSolver : public PDESolver<Assembler, LinearSolver>
{
using ParentType = PDESolver<Assembler, LinearSolver>;
protected:
using Backend = NewtonVariablesBackend<typename ParentType::Variables>;
using SolutionVector = typename Backend::DofVector;
private:
using Scalar = typename Assembler::Scalar;
using JacobianMatrix = typename Assembler::JacobianMatrix;
using ConvergenceWriter = ConvergenceWriterInterface<SolutionVector>;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment