All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
NonlinearSolverTestScaleNorm Class Reference

#include <nonlin.h>

Inheritance diagram for NonlinearSolverTestScaleNorm:
Collaboration diagram for NonlinearSolverTestScaleNorm:

Public Member Functions

virtual void TestOne (doublereal &dRes, const VectorHandler &Vec, const integer &iIndex, doublereal dCoef) const
virtual void TestMerge (doublereal &dResCurr, const doublereal &dResNew) const
virtual const doublerealdScaleCoef (const integer &iIndex) const
- Public Member Functions inherited from NonlinearSolverTestScale
 NonlinearSolverTestScale (const VectorHandler *pScl=0)
virtual ~NonlinearSolverTestScale (void)
virtual void SetScale (const VectorHandler *pScl)
- Public Member Functions inherited from NonlinearSolverTest
virtual ~NonlinearSolverTest (void)
virtual doublereal MakeTest (Solver *pS, const integer &Size, const VectorHandler &Vec, bool bResidual=false, doublereal dScaleAlgEqu=1., doublereal *pTestDiff=0)
- Public Member Functions inherited from NonlinearSolverTestNorm
virtual doublereal TestPost (const doublereal &dRes) const

Additional Inherited Members

- Public Types inherited from NonlinearSolverTest
- Protected Attributes inherited from NonlinearSolverTestScale
const VectorHandlerpScale

Detailed Description

Definition at line 146 of file nonlin.h.

Member Function Documentation

const doublereal & NonlinearSolverTestScaleNorm::dScaleCoef ( const integer iIndex) const

Reimplemented from NonlinearSolverTestScale.

Definition at line 310 of file nonlin.cc.

References NonlinearSolverTestScale::dScaleCoef().

311 {
313 }
virtual const doublereal & dScaleCoef(const integer &iIndex) const
Definition: nonlin.cc:284

Here is the call graph for this function:

void NonlinearSolverTestScaleNorm::TestMerge ( doublereal dResCurr,
const doublereal dResNew 
) const

Reimplemented from NonlinearSolverTestNorm.

Definition at line 303 of file nonlin.cc.

References NonlinearSolverTestNorm::TestMerge().

305 {
306  NonlinearSolverTestNorm::TestMerge(dResCurr, dResNew);
307 }
virtual void TestMerge(doublereal &dResCurr, const doublereal &dResNew) const
Definition: nonlin.cc:218

Here is the call graph for this function:

void NonlinearSolverTestScaleNorm::TestOne ( doublereal dRes,
const VectorHandler Vec,
const integer iIndex,
doublereal  dCoef 
) const

Reimplemented from NonlinearSolverTestNorm.

Definition at line 294 of file nonlin.cc.

296 {
297  doublereal d = Vec(iIndex) * (*pScale)(iIndex) * dCoef;
299  dRes += d*d;
300 }
double doublereal
Definition: colamd.c:52

The documentation for this class was generated from the following files: