/dports/math/freefem++/FreeFem-sources-4.6/examples/hpddm/ |
H A D | diffusion-mg-2d.edp | 5 macro dimension()2// EOM // 2D or 3D 10 macro grad(u)[dx(u), dy(u)]// EOM // two-dimensional gradient 29 real[int] D; // partition of unity 35 buildWithPartitioning(Th, part[], 1, intersection, D, Pk, mpiCommWorld); 38 varf vPb(u, v) = intN(Th)(grad(u)' * grad(v)) + intN(Th)(v) + on(1, u = 1.0); 52 schwarz A(Mat, intersection, D); 56 in .*= D;
|
H A D | diffusion-substructuring-2d.edp | 5 macro dimension()2// EOM // 2D or 3D 10 macro grad(u)[dx(u), dy(u)]// EOM // two-dimensional gradient 38 varf vPb(u, v) = intN(Th)(grad(u)' * grad(v)) + intN(Th)(f * v) + on(labDirichlet, u = 1.0);
|
H A D | helmholtz-mg-2d.edp | 5 macro dimension()2// EOM // 2D or 3D 10 macro grad(u)[dx(u), dy(u)]// EOM // two-dimensional gradient 42 real[int] D; // partition of unity 48 buildWithPartitioning(Th, part[], 1, intersection, D, Pk, mpiCommWorld); 52 varf vPb(u, v) = intN(Th)(-(k^2 - 1i*epsilon)*u*v + grad(u)'*grad(v)) 73 schwarz<complex> A(Mat, intersection, D); 83 for[i, di: D] in[i] *= di;
|
H A D | diffusion-substructuring-withPartitioning-2d.edp | 6 macro dimension()2// EOM // 2D or 3D 11 macro grad(u)[dx(u), dy(u)]// EOM // two-dimensional gradient 42 varf vPb(u, v) = intN(Th)(grad(u)' * grad(v)) + intN(Th)(f * v) + on(labDirichlet, u = 1.0);
|
H A D | laplace-lagrange-PETSc.edp | 5 macro dimension()2// EOM // 2D or 3D 8 macro grad(u)[dx(u), dy(u)]// EOM // two-dimensional gradient 16 varf vPb(u, v) = intN(Th)(grad(u)' * grad(v));
|
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/atoms/ |
H A D | atom.py | 380 def grad(self): member in Atom 391 return u.grad.constant_grad(self) 397 return u.grad.error_grad(self) 408 grad_arg = arg.grad 414 D = grad_arg[key]*grad_self[idx] 416 if not np.isscalar(D) and D.shape == (1, 1): 417 D = D[0, 0] 420 result[key] += D 422 result[key] = D
|
/dports/science/mpqc/mpqc-2.3.1/src/lib/math/isosurf/ |
H A D | shape.h | 53 SCVector3*grad=0) const = 0; 80 double distance_to_surface(const SCVector3&r,SCVector3*grad=0) const; 143 double distance_to_surface(const SCVector3&r,SCVector3*grad=0) const; 161 double distance_to_surface(const SCVector3&r,SCVector3*grad=0) const; 175 SCVector3 D[2]; variable 221 double distance_to_surface(const SCVector3&r,SCVector3*grad=0) const; 237 double distance_to_surface(const SCVector3&r,SCVector3*grad=0) const;
|
/dports/math/freefem++/FreeFem-sources-4.6/examples/mpi/ |
H A D | DDM-Schwarz-Lap-3d.edp | 13 -d D: set debug flag D must be one for mpiplot 99 macro grad(u) [dx(u),dy(u),dz(u)] // 101 varf vPb(U,V)= int3d(Thi)(grad(U)'*grad(V)) + int3d(Thi)(F*V) + on(10,U=0)+on(1,U=G) ; //');// for … 102 varf vPbC(U,V)= int3d(ThC)(grad(U)'*grad(V)) +on(1,U=0) ; //');// for emacs
|
/dports/science/code_saturne/code_saturne-7.1.0/docs/theory/ |
H A D | turbul.tex | 121 …rac{\nu_t}{\sigma_k} \grad \varphi \cdot \grad k + \divs \left[ \left( \frac{\nu}{2} + \frac{\nu_… 415 \left| \grad \tilde{\nu}^{n} \right| ^2 509 - \dive\left(\mu \grad{\varepsilon}\right) 579 \tens{R} \cdot \grad \varepsilon \right). 737 Turbulence, 2D flows presenting an homogeneous span-wise direction...). 786 …frac{\mu}{Sc} \grad{\rans{\fluct{\varia}^2}}}_{D^{\nu}_{\theta \theta } } \underbrace{-\rho \rans{… 787 …\underbrace{-2 \dfrac{\mu}{Sc} \rans{\grad{\fluct{\varia}}\cdot \grad{\fluct{\varia}}}}_{\varepsil… 790 where $P_{\theta \theta}$, $D^{\nu}_{\theta \theta }$, $D^{t}_{\theta \theta }$ et $\varepsilon_{\t… 825 \tens{R}\cdot\grad{\rans{\varia}} 858 …eta}$ et $\vect{\mathcal{D}}_{\,\theta}=\vect{\mathcal{D}}_{\,\theta}^{\nu}+\vect{\mathcal{D}}_{\,… [all …]
|
H A D | resopv.tex | 102 Let $\tens{D}$ be the divergence operator. 105 \tens{D}\ \vect{W} = \vect{\Gamma} 184 $$\tens{D}\ \vect{W}^{\,n+1} = \vect{\Gamma} $$ 189 …\tens{D}\ \tens{B}^{-1}\,\tens{G}\ \,\delta \vect{P} =\ \tens{D}\ \vect{\widetilde{W}} -\ \vect{\G… 202 $\tens{D}\ \tens{B}^{-1}\ \tens{G}$ can lead to odd-even decoupling of the nodes on a regular Carte… 203 mesh\footnote{If $u_i$ is the value of a variable at the cell centres on a 1D Cartesian mesh, the L… 241 $$[\ \tens{T}^{\,n}_{\,ij}\ (\grad{\delta 259 $\grad{a}$ is the standard cell gradient of $a$.\\ 270 (\grad{(\delta p)})_{\,f} \approx ((\grad{(\delta p)})_{\,f}\,.\,\vect{n})\ \vect{n} 316 …D}\ \widetilde{\vect{W}})_I = &\sum\limits_{j\in Neigh(i)}[\rho^{\,n} \widetilde{\vect{u}} + \alph… [all …]
|
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/TargetMetric/Untangle/ |
H A D | AWUntangleBeta.hpp | 104 template <unsigned D> inline 105 bool eval( const MsqMatrix<D,D>& A, const MsqMatrix<D,D>& W, double& result ); 106 template <unsigned D> inline 107 …bool grad( const MsqMatrix<D,D>& A, const MsqMatrix<D,D>& W, double& result, MsqMatrix<D,D>& first…
|
H A D | TUntangleBeta.hpp | 99 template <unsigned D> inline 100 bool eval( const MsqMatrix<D,D>& T, double& result ); 101 template <unsigned D> inline 102 bool grad( const MsqMatrix<D,D>& T, double& result, MsqMatrix<D,D>& first ); 103 template <unsigned D> inline 104 …bool hess( const MsqMatrix<D,D>& T, double& result, MsqMatrix<D,D>& first, MsqMatrix<D,D>* second …
|
H A D | TUntangle1.hpp | 100 template <unsigned D> inline 101 bool eval( const MsqMatrix<D,D>& T, double& result ); 102 template <unsigned D> inline 103 bool grad( const MsqMatrix<D,D>& T, double& result, MsqMatrix<D,D>& first ); 104 template <unsigned D> inline 105 …bool hess( const MsqMatrix<D,D>& T, double& result, MsqMatrix<D,D>& first, MsqMatrix<D,D>* second …
|
/dports/editors/emacs-devel/emacs-4d1968b/lisp/calc/ |
H A D | calc-nlfit.el | 77 D) 93 (setq D (math-sub (math-mul S Sxx) (math-mul Sx Sx))) 95 (B (math-div (math-sub (math-mul S Sxy) (math-mul Sx Sy)) D))) 97 (let ((C11 (math-div Sxx D)) 98 (C12 (math-neg (math-div Sx D))) 99 (C22 (math-div S D))) 431 (let ((row (apply grad (car xlist) parms))) 502 ((C (math-nlfit-jacobian grad xlist parms slist)) 581 (defun math-nlfit-find-covar (grad xlist pparms) 621 (D (math-neg (math-div (calcFunc-ln B) C))) [all …]
|
/dports/editors/emacs/emacs-27.2/lisp/calc/ |
H A D | calc-nlfit.el | 77 D) 93 (setq D (math-sub (math-mul S Sxx) (math-mul Sx Sx))) 95 (B (math-div (math-sub (math-mul S Sxy) (math-mul Sx Sy)) D))) 97 (let ((C11 (math-div Sxx D)) 98 (C12 (math-neg (math-div Sx D))) 99 (C22 (math-div S D))) 431 (let ((row (apply grad (car xlist) parms))) 581 (defun math-nlfit-find-covar (grad xlist pparms) 592 (defun math-nlfit-get-sigmas (grad xlist pparms chisq) 621 (D (math-neg (math-div (calcFunc-ln B) C))) [all …]
|
/dports/math/freefem++/FreeFem-sources-4.6/examples/ffddm/ |
H A D | diffusion-3d-simple.edp | 9 macro dimension 3// EOM // 2D or 3D 17 macro grad(u)[dx(u), dy(u), dz(u)]// EOM // three-dimensional gradient 26 …varf varfName(u,v) = int3d(meshName)(grad(u)' * grad(v)) + int3d(meshName)(v) + on(1, u = 1.0); //…
|
H A D | diffusion-2d-thirdlevelgeneo.edp | 7 macro dimension 2// EOM // 2D or 3D 13 macro grad(u) [dx(u),dy(u)] // EOM 22 varf varfName(def(u), def(v)) = int2d(meshName)(grad(u)' * grad(v))
|
/dports/science/py-ase/ase-3.22.0/ase/optimize/gpmin/ |
H A D | gp.py | 62 D = self.X.shape[1] 64 D * [self.noise])) 125 grad = self.kernel.gradient(X) 129 for g in grad]) 131 for g in grad])
|
/dports/science/bagel/bagel-1.2.2/src/util/math/ |
H A D | bfgs.h | 61 std::vector<std::shared_ptr<const T>> D() const { return D_; } in D() function 67 auto grad = std::make_shared<const T>(*_grad); in extrapolate() local 70 auto out = std::make_shared<T>(*grad); in extrapolate() 76 std::shared_ptr<T> yy = grad->clone(); in extrapolate() 78 auto DD = std::make_shared<T>(*grad - *prev_grad); in extrapolate() 94 auto s3 = delta_[i]->dot_product(grad); in extrapolate() 95 auto s4 = y_[i]->dot_product(grad); in extrapolate() 110 auto s3 = delta_[n]->dot_product(grad); in extrapolate() 111 auto s4 = yy->dot_product(grad); in extrapolate() 120 prev_grad = grad; in extrapolate()
|
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/test/mesquite/unit/ |
H A D | TargetMetricTest.hpp | 366 valid = grad( testMetric, I, I, val, g, err ); in test_ideal_gradient() 489 valid = grad( testMetric, I, A, gv, g, err ); in compare_eval_and_eval_with_grad() 497 valid = grad( testMetric, A, B, gv, g, err ); in compare_eval_and_eval_with_grad() 509 valid = grad( testMetric, C, I, gv, g, err ); in compare_eval_and_eval_with_grad() 525 valid = grad( testMetric, I, A, gv, g, err ); in compare_eval_with_grad_and_eval_with_hess() 534 valid = grad( testMetric, A, B, gv, g, err ); in compare_eval_with_grad_and_eval_with_hess() 547 valid = grad( testMetric, C, I, gv, g, err ); in compare_eval_with_grad_and_eval_with_hess() 569 Matrix D(I); in compare_anaytic_and_numeric_grads() local 570 D(0,0) += 1e-5; in compare_anaytic_and_numeric_grads() 571 valid = num_grad( testMetric, D, I, nval, num, err ); in compare_anaytic_and_numeric_grads() [all …]
|
/dports/math/mfem/mfem-4.3/fem/ |
H A D | bilininteg.cpp | 2102 grad.SetSize(dim); in GetElementEnergy() 2130 double curl = grad(0,1) - grad(1,0); in GetElementEnergy() 2135 double curl_x = grad(2,1) - grad(1,2); in GetElementEnergy() 2136 double curl_y = grad(0,2) - grad(2,0); in GetElementEnergy() 2137 double curl_z = grad(1,0) - grad(0,1); in GetElementEnergy() 2809 L *= (grad(0,0) + grad(1,1)); in ComputeElementFlux() 2813 flux(i+fnd*2) = M*(grad(0,1) + grad(1,0)); in ComputeElementFlux() 2817 L *= (grad(0,0) + grad(1,1) + grad(2,2)); in ComputeElementFlux() 2822 flux(i+fnd*3) = M*(grad(0,1) + grad(1,0)); in ComputeElementFlux() 2823 flux(i+fnd*4) = M*(grad(0,2) + grad(2,0)); in ComputeElementFlux() [all …]
|
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/TargetMetric/Misc/ |
H A D | TPower2.hpp | 94 template <unsigned D> inline 95 bool eval( const MsqMatrix<D,D>& T, double& result, MsqError& err ); 96 template <unsigned D> inline 97 bool grad( const MsqMatrix<D,D>& T, double& result, MsqMatrix<D,D>& first, MsqError& err ); 98 template <unsigned D> inline 99 …bool hess( const MsqMatrix<D,D>& T, double& result, MsqMatrix<D,D>& first, MsqMatrix<D,D>* second,…
|
/dports/devel/py-cclib/cclib-1.7.1/data/Turbomole/basicTurbomole7.4/water_cc2_gopt/ |
H A D | gradient | 1 $grad cartesian gradients 6 0.37226741380492D-13 0.00000000000000D+00 0.66824021992189D-01 7 -.17679285579392D-13 0.32693657832622D-01 -.33412010994307D-01 8 -.19547455801100D-13 -.32693657832613D-01 -.33412010994306D-01 13 -.31774374159997D-13 0.00000000000000D+00 0.18011542318574D-01 14 0.15248801148195D-13 0.24742542415925D-02 -.90057711337681D-02 15 0.16525573011802D-13 -.24742542415934D-02 -.90057711337748D-02 20 0.00000000000000D+00 0.14391583964382D-09 0.30167461986341D-03 21 0.00000000000000D+00 -.37456220407175D-02 -.15083676082028D-03 22 0.00000000000000D+00 0.37456218968037D-02 -.15083785901293D-03 [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/nwdft/grid/ |
H A D | grid_quadvw.F | 84 grad=xc_chkgrad() 96 , oprint,grad,g_dens, 113 D ddum1,ddum1,ddum1,ddum1,ddum1,ddum1,ddum1, 114 D ddum1,ddum1,ddum1,ddum1, 115 D ddum1,
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/nwdft/grid/ |
H A D | grid_quadvw.F | 84 grad=xc_chkgrad() 96 , oprint,grad,g_dens, 113 D ddum1,ddum1,ddum1,ddum1,ddum1,ddum1,ddum1, 114 D ddum1,ddum1,ddum1,ddum1, 115 D ddum1,
|