chrono::ChSolverParallel Class Referenceabstract
Description
Base class for all Chrono::Parallel solvers.
#include <ChSolverParallel.h>
Inheritance diagram for chrono::ChSolverParallel:
Collaboration diagram for chrono::ChSolverParallel:
Public Member Functions | |
void | Setup (ChParallelDataManager *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. | |
virtual uint | Solve (ChShurProduct &ShurProduct, ChProjectConstraints &Project, const uint max_iter, const uint size, const DynamicVector< real > &b, DynamicVector< real > &x)=0 |
Call this function with an associated solver type to solve the system. More... | |
void | AtIterationEnd (real maxd, real maxdeltalambda) |
real | LargestEigenValue (ChShurProduct &ShurProduct, DynamicVector< real > &temp, real lambda=0) |
Public Attributes | |
int | current_iteration |
The current iteration number of the solver. | |
ChConstraintRigidRigid * | rigid_rigid |
ChConstraintBilateral * | bilateral |
Ch3DOFContainer * | three_dof |
Ch3DOFContainer * | fem |
Ch3DOFContainer * | mpm |
ChParallelDataManager * | data_manager |
Pointer to the system's data manager. | |
DynamicVector< real > | eigen_vec |
Member Function Documentation
◆ Solve()
|
pure virtual |
Call this function with an associated solver type to solve the system.
- Parameters
-
ShurProduct Schur product Project Constraints max_iter Maximum number of iterations size Number of unknowns b Rhs vector x The vector of unknowns
Implemented in chrono::ChSolverParallelAPGDREF, chrono::ChSolverParallelGS, chrono::ChSolverParallelJacobi, chrono::ChSolverParallelCG, chrono::ChSolverParallelSPGQP, chrono::ChSolverParallelMinRes, chrono::ChSolverParallelBB, and chrono::ChSolverParallelAPGD.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_parallel/solver/ChSolverParallel.h
- /builds/uwsbel/chrono/src/chrono_parallel/solver/ChSolverParallel.cpp