33 #ifndef __H__LIB_ALGEBRA__OPERATOR__OPERATOR_UTIL__
34 #define __H__LIB_ALGEBRA__OPERATOR__OPERATOR_UTIL__
44 template <
typename vector_type>
53 UG_LOG(
"ApplyLinearSolver: Cannot init Inverse operator.\n");
60 if(!solver->apply_return_defect(u,b))
62 UG_LOG(
"ApplyLinearSolver: Cannot apply Inverse operator.\n");
Definition: smart_pointer.h:108
describes a linear mapping X->Y
Definition: linear_operator.h:80
describes an inverse linear mapping X->Y
Definition: linear_operator_inverse.h:80
#define UG_LOG(msg)
Definition: log.h:367
CPUAlgebra::vector_type vector_type
bool ApplyLinearSolver(SmartPtr< ILinearOperator< vector_type > > A, vector_type &u, vector_type &b, SmartPtr< ILinearOperatorInverse< vector_type > > solver)
Definition: operator_util.h:45
#define PROFILE_BEGIN(name)
Definition: profiler.h:254
#define PROFILE_BEGIN_GROUP(name, groups)
Definition: profiler.h:255
#define PROFILE_END_(name)
Definition: profiler.h:262