/dports/math/moab/fathomteam-moab-7bde9dfb84a8/test/mesquite/parallel_untangle_shape/ |
H A D | par_hex_untangle_shape.cpp | 113 double gradNorm; member in ParShapeImprover 116 … inner_iterations=100, double grad_norm=1.e-8) : innerIter(inner_iterations),gradNorm(grad_norm) {} in ParShapeImprover() 129 gradNorm(grad_norm), in ParShapeImprovementWrapper() 148 double maxTime, gradNorm; member in ParShapeImprover::ParShapeImprovementWrapper 228 term_inner.add_absolute_gradient_L2_norm( gradNorm ); in run_wrapper() 232 term_outer.add_absolute_gradient_L2_norm( gradNorm ); in run_wrapper() 387 ParShapeImprover::ParShapeImprovementWrapper siw(innerIter,0.0,gradNorm,100); in run() 452 double gradNorm = 1.e-9; in test() local 454 ParShapeImprover si(innerIter, gradNorm); in test()
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Segmentation/LevelSetsv4/include/ |
H A D | itkLevelSetBase.hxx | 109 OutputRealType gradNorm = grad.GetNorm(); in EvaluateMeanCurvature() local 111 if( gradNorm > itk::Math::eps ) in EvaluateMeanCurvature() 113 oValue /= ( gradNorm * gradNorm * gradNorm ); in EvaluateMeanCurvature() 117 oValue /= ( NumericTraits< OutputRealType >::OneValue() + gradNorm ); in EvaluateMeanCurvature()
|
H A D | itkDiscreteLevelSetImage.hxx | 475 OutputRealType gradNorm = grad.GetNorm(); in EvaluateMeanCurvature() local 477 if( gradNorm > itk::Math::eps ) in EvaluateMeanCurvature() 479 oValue /= ( gradNorm * gradNorm * gradNorm ); in EvaluateMeanCurvature() 483 oValue /= ( NumericTraits< OutputRealType >::OneValue() + gradNorm ); in EvaluateMeanCurvature()
|
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/Wrappers/ |
H A D | ShapeImprovementWrapper.cpp | 66 gradNorm(grad_norm), in ShapeImprovementWrapper() 76 gradNorm(grad_norm), in ShapeImprovementWrapper() 109 term_inner.add_absolute_gradient_L2_norm( gradNorm ); in run_wrapper()
|
H A D | ShapeImprovementWrapper.hpp | 88 double maxTime, gradNorm; member in MBMesquite::ShapeImprovementWrapper
|
/dports/science/chemps2/CheMPS2-1.8.10/CheMPS2/ |
H A D | EdmistonRuedenberg.cpp | 72 double gradNorm = 1.0; in Optimize() local 94 while ((gradNorm > gradThreshold) && (nIterations < maxIter)){ in Optimize() 124 gradNorm = augmentedHessianNewtonRaphson(gradient, temp1, temp2); in Optimize() 127 …er iteration " << nIterations << " : Icost = " << Icost << " has gradNorm = " << gradNorm << endl; in Optimize() 136 …cout << " Gradient norm = " << gradNorm << " after " << nIteratio… in Optimize() 197 double gradNorm = 0.0; in augmentedHessianNewtonRaphson() local 229 gradNorm += waarde * waarde; in augmentedHessianNewtonRaphson() 263 gradNorm = sqrt(gradNorm); in augmentedHessianNewtonRaphson() 265 return gradNorm; in augmentedHessianNewtonRaphson()
|
H A D | CASSCFnewtonraphson.cpp | 69 double gradNorm = 1.0; in solve() local 131 …while (( gradNorm > scf_options->getGradientThreshold() ) && ( nIterations < scf_options->getMaxIt… in solve() 162 …if (( am_i_master ) && ( scf_options->getStoreUnitary() ) && ( gradNorm != 1.0 )){ unitary->saveU(… in solve() 289 …anNR( theFmatrix, wmattilde, iHandler, unitary, gradient, &updateNorm, &gradNorm ); // On return t… in solve() 293 MPIchemps2::broadcast_array_double( &gradNorm, 1, MPI_CHEMPS2_MASTER ); in solve() 316 …dx, const DMRGSCFunitary * localUmat, double * theupdate, double * updateNorm, double * gradNorm ){ in augmentedHessianNR() argument 327 gradNorm[ 0 ] = construct_gradient( localFmat, localIdx, theupdate ); in augmentedHessianNR()
|
/dports/graphics/colmap/colmap-3.6/lib/VLFeat/ |
H A D | hog.c | 620 float gradNorm ; in vl_hog_put_image() local 645 gradNorm = sqrtf(gradNorm2) ; in vl_hog_put_image() 674 float angle0 = acosf(VL_MIN(orientationWeights[0] / VL_MAX(gradNorm, 1e-10),1.0)) ; in vl_hog_put_image() 710 at(binx,biny,orientation) += gradNorm * ow * wx1 * wy1 ; in vl_hog_put_image() 713 at(binx+1,biny,orientation) += gradNorm * ow * wx2 * wy1 ; in vl_hog_put_image() 716 at(binx+1,biny+1,orientation) += gradNorm * ow * wx2 * wy2 ; in vl_hog_put_image() 719 at(binx,biny+1,orientation) += gradNorm * ow * wx1 * wy2 ; in vl_hog_put_image()
|
/dports/math/stan/stan-2.28.2/src/stan/optimization/ |
H A D | bfgs.hpp | 173 Scalar gradNorm, stepNorm; in step() local 239 gradNorm = _gk.norm(); in step() 260 } else if (gradNorm < _conv_opts.tolAbsGrad) { in step()
|
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/src/stan/optimization/ |
H A D | bfgs.hpp | 167 Scalar gradNorm, stepNorm; in step() local 238 gradNorm = _gk.norm(); in step() 259 } else if (gradNorm < _conv_opts.tolAbsGrad) { in step()
|
/dports/math/octave-forge-level-set/level-set/inst/ |
H A D | ls_time_step.m | 115 gradNorm = upwind_gradient_norm (phi, F, h); variable 123 phi -= dNextT * F .* gradNorm; 129 phi -= dt * F .* gradNorm;
|
H A D | fastmarching.m | 394 %! gradNorm = abs (d); 397 %! phi = M \ (phi - dt * F' .* gradNorm);
|
/dports/science/qmcpack/qmcpack-3.11.0/src/QMCDrivers/Optimizers/ |
H A D | DescentEngine.cpp | 419 ValueType gradNorm = 0.0; in sample_finish() local 460 gradNorm += lderivs_.at(i) * lderivs_.at(i); in sample_finish() 463 gradNorm = std::sqrt(gradNorm); in sample_finish() 464 app_log() << "Norm of gradient vector is: " << gradNorm << std::endl; in sample_finish()
|
/dports/science/chemps2/CheMPS2-1.8.10/CheMPS2/include/chemps2/ |
H A D | CASSCF.h | 248 …dx, const DMRGSCFunitary * localUmat, double * theupdate, double * updateNorm, double * gradNorm );
|
/dports/math/casadi/casadi-3.5.5/casadi/interfaces/blocksqp/ |
H A D | blocksqp.hpp | 84 double gradNorm; // norm of Lagrangian gradient member
|
H A D | blocksqp.cpp | 1002 m->gradNorm = casadi_norm_inf(nx_, m->grad_lagk); in calcOptTol() 1003 m->tol = m->gradNorm/(1.0+fmax(casadi_norm_inf(nx_, m->lam_xk), in calcOptTol() 2598 print("%-10.2e", m->gradNorm); in printProgress() 2779 m->gradNorm = inf; in initIterate()
|
/dports/science/chemps2/CheMPS2-1.8.10/integrals/psi4plugins/ |
H A D | dmrg.cc | 762 double gradNorm = 1.0; in dmrg() local 812 while ((gradNorm > d_convergence) && (nIterations < dmrg_max_iter)){ in dmrg() 857 if (( dmrg_store_unit ) && (gradNorm!=1.0)){ unitary->saveU( unitaryname ); } in dmrg() 975 …F::augmentedHessianNR(theFmatrix, wmattilde, iHandler, unitary, theupdate, &updateNorm, &gradNorm); in dmrg()
|