chrono::ChSolverMulticoreBB Class Reference
Description
Barzilai-Borwein solver.
#include <ChSolverMulticore.h>
Inheritance diagram for chrono::ChSolverMulticoreBB:
Collaboration diagram for chrono::ChSolverMulticoreBB:
Public Member Functions | |
uint | Solve (ChSchurProduct &SchurProduct, ChProjectConstraints &Project, const uint max_iter, const uint size, const DynamicVector< real > &b, DynamicVector< real > &x) |
Solve using a more streamlined but harder to read version of the BB method. More... | |
void | UpdateR () |
Public Member Functions inherited from chrono::ChSolverMulticore | |
void | Setup (ChMulticoreDataManager *data_container_) |
void | ComputeSRhs (custom_vector< real > &gamma, const custom_vector< real > &rhs, custom_vector< real3 > &vel_data, custom_vector< real3 > &omg_data, custom_vector< real > &b) |
Compute rhs value with relaxation term. | |
void | AtIterationEnd (real maxd, real maxdeltalambda) |
real | LargestEigenValue (ChSchurProduct &SchurProduct, DynamicVector< real > &temp, real lambda=0) |
Public Attributes | |
DynamicVector< real > | temp |
DynamicVector< real > | ml |
DynamicVector< real > | mg |
DynamicVector< real > | mg_p |
DynamicVector< real > | ml_candidate |
DynamicVector< real > | ms |
DynamicVector< real > | my |
DynamicVector< real > | mdir |
DynamicVector< real > | ml_p |
DynamicVector< real > | mD |
DynamicVector< real > | invmD |
Public Attributes inherited from chrono::ChSolverMulticore | |
int | current_iteration |
The current iteration number of the solver. | |
ChConstraintRigidRigid * | rigid_rigid |
ChConstraintBilateral * | bilateral |
Ch3DOFContainer * | three_dof |
Ch3DOFContainer * | fem |
Ch3DOFContainer * | mpm |
ChMulticoreDataManager * | data_manager |
Pointer to the system's data manager. | |
DynamicVector< real > | eigen_vec |
Member Function Documentation
◆ Solve()
|
virtual |
Solve using a more streamlined but harder to read version of the BB method.
- Parameters
-
SchurProduct Schur product Project Constraints max_iter Maximum number of iterations size Number of unknowns b Rhs vector x The vector of unknowns
Implements chrono::ChSolverMulticore.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_multicore/solver/ChSolverMulticore.h
- /builds/uwsbel/chrono/src/chrono_multicore/solver/ChSolverMulticoreBB.cpp