tfel
Loading...
Searching...
No Matches
tfel::math::UAnderson< Field, real > Struct Template Reference
Inheritance diagram for tfel::math::UAnderson< Field, real >:
tfel::math::AndersonBase< Field, real >

Public Member Functions

 UAnderson (const typename AndersonBase< Field, real >::Allocator)
 constructor
void newIter (Field *&uO, Field *&uN)
void restart (Field *&uO, Field *&uN)
Public Member Functions inherited from tfel::math::AndersonBase< Field, real >
 AndersonBase (const Allocator)
 constructor
const std::vector< Field * > & getU () const
const std::vector< Field * > & getD () const
void setAnderson (const size_type, const size_type)
 Set Anderson algorithm.
virtual ~AndersonBase ()
 Destructor.

Additional Inherited Members

Public Types inherited from tfel::math::AndersonBase< Field, real >
using size_type = unsigned char
 a simple alias
using Allocator = std::function<Field*()>
 memory allocator
Protected Member Functions inherited from tfel::math::AndersonBase< Field, real >
void alloc ()
 Memory allocation.
size_type size () const
void reset ()
 Reseting the Covariance matrix with a new vector.
Protected Attributes inherited from tfel::math::AndersonBase< Field, real >
anderson::CovarianceMatrix< real > cM
 Covariance matrix.
std::vector< Field * > u
 Deplacement Fields.
std::vector< Field * > D
Allocator ma
 memory allocator
size_type n = size_type{}
 Number of stored solutions.
std::vector< real > w
 Anderson weights.
size_type alt = 0
size_type alMax = 0

Member Function Documentation

◆ newIter()

template<typename Field, typename real>
void tfel::math::UAnderson< Field, real >::newIter ( Field *& uO,
Field *& uN )

Displacement fields for a new iteration

Parameters
uO,uNOld and new displacement field

◆ restart()

template<typename Field, typename real>
void tfel::math::UAnderson< Field, real >::restart ( Field *& uO,
Field *& uN )

First Iteration of a new time step

Parameters
uO,uNOld and new displacement field

The documentation for this struct was generated from the following files: