38 #ifndef __H__UG__LIB_DISC__OPERATOR__NON_LINEAR_OPERATOR__NL_JACOBI__NL_JACOBIL_H_
39 #define __H__UG__LIB_DISC__OPERATOR__NON_LINEAR_OPERATOR__NL_JACOBI__NL_JACOBIL_H_
76 template <
typename TAlgebra>
108 std::stringstream ss;
109 ss <<
"NonlinearJacobiSolver( damp = " <<
m_damp <<
")\n";
110 ss <<
" ConvergenceCheck: ";
112 else ss <<
" NOT SET!\n";
Definition: smart_pointer.h:108
Definition: debug_writer.h:354
Definition: convergence_check.h:72
describes a mapping X->Y
Definition: operator.h:86
describes an inverse mapping X->Y
Definition: operator_inverse.h:79
Nonlinear Jacobi-method.
Definition: nl_jacobi.h:80
DebugWritingObject< TAlgebra > base_writer_type
Definition: nl_jacobi.h:92
int m_dgbCall
call counter
Definition: nl_jacobi.h:149
virtual bool apply(vector_type &u)
apply Operator, i.e. op^{-1}(0) = u
Definition: nl_jacobi_impl.h:112
virtual std::string config_string() const
returns information about configuration parameters
Definition: nl_jacobi.h:106
NLJacobiSolver()
default constructor
Definition: nl_jacobi_impl.h:71
SmartPtr< IConvergenceCheck< vector_type > > m_spConvCheck
Definition: nl_jacobi.h:139
TAlgebra::matrix_type matrix_type
Matrix type.
Definition: nl_jacobi.h:89
SmartPtr< AssembledLinearOperator< algebra_type > > m_spJ
Definition: nl_jacobi.h:145
number m_damp
damping factor
Definition: nl_jacobi.h:142
SmartPtr< IAssemble< TAlgebra > > m_spAss
Definition: nl_jacobi.h:146
TAlgebra algebra_type
Algebra type.
Definition: nl_jacobi.h:83
SmartPtr< AssembledOperator< algebra_type > > m_spAssOp
Definition: nl_jacobi.h:144
TAlgebra::vector_type vector_type
Vector type.
Definition: nl_jacobi.h:86
void write_debug(const vector_type &vec, const char *filename)
Definition: nl_jacobi_impl.h:212
virtual bool init(SmartPtr< IOperator< vector_type > > op)
This operator inverts the Operator op: Y -> X.
Definition: nl_jacobi_impl.h:90
void set_convergence_check(SmartPtr< IConvergenceCheck< vector_type > > spConvCheck)
Definition: nl_jacobi_impl.h:79
void set_damp(number damp)
Definition: nl_jacobi.h:103
virtual bool prepare(vector_type &u)
prepare Operator
Definition: nl_jacobi_impl.h:105
Wrapper for sequential matrices to handle them in parallel.
Definition: parallel_matrix.h:65
double number
Definition: types.h:124
CPUAlgebra::vector_type vector_type
string ConfigShift(string s)
Definition: string_util.cpp:457