DOLFINx 0.11.0.0
DOLFINx C++ interface
Loading...
Searching...
No Matches
HyperElasticProblem Class Reference

Hyperelastic problem class. More...

Public Member Functions

 HyperElasticProblem (fem::Form< T > &L, fem::Form< T > &J, const std::vector< fem::DirichletBC< T > > &bcs)
 Constructor.
virtual ~HyperElasticProblem ()
 Destructor.
std::pair< int, bool > solve (Vec x)
 Newton Solver.
void F (const Vec x)
 Compute F at current point x.
void J (const Vec, Mat A)
 Compute J = F' at current point x.

Public Attributes

double rtol = 1e-9
 Relative convergence tolerance.
double atol = 1e-10
 Absolute convergence tolerance.

Detailed Description

Hyperelastic problem class.

Member Function Documentation

◆ solve()

std::pair< int, bool > solve ( Vec x)
inline

Newton Solver.

Parameters
xSolution vector
Returns
Iteration count and flag indicating convergence

The documentation for this class was generated from the following file: