Home
last modified time | relevance | path

Searched refs:unew (Results 1 – 25 of 107) sorted by relevance

12345

/dports/devel/taskflow/taskflow-3.2.0/sandbox/jacobi/
H A Dpoisson.hpp60 int itold, int itnew, double *u, double *unew, int block_size);
62 int itold, int itnew, double *u, double *unew);
97 double (*unew)[nx][ny] = (double (*)[nx][ny])unew_; in copy_block() local
103 (*u)[i][j] = (*unew)[i][j]; in copy_block()
114 double (*unew)[nx][ny] = (double (*)[nx][ny])unew_; in compute_estimate() local
120 (*unew)[i][j] = (*f)[i][j]; in compute_estimate()
122 (*unew)[i][j] = 0.25 * ((*u)[i-1][j] + (*u)[i][j+1] in compute_estimate()
139 double (*unew)[nx][ny] = (double (*)[nx][ny])unew_; in sweep_seq() local
144 (*u)[i][j] = (*unew)[i][j]; in sweep_seq()
150 (*unew)[i][j] = (*f)[i][j]; in sweep_seq()
[all …]
H A Domp.cpp89 double (*unew)[nx][ny] = (double (*)[nx][ny])unew_; in omp_block_task_dep() local
147 double (*unew)[nx][ny] = (double (*)[nx][ny])unew_; in omp_task() local
155 #pragma omp task firstprivate(i, ny) private(j) shared(u, unew) in omp_task()
157 (*u)[i][j] = (*unew)[i][j]; in omp_task()
166 (*unew)[i][j] = (*f)[i][j]; in omp_task()
168 (*unew)[i][j] = 0.25 * ((*u)[i-1][j] + (*u)[i][j+1] in omp_task()
188 double (*unew)[nx][ny] = (double (*)[nx][ny])unew_; in omp_task_dep() local
196 #pragma omp task shared(u, unew) firstprivate(i) private(j) depend(in: unew[i]) depend(out: u[i]) in omp_task_dep()
198 (*u)[i][j] = (*unew)[i][j]; in omp_task_dep()
203 …gma omp task shared(u, unew, f) firstprivate(i, nx, ny, dx, dy) private(j) depend(in: f[i], u[i-1]… in omp_task_dep()
[all …]
/dports/devel/splint/splint-3.1.2/src/
H A Duentry.c1883 unew->info->fcn->globs = globSet_copyInto (unew->info->fcn->globs, in checkGlobalsConformance()
6898 if ((uentry_isEitherConstant (unew) || uentry_isDatatype (unew)) in KindConformanceError()
6925 unew->utype), in KindConformanceError()
6944 unew->utype), in KindConformanceError()
7479 unew->uname, in nargsError()
7496 unew->uname, in returnValueError()
8873 unew->utype), in checkTypeConformance()
9218 unew->whereDefined = fileloc_update (unew->whereDefined, in uentry_checkConformance()
9315 unew->utype), in uentry_checkConformance()
9857 if (uentry_isVariable (unew) || uentry_isFunction (unew)) in uentry_mergeDefinition()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PinT/nonlinear/
H A DdynamicConstraint.hpp84 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in value()
93 ROL::Ptr<std::vector<Real>> unp = getVector(unew); in solve()
96 value(c, uold, unew, z, ts); in solve()
105 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in applyJacobian_uo()
116 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in applyJacobian_un()
127 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in applyJacobian_z()
135 applyJacobian_uo(jv, v, uold, unew, z, ts); in applyAdjointJacobian_uo()
141 applyJacobian_un(jv, v, uold, unew, z, ts); in applyAdjointJacobian_un()
147 applyJacobian_z(jv, v, uold, unew, z, ts); in applyAdjointJacobian_z()
156 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in applyInverseJacobian_un()
[all …]
H A DdynamicObjective.hpp83 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in value()
94 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in gradient_uo()
105 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in gradient_un()
116 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in gradient_z()
128 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in hessVec_uo_uo()
140 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in hessVec_uo_un()
152 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in hessVec_uo_z()
164 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in hessVec_un_uo()
176 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in hessVec_un_un()
188 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in hessVec_un_z()
[all …]
/dports/math/alberta/alberta3-920315ae1bbfd1b1fb6672d916619ac37a411e95/alberta/src/Common/
H A Dssor.c47 REAL max = 0.0, omega1, accu, unew; in ssor_s() local
90 unew = in ssor_s()
93 unew = 0.0; in ssor_s()
95 max = MAX(max, ABS(uvec[i] - unew)); in ssor_s()
96 uvec[i] = unew; in ssor_s()
112 unew = in ssor_s()
117 unew = 0.0; in ssor_s()
119 max = MAX(max, ABS(uvec[i] - unew)); in ssor_s()
120 uvec[i] = unew; in ssor_s()
149 REAL_D accu, unew; in ssor_d() local
[all …]
H A Dsor.c47 REAL max = 0.0, omega1, accu, unew; in sor_s() local
76 unew = omega1*uvec[dof] + omega*(fvec[dof]-accu)/row->entry.real[0]; in sor_s()
78 unew = 0.0; in sor_s()
80 max = MAX(max, ABS(uvec[dof] - unew)); in sor_s()
81 uvec[dof] = unew; in sor_s()
110 REAL_D accu, unew; in sor_d() local
151 AXPBY_DOW(omega, accu, omega1, uvec[dof], unew); \ in sor_d()
154 max = MAX(max, ABS(uvec[dof][n] - unew[n])); \ in sor_d()
155 uvec[dof][n] = unew[n]; \ in sor_d()
/dports/math/spooles-mpich/spooles.2.2_SHARED/ETree/src/
H A Dinit.c153 for ( unew = 0 ; unew < nvtx ; unew++ ) { in ETree_initFromGraphWithPerms()
154 if ( (uold = newToOld[unew]) < 0 in ETree_initFromGraphWithPerms()
156 || oldToNew[uold] != unew ) { in ETree_initFromGraphWithPerms()
164 if ( 0 <= unew && unew < nvtx ) { in ETree_initFromGraphWithPerms()
165 fprintf(stderr, "\n newToOld[%d] = %d", unew, newToOld[unew]) ; in ETree_initFromGraphWithPerms()
201 unew = oldToNew[uold] ; in ETree_initFromGraphWithPerms()
202 while ( unew < vnew && mark[unew] != vnew ) { in ETree_initFromGraphWithPerms()
204 if ( mark[unew] == unew ) { in ETree_initFromGraphWithPerms()
205 par[unew] = vnew ; in ETree_initFromGraphWithPerms()
207 mark[unew] = vnew ; in ETree_initFromGraphWithPerms()
[all …]
/dports/math/spooles-mpich/spooles.2.2/ETree/src/
H A Dinit.c153 for ( unew = 0 ; unew < nvtx ; unew++ ) { in ETree_initFromGraphWithPerms()
154 if ( (uold = newToOld[unew]) < 0 in ETree_initFromGraphWithPerms()
156 || oldToNew[uold] != unew ) { in ETree_initFromGraphWithPerms()
164 if ( 0 <= unew && unew < nvtx ) { in ETree_initFromGraphWithPerms()
165 fprintf(stderr, "\n newToOld[%d] = %d", unew, newToOld[unew]) ; in ETree_initFromGraphWithPerms()
201 unew = oldToNew[uold] ; in ETree_initFromGraphWithPerms()
202 while ( unew < vnew && mark[unew] != vnew ) { in ETree_initFromGraphWithPerms()
204 if ( mark[unew] == unew ) { in ETree_initFromGraphWithPerms()
205 par[unew] = vnew ; in ETree_initFromGraphWithPerms()
207 mark[unew] = vnew ; in ETree_initFromGraphWithPerms()
[all …]
/dports/math/spooles/spooles.2.2_SHARED/ETree/src/
H A Dinit.c153 for ( unew = 0 ; unew < nvtx ; unew++ ) { in ETree_initFromGraphWithPerms()
154 if ( (uold = newToOld[unew]) < 0 in ETree_initFromGraphWithPerms()
156 || oldToNew[uold] != unew ) { in ETree_initFromGraphWithPerms()
164 if ( 0 <= unew && unew < nvtx ) { in ETree_initFromGraphWithPerms()
165 fprintf(stderr, "\n newToOld[%d] = %d", unew, newToOld[unew]) ; in ETree_initFromGraphWithPerms()
201 unew = oldToNew[uold] ; in ETree_initFromGraphWithPerms()
202 while ( unew < vnew && mark[unew] != vnew ) { in ETree_initFromGraphWithPerms()
204 if ( mark[unew] == unew ) { in ETree_initFromGraphWithPerms()
205 par[unew] = vnew ; in ETree_initFromGraphWithPerms()
207 mark[unew] = vnew ; in ETree_initFromGraphWithPerms()
[all …]
/dports/math/spooles/spooles.2.2/ETree/src/
H A Dinit.c153 for ( unew = 0 ; unew < nvtx ; unew++ ) { in ETree_initFromGraphWithPerms()
154 if ( (uold = newToOld[unew]) < 0 in ETree_initFromGraphWithPerms()
156 || oldToNew[uold] != unew ) { in ETree_initFromGraphWithPerms()
164 if ( 0 <= unew && unew < nvtx ) { in ETree_initFromGraphWithPerms()
165 fprintf(stderr, "\n newToOld[%d] = %d", unew, newToOld[unew]) ; in ETree_initFromGraphWithPerms()
201 unew = oldToNew[uold] ; in ETree_initFromGraphWithPerms()
202 while ( unew < vnew && mark[unew] != vnew ) { in ETree_initFromGraphWithPerms()
204 if ( mark[unew] == unew ) { in ETree_initFromGraphWithPerms()
205 par[unew] = vnew ; in ETree_initFromGraphWithPerms()
207 mark[unew] = vnew ; in ETree_initFromGraphWithPerms()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/src/function/dynamic/
H A DROL_ReducedDynamicObjective.hpp683 obj_->gradient_un(*udual_, uold, unew, z, ts); in setTerminalCondition()
691 obj_->gradient_uo(rhs, uold, unew, z, ts); in computeAdjointRHS()
699 obj_->gradient_un(*udual_, uold, unew, z, ts); in advanceAdjoint()
772 obj_->gradient_z(g, uold, unew, z, ts); in updateGradient()
785 con_->applyJacobian_z(*crhs_, v, uold, unew, z, ts); in advanceStateSens()
802 obj_->hessVec_un_z(*udual_, v, uold, unew, z, ts); in setTerminalConditionHess()
825 obj_->hessVec_un_uo(Hv, wold, uold, unew, z, ts); in computeOldStateHessLag()
854 obj_->hessVec_un_z(*udual_, v, uold, unew, z, ts); in computeOldMixedHessLag()
881 obj_->hessVec_uo_un(Hv, wnew, uold, unew, z, ts); in computeNewStateHessLag()
910 obj_->hessVec_uo_z(*udual_, v, uold, unew, z, ts); in computeNewMixedHessLag()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/tempus/
H A DROL_TempusDynamicConstraint.hpp96 const ROL::Vector<Real> &unew,
103 const ROL::Vector<Real> &unew,
110 const ROL::Vector<Real> &unew,
117 const ROL::Vector<Real> &unew,
124 const ROL::Vector<Real> &unew,
131 const ROL::Vector<Real> &unew,
138 const ROL::Vector<Real> &unew,
145 const ROL::Vector<Real> &unew,
152 const ROL::Vector<Real> &unew,
207 const ROL::Vector<Real> &unew, in value() argument
[all …]
H A Dexample_02.hpp134 r[n] -= 0.5*dt_*unew[n-1]*(unew[n-1]+unew[n])/6.0; in compute_residual()
138 r[n] += 0.5*dt_*unew[n+1]*(unew[n]+unew[n+1])/6.0; in compute_residual()
249 … jv[n] -= 0.5*dt_*(unew[n-1]/6.0*vnew[n]-(unew[n-1]+2.0*unew[n])/6.0*vnew[n-1]); // Nonlinearity in apply_pde_jacobian()
253 … jv[n] -= 0.5*dt_*(unew[n-1]/6.0*vnew[n]+(unew[n]+2.0*unew[n-1])/6.0*vnew[n-1]); // Nonlinearity in apply_pde_jacobian()
261 … jv[n] += 0.5*dt_*(unew[n+1]/6.0*vnew[n]-(unew[n+1]+2.0*unew[n])/6.0*vnew[n+1]); // Nonlinearity in apply_pde_jacobian()
265 … jv[n] += 0.5*dt_*(unew[n+1]/6.0*vnew[n]+(unew[n]+2.0*unew[n+1])/6.0*vnew[n+1]); // Nonlinearity in apply_pde_jacobian()
477 uold.assign(unew.begin(),unew.end()); in value()
510 uold.assign(unew.begin(),unew.end()); in solve()
539 uold.assign(unew.begin(),unew.end()); in applyJacobian_1()
604 uold.assign(unew.begin(),unew.end()); in applyInverseJacobian_1()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/burgers-control/
H A Dexample_03.hpp137 r[n] -= 0.5*dt_*unew[n-1]*(unew[n-1]+unew[n])/6.0; in compute_residual()
141 r[n] += 0.5*dt_*unew[n+1]*(unew[n]+unew[n+1])/6.0; in compute_residual()
252 … jv[n] -= 0.5*dt_*(unew[n-1]/6.0*vnew[n]-(unew[n-1]+2.0*unew[n])/6.0*vnew[n-1]); // Nonlinearity in apply_pde_jacobian()
256 … jv[n] -= 0.5*dt_*(unew[n-1]/6.0*vnew[n]+(unew[n]+2.0*unew[n-1])/6.0*vnew[n-1]); // Nonlinearity in apply_pde_jacobian()
264 … jv[n] += 0.5*dt_*(unew[n+1]/6.0*vnew[n]-(unew[n+1]+2.0*unew[n])/6.0*vnew[n+1]); // Nonlinearity in apply_pde_jacobian()
268 … jv[n] += 0.5*dt_*(unew[n+1]/6.0*vnew[n]+(unew[n]+2.0*unew[n+1])/6.0*vnew[n+1]); // Nonlinearity in apply_pde_jacobian()
480 uold.assign(unew.begin(),unew.end()); in value()
513 uold.assign(unew.begin(),unew.end()); in solve()
542 uold.assign(unew.begin(),unew.end()); in applyJacobian_1()
607 uold.assign(unew.begin(),unew.end()); in applyInverseJacobian_1()
[all …]
/dports/science/madness/madness-ebb3fd7/src/madness/mra/
H A Dnonlinsol.h137 Function<double,NDIM> unew = FunctionFactory<double,NDIM>(u.world()); variable
138 if (ulist[0].is_compressed()) unew.compress();
140 unew.gaxpy(1.0,ulist[i], c[i]);
141 unew.gaxpy(1.0,rlist[i],-c[i]);
143 unew.truncate();
150 return unew;
236 T unew = alloc();
238 unew += (ulist[i] - rlist[i])*c[i];
246 return unew;
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/rol/example/PinT/parabolic-control/
H A DdynamicObjective.hpp145 Real value( const ROL::Vector<Real> &uold, const ROL::Vector<Real> &unew, in value() argument
150 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in value()
167 const ROL::Vector<Real> &uold, const ROL::Vector<Real> &unew, in gradient_uo() argument
182 const ROL::Vector<Real> &uold, const ROL::Vector<Real> &unew, in gradient_un() argument
186 ROL::Ptr<const std::vector<Real>> unp = getVector(unew); in gradient_un()
198 const ROL::Vector<Real> &uold, const ROL::Vector<Real> &unew, in gradient_z() argument
222 const ROL::Vector<Real> &uold, const ROL::Vector<Real> &unew, in hessVec_uo_z() argument
244 const ROL::Vector<Real> &uold, const ROL::Vector<Real> &unew, in hessVec_un_z() argument
250 const ROL::Vector<Real> &uold, const ROL::Vector<Real> &unew, in hessVec_z_uo() argument
256 const ROL::Vector<Real> &uold, const ROL::Vector<Real> &unew, in hessVec_z_un() argument
[all …]
/dports/converters/uudeview/uudeview-0.5.20/uulib/
H A Duucheck.c1174 _FP_free (unew); in UUInsertPartToList()
1181 _FP_free (unew); in UUInsertPartToList()
1192 _FP_free (unew); in UUInsertPartToList()
1197 unew->mimeid = NULL; in UUInsertPartToList()
1204 _FP_free (unew); in UUInsertPartToList()
1212 unew->binfile = NULL; in UUInsertPartToList()
1213 unew->thisfile = data; in UUInsertPartToList()
1219 unew->misparts = NULL; in UUInsertPartToList()
1220 unew->haveparts = NULL; in UUInsertPartToList()
1221 unew->NEXT = NULL; in UUInsertPartToList()
[all …]
/dports/converters/uulib/uudeview-0.5.20/uulib/
H A Duucheck.c1174 _FP_free (unew); in UUInsertPartToList()
1181 _FP_free (unew); in UUInsertPartToList()
1192 _FP_free (unew); in UUInsertPartToList()
1197 unew->mimeid = NULL; in UUInsertPartToList()
1204 _FP_free (unew); in UUInsertPartToList()
1212 unew->binfile = NULL; in UUInsertPartToList()
1213 unew->thisfile = data; in UUInsertPartToList()
1219 unew->misparts = NULL; in UUInsertPartToList()
1220 unew->haveparts = NULL; in UUInsertPartToList()
1221 unew->NEXT = NULL; in UUInsertPartToList()
[all …]
/dports/news/golded+/golded-plus/golded+/goldlib/uulib/
H A Duucheck.cpp1173 _FP_free (unew); in UUInsertPartToList()
1180 _FP_free (unew); in UUInsertPartToList()
1191 _FP_free (unew); in UUInsertPartToList()
1196 unew->mimeid = NULL; in UUInsertPartToList()
1203 _FP_free (unew); in UUInsertPartToList()
1211 unew->binfile = NULL; in UUInsertPartToList()
1212 unew->thisfile = data; in UUInsertPartToList()
1218 unew->misparts = NULL; in UUInsertPartToList()
1219 unew->haveparts = NULL; in UUInsertPartToList()
1220 unew->NEXT = NULL; in UUInsertPartToList()
[all …]
/dports/converters/xdeview/uudeview-0.5.20/uulib/
H A Duucheck.c1174 _FP_free (unew); in UUInsertPartToList()
1181 _FP_free (unew); in UUInsertPartToList()
1192 _FP_free (unew); in UUInsertPartToList()
1197 unew->mimeid = NULL; in UUInsertPartToList()
1204 _FP_free (unew); in UUInsertPartToList()
1212 unew->binfile = NULL; in UUInsertPartToList()
1213 unew->thisfile = data; in UUInsertPartToList()
1219 unew->misparts = NULL; in UUInsertPartToList()
1220 unew->haveparts = NULL; in UUInsertPartToList()
1221 unew->NEXT = NULL; in UUInsertPartToList()
[all …]
/dports/news/nget/nget-0.27.1/uulib/
H A Duucheck.c1174 _FP_free (unew); in UUInsertPartToList()
1181 _FP_free (unew); in UUInsertPartToList()
1192 _FP_free (unew); in UUInsertPartToList()
1197 unew->mimeid = NULL; in UUInsertPartToList()
1204 _FP_free (unew); in UUInsertPartToList()
1212 unew->binfile = NULL; in UUInsertPartToList()
1213 unew->thisfile = data; in UUInsertPartToList()
1219 unew->misparts = NULL; in UUInsertPartToList()
1220 unew->haveparts = NULL; in UUInsertPartToList()
1221 unew->NEXT = NULL; in UUInsertPartToList()
[all …]
/dports/news/pan/pan-0.145/uulib/
H A Duucheck.c1174 _FP_free (unew); in UUInsertPartToList()
1181 _FP_free (unew); in UUInsertPartToList()
1192 _FP_free (unew); in UUInsertPartToList()
1197 unew->mimeid = NULL; in UUInsertPartToList()
1204 _FP_free (unew); in UUInsertPartToList()
1212 unew->binfile = NULL; in UUInsertPartToList()
1213 unew->thisfile = data; in UUInsertPartToList()
1219 unew->misparts = NULL; in UUInsertPartToList()
1220 unew->haveparts = NULL; in UUInsertPartToList()
1221 unew->NEXT = NULL; in UUInsertPartToList()
[all …]
/dports/math/casadi/casadi-3.5.5/external_packages/casadi-sundials/kinsol/
H A Dkinsol.c821 N_VDestroy(unew); in KINAllocVectors()
827 N_VDestroy(unew); in KINAllocVectors()
834 N_VDestroy(unew); in KINAllocVectors()
842 N_VDestroy(unew); in KINAllocVectors()
870 N_VDestroy(unew); in KINAllocVectors()
879 N_VDestroy(unew); in KINAllocVectors()
889 N_VDestroy(unew); in KINAllocVectors()
918 N_VDestroy(unew); in KINAllocVectors()
931 N_VDestroy(unew); in KINAllocVectors()
959 if (unew != NULL) N_VDestroy(unew); in KINFreeVectors()
[all …]
/dports/emulators/vice/vice-3.5/src/video/
H A Drender2x2pal.c260 const int32_t unew, const int32_t vnew, in get_yuv_from_video() argument
264 *u = (unew + line[0]) * off_flip; in get_yuv_from_video()
266 line[0] = unew; in get_yuv_from_video()
319 unew += cbtable[tmpsrc[3]]; in render_generic_2x2_pal()
321 line[0] = unew; in render_generic_2x2_pal()
323 unew -= cbtable[tmpsrc[0]]; in render_generic_2x2_pal()
388 unew -= cbtable[tmpsrc[0]]; in render_generic_2x2_pal()
397 unew += cbtable[tmpsrc[3]]; in render_generic_2x2_pal()
400 unew -= cbtable[tmpsrc[0]]; in render_generic_2x2_pal()
423 unew += cbtable[tmpsrc[3]]; in render_generic_2x2_pal()
[all …]

12345