G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsTrilinosNonLinear.h
Go to the documentation of this file.
1
14#pragma once
15
16#include <gsTrilinos/Vector.h>
17
18namespace gismo
19{
20
21namespace trilinos
22{
23
24namespace solver
25{
26
27
28struct NonLinearPrivate;
29
33class GISMO_EXPORT NonLinear
34{
35public:
36
37 // https://trilinos.org/docs/dev/packages/nox/doc/html/nox_epetra_tutorial.html
38 NonLinear(const SparseMatrix & A );
39
40 ~NonLinear();
41
42 const Vector & solve( const Vector & b );
43
44 void getSolution(gsVector<> & sol, const int rank = 0) const;
45
46protected:
47 virtual void solveProblem() = 0;
48
49protected:
50 NonLinearPrivate * my;
51};
52
53}// namespace solver
54}// namespace trilinos
55}// namespace gismo
Wrapper for Trilinos/Epetra vector.
The G+Smo namespace, containing all definitions for the library.