#include "../libsrc/toolbox.h"
Functions | |
template<class T, class S> | |
int | conjugate_gradient (const matrix< T, S > &_K, const matrix< T, S > &_C, packed_vector< S > &_u, const packed_vector< S > &_f, const S _eps, const int _max, communicator< T, S > &_com) |
int | main (int argc, char **argv) |
|
The conjugate_gradient function implements the preconditioned conjugate gradient algorithm.
|
|
|