SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor Class Reference
Inheritance diagram for python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor:

Public Member Functions

 __getattr__ (self, attr)
 
 __init__ (self, builder)
 
 withAccuracy (self, accuracy)
 
 withAlphaReusing (self)
 
 withImax (self, imax)
 
 withThreshold (self, threshold)
 

Protected Attributes

 _builder
 

Detailed Description

CGSolver Descriptor helps to implement fluid interface patter on python
it encapsulates functionality concerning creation of the CG-Solver

Constructor & Destructor Documentation

◆ __init__()

python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__init__ (   self,
  builder 
)

Member Function Documentation

◆ __getattr__()

python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__getattr__ (   self,
  attr 
)

◆ withAccuracy()

python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.withAccuracy (   self,
  accuracy 
)
Defines the accuracy of CG-Solver
@param accuracy: float for accuracy

References python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__solver, and python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__solver.

◆ withAlphaReusing()

python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.withAlphaReusing (   self)
The reusage of previous alpha data in the CG iteration

References python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__solver, and python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__solver.

◆ withImax()

python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.withImax (   self,
  imax 
)
Defines the maximal number of iterations in CG algorithms
@param imax: integer for maximal number of iteration in CG

References python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__solver, and python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__solver.

◆ withThreshold()

python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.withThreshold (   self,
  threshold 
)
Defines the maximal accuracy. If the norm of the residuum
falls below this threshold, stop the CG iterations.
@param threshold: float maximal accuracy

References python.learner.LearnerBuilder.LearnerBuilder.CGSolverDescriptor.__solver, and python.uq.learner.builder.CGSolverDescriptor.CGSolverDescriptor.__solver.

Member Data Documentation

◆ _builder


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