Nektar++
|
Functions | |
template<class T > | |
void | Fill (int n, const T alpha, T *x, const int incx) |
Fill a vector with a constant value. | |
template void | Fill (int n, const Nektar::NekDouble alpha, Nektar::NekDouble *x, const int incx) |
template<class T > | |
T | ran2 (long *idum) |
Generates a number from ~Normal(0,1) | |
template<class T > | |
void | FillWhiteNoise (int n, const T eps, T *x, const int incx, int outseed) |
Fills a vector with white noise. | |
template void | FillWhiteNoise (int n, const Nektar::NekDouble eps, Nektar::NekDouble *x, const int incx, int outseed) |
template<class T > | |
void | Vmul (int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz) |
Multiply vector z = x*y. | |
template void | Vmul (int n, const Nektar::NekDouble *x, const int incx, const Nektar::NekDouble *y, const int incy, Nektar::NekDouble *z, const int incz) |
template<class T > | |
void | Smul (int n, const T alpha, const T *x, const int incx, T *y, const int incy) |
Scalar multiply y = alpha*y. | |
template void | Smul (int n, const Nektar::NekDouble alpha, const Nektar::NekDouble *x, const int incx, Nektar::NekDouble *y, const int incy) |
template<class T > | |
void | Vdiv (int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz) |
Multiply vector z = x/y. | |
template void | Vdiv (int n, const Nektar::NekDouble *x, const int incx, const Nektar::NekDouble *y, const int incy, Nektar::NekDouble *z, const int incz) |
template<class T > | |
void | Sdiv (int n, const T alpha, const T *x, const int incx, T *y, const int incy) |
Scalar multiply y = alpha/y. | |
template void | Sdiv (int n, const Nektar::NekDouble alpha, const Nektar::NekDouble *x, const int incx, Nektar::NekDouble *y, const int incy) |
template<class T > | |
void | Vadd (int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz) |
Add vector z = x+y. | |
template void | Vadd (int n, const Nektar::NekDouble *x, const int incx, const Nektar::NekDouble *y, const int incy, Nektar::NekDouble *z, const int incz) |
template<class T > | |
void | Sadd (int n, const T alpha, const T *x, const int incx, T *y, const int incy) |
Add vector y = alpha + x. | |
template void | Sadd (int n, const Nektar::NekDouble alpha, const Nektar::NekDouble *x, const int incx, Nektar::NekDouble *y, const int incy) |
template<class T > | |
void | Vsub (int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz) |
Subtract vector z = x-y. | |
template void | Vsub (int n, const Nektar::NekDouble *x, const int incx, const Nektar::NekDouble *y, const int incy, Nektar::NekDouble *z, const int incz) |
template<class T > | |
void | Zero (int n, T *x, const int incx) |
Zero vector. | |
template void | Zero (int n, Nektar::NekDouble *x, const int incx) |
template void | Zero (int n, int *x, const int incx) |
template void | Zero (int n, long *x, const int incx) |
template<class T > | |
void | Neg (int n, T *x, const int incx) |
Negate x = -x. | |
template void | Neg (int n, Nektar::NekDouble *x, const int incx) |
template<class T > | |
void | Vsqrt (int n, const T *x, const int incx, T *y, const int incy) |
sqrt y = sqrt(x) | |
template void | Vsqrt (int n, const Nektar::NekDouble *x, const int incx, Nektar::NekDouble *y, const int incy) |
template<class T > | |
void | Vabs (int n, const T *x, const int incx, T *y, const int incy) |
vabs: y = |x| | |
template void | Vabs (int n, const Nektar::NekDouble *x, const int incx, Nektar::NekDouble *y, const int incy) |
template<class T > | |
void | Vvtvp (int n, const T *w, const int incw, const T *x, const int incx, const T *y, const int incy, T *z, const int incz) |
vvtvp (vector times vector plus vector): z = w*x + y | |
template void | Vvtvp (int n, const Nektar::NekDouble *w, const int incw, const Nektar::NekDouble *x, const int incx, const Nektar::NekDouble *y, const int incy, Nektar::NekDouble *z, const int incz) |
template<class T > | |
void | Vvtvm (int n, const T *w, const int incw, const T *x, const int incx, const T *y, const int incy, T *z, const int incz) |
vvtvm (vector times vector plus vector): z = w*x - y | |
template void | Vvtvm (int n, const Nektar::NekDouble *w, const int incw, const Nektar::NekDouble *x, const int incx, const Nektar::NekDouble *y, const int incy, Nektar::NekDouble *z, const int incz) |
template<class T > | |
void | Svtvp (int n, const T alpha, const T *x, const int incx, const T *y, const int incy, T *z, const int incz) |
svtvp (scalar times vector plus vector): z = alpha*x + y | |
template void | Svtvp (int n, const Nektar::NekDouble alpha, const Nektar::NekDouble *x, const int incx, const Nektar::NekDouble *y, const int incy, Nektar::NekDouble *z, const int incz) |
template<class T > | |
void | Svtvm (int n, const T alpha, const T *x, const int incx, const T *y, const int incy, T *z, const int incz) |
svtvp (scalar times vector plus vector): z = alpha*x - y | |
template void | Svtvm (int n, const Nektar::NekDouble alpha, const Nektar::NekDouble *x, const int incx, const Nektar::NekDouble *y, const int incy, Nektar::NekDouble *z, const int incz) |
template<class T > | |
void | Vvtvvtp (int n, const T *v, int incv, const T *w, int incw, const T *x, int incx, const T *y, int incy, T *z, int incz) |
vvtvvtp (vector times vector plus vector times vector): | |
template void | Vvtvvtp (int n, const Nektar::NekDouble *v, int incv, const Nektar::NekDouble *w, int incw, const Nektar::NekDouble *x, int incx, const Nektar::NekDouble *y, int incy, Nektar::NekDouble *z, int incz) |
template<class T > | |
void | Vvtvvtm (int n, const T *v, int incv, const T *w, int incw, const T *x, int incx, const T *y, int incy, T *z, int incz) |
vvtvvtm (vector times vector minus vector times vector): | |
template void | Vvtvvtm (int n, const Nektar::NekDouble *v, int incv, const Nektar::NekDouble *w, int incw, const Nektar::NekDouble *x, int incx, const Nektar::NekDouble *y, int incy, Nektar::NekDouble *z, int incz) |
template<class T > | |
void | Svtsvtp (int n, const T alpha, const T *x, int incx, const T beta, const T *y, int incy, T *z, int incz) |
vvtvvtp (scalar times vector plus scalar times vector): | |
template void | Svtsvtp (int n, const Nektar::NekDouble alpha, const Nektar::NekDouble *x, int incx, const Nektar::NekDouble beta, const Nektar::NekDouble *y, int incy, Nektar::NekDouble *z, int incz) |
template<class T > | |
void | Vstvpp (int n, const T alpha, const T *v, int incv, const T *w, int incw, const T *x, int incx, T *z, int incz) |
Vstvpp (scalar times vector plus vector plus vector): | |
template void | Vstvpp (int n, const Nektar::NekDouble alpha, const Nektar::NekDouble *v, int incv, const Nektar::NekDouble *w, int incw, const Nektar::NekDouble *x, int incx, Nektar::NekDouble *z, int incz) |
template<class T > | |
void | Gathr (int n, const T *x, const int *y, T *z) |
Gather vector z[i] = x[y[i]]. | |
template void | Gathr (int n, const Nektar::NekDouble *x, const int *y, Nektar::NekDouble *z) |
template<class T > | |
void | Gathr (int n, const T *sign, const T *x, const int *y, T *z) |
Gather vector z[i] = sign[i]*x[y[i]]. | |
template void | Gathr (int n, const Nektar::NekDouble *sign, const Nektar::NekDouble *x, const int *y, Nektar::NekDouble *z) |
template<class T > | |
void | Scatr (int n, const T *x, const int *y, T *z) |
Scatter vector z[y[i]] = x[i]. | |
template void | Scatr (int n, const Nektar::NekDouble *x, const int *y, Nektar::NekDouble *z) |
template<class T > | |
void | Scatr (int n, const T *sign, const T *x, const int *y, T *z) |
Scatter vector z[y[i]] = sign[i]*x[i]. | |
template void | Scatr (int n, const Nektar::NekDouble *sign, const Nektar::NekDouble *x, const int *y, Nektar::NekDouble *z) |
template<class T > | |
void | Assmb (int n, const T *x, const int *y, T *z) |
Assemble z[y[i]] += x[i]; z should be zero'd first. | |
template void | Assmb (int n, const Nektar::NekDouble *x, const int *y, Nektar::NekDouble *z) |
template<class T > | |
void | Assmb (int n, const T *sign, const T *x, const int *y, T *z) |
Assemble z[y[i]] += sign[i]*x[i]; z should be zero'd first. | |
template void | Assmb (int n, const Nektar::NekDouble *sign, const Nektar::NekDouble *x, const int *y, Nektar::NekDouble *z) |
template<class T > | |
T | Vsum (int n, const T *x, const int incx) |
Subtract return sum(x) | |
template Nektar::NekDouble | Vsum (int n, const Nektar::NekDouble *x, const int incx) |
template int | Vsum (int n, const int *x, const int incx) |
template<class T > | |
int | Imax (int n, const T *x, const int incx) |
Return the index of the maximum element in x. | |
template int | Imax (int n, const Nektar::NekDouble *x, const int incx) |
template int | Imax (int n, const int *x, const int incx) |
template<class T > | |
T | Vmax (int n, const T *x, const int incx) |
Return the maximum element in x – called vmax to avoid conflict with max. | |
template Nektar::NekDouble | Vmax (int n, const Nektar::NekDouble *x, const int incx) |
template int | Vmax (int n, const int *x, const int incx) |
template<class T > | |
int | Iamax (int n, const T *x, const int incx) |
Return the index of the maximum absolute element in x. | |
template int | Iamax (int n, const Nektar::NekDouble *x, const int incx) |
template<class T > | |
T | Vamax (int n, const T *x, const int incx) |
Return the maximum absolute element in x called vamax to avoid conflict with max. | |
template Nektar::NekDouble | Vamax (int n, const Nektar::NekDouble *x, const int incx) |
template<class T > | |
int | Imin (int n, const T *x, const int incx) |
Return the index of the minimum element in x. | |
template int | Imin (int n, const Nektar::NekDouble *x, const int incx) |
template<class T > | |
T | Vmin (int n, const T *x, const int incx) |
Return the minimum element in x - called vmin to avoid conflict with min. | |
template Nektar::NekDouble | Vmin (int n, const Nektar::NekDouble *x, const int incx) |
template int | Vmin (int n, const int *x, const int incx) |
template<class T > | |
T | Dot (int n, const T *w, const T *x) |
vvtvp (vector times vector times vector): z = w*x*y | |
template Nektar::NekDouble | Dot (int n, const Nektar::NekDouble *w, const Nektar::NekDouble *x) |
template<class T > | |
T | Dot (int n, const T *w, const int incw, const T *x, const int incx) |
vvtvp (vector times vector times vector): z = w*x*y | |
template Nektar::NekDouble | Dot (int n, const Nektar::NekDouble *w, const int incw, const Nektar::NekDouble *x, const int incx) |
template<class T > | |
T | Dot2 (int n, const T *w, const T *x, const int *y) |
vvtvp (vector times vector times vector): z = w*x*y | |
template Nektar::NekDouble | Dot2 (int n, const Nektar::NekDouble *w, const Nektar::NekDouble *x, const int *y) |
template<class T > | |
T | Dot2 (int n, const T *w, const int incw, const T *x, const int incx, const int *y, const int incy) |
vvtvp (vector times vector times vector): z = w*x*y | |
template Nektar::NekDouble | Dot2 (int n, const Nektar::NekDouble *w, const int incw, const Nektar::NekDouble *x, const int incx, const int *y, const int incy) |
template<typename T > | |
void | Vcopy (int n, const T *x, const int incx, T *y, const int incy) |
template void | Vcopy (int n, const int *x, const int incx, int *y, const int incy) |
template void | Vcopy (int n, const unsigned int *x, const int incx, unsigned int *y, const int incy) |
template void | Vcopy (int n, const Nektar::NekDouble *x, const int incx, Nektar::NekDouble *y, const int incy) |
template<class T > | |
void | Reverse (int n, const T *x, const int incx, T *y, const int incy) |
template void | Reverse (int n, const Nektar::NekDouble *x, const int incx, Nektar::NekDouble *y, const int incy) |
template<class T > | |
void | Vlog (int n, const T *x, const int incx, T *y, const int incy) |
template<class T > | |
void | Vexp (int n, const T *x, const int incx, T *y, const int incy) |
template<class T > | |
void | Vpow (int n, const T *x, const int incx, const T f, T *y, const int incy) |
template<class T > | |
void | Fill (int n, const T alpha, Array< OneD, T > &x, const int incx) |
Fill a vector with a constant value. | |
template<class T > | |
void | FillWhiteNoise (int n, const T eps, Array< OneD, T > &x, const int incx, int outseed) |
template<class T > | |
void | Vmul (int n, const Array< OneD, const T > &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
Multiply vector z = x*y. | |
template<class T > | |
void | Vmul (int n, const Array< TwoD, NekDouble >::const_reference &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
template<class T > | |
void | Smul (int n, const T alpha, const Array< OneD, const T > &x, const int incx, Array< OneD, T > &y, const int incy) |
Scalar multiply y = alpha*y. | |
template<class T > | |
void | Vdiv (int n, const Array< OneD, const T > &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
Multiply vector z = x/y. | |
template<class T > | |
void | Sdiv (int n, const T alpha, const Array< OneD, const T > &x, const int incx, Array< OneD, T > &y, const int incy) |
Scalar multiply y = alpha/y. | |
template<class T > | |
void | Vadd (int n, const Array< OneD, const T > &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
Add vector z = x+y. | |
template<class T > | |
void | Sadd (int n, const T alpha, const Array< OneD, const T > &x, const int incx, Array< OneD, T > &y, const int incy) |
Add vector y = alpha + x. | |
template<class T > | |
void | Vsub (int n, const Array< OneD, const T > &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
Subtract vector z = x-y. | |
template<class T > | |
void | Zero (int n, Array< OneD, T > &x, const int incx) |
Zero vector. | |
template<class T > | |
void | Neg (int n, Array< OneD, T > &x, const int incx) |
Negate x = -x. | |
template<class T > | |
void | Vlog (int n, const Array< OneD, const T > &x, const int incx, Array< OneD, T > &y, const int incy) |
template<class T > | |
void | Vexp (int n, const Array< OneD, const T > &x, const int incx, Array< OneD, T > &y, const int incy) |
template<class T > | |
void | Vpow (int n, const Array< OneD, const T > &x, const int incx, const T f, Array< OneD, T > &y, const int incy) |
template<class T > | |
void | Vsqrt (int n, const Array< OneD, const T > &x, const int incx, Array< OneD, T > &y, const int incy) |
sqrt y = sqrt(x) | |
template<class T > | |
void | Vabs (int n, const Array< OneD, const T > &x, const int incx, Array< OneD, T > &y, const int incy) |
vabs: y = |x| | |
template<class T > | |
void | Vvtvp (int n, const Array< OneD, const T > &w, const int incw, const Array< OneD, const T > &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
vvtvp (vector times vector plus vector): z = w*x + y | |
template<class T > | |
void | Vvtvp (int n, const Array< TwoD, NekDouble >::const_reference &w, const int incw, const Array< OneD, const T > &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
template<class T > | |
void | Svtvp (int n, const T alpha, const Array< OneD, const T > &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
svtvp (scalar times vector plus vector): z = alpha*x + y | |
template<class T > | |
void | Svtvm (int n, const T alpha, const Array< OneD, const T > &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
svtvp (scalar times vector plus vector): z = alpha*x + y | |
template<class T > | |
void | Vvtvm (int n, const Array< OneD, const T > &w, const int incw, const Array< OneD, const T > &x, const int incx, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
vvtvm (vector times vector minus vector): z = w*x - y | |
template<class T > | |
void | Vvtvvtp (int n, const Array< OneD, const T > &v, int incv, const Array< OneD, const T > &w, int incw, const Array< OneD, const T > &x, int incx, const Array< OneD, const T > &y, int incy, Array< OneD, T > &z, int incz) |
vvtvvtp (vector times vector plus vector times vector): z = v*w + y*z | |
template<class T > | |
void | Svtsvtp (int n, const T alpha, const Array< OneD, const T > &x, const int incx, const T beta, const Array< OneD, const T > &y, const int incy, Array< OneD, T > &z, const int incz) |
svtsvtp (scalar times vector plus scalar times vector): z = alpha*x + beta*y | |
template<class T > | |
void | Gathr (int n, const Array< OneD, const T > &x, const Array< OneD, const int > &y, Array< OneD, T > &z) |
Gather vector z[i] = x[y[i]]. | |
template<class T > | |
void | Scatr (int n, const Array< OneD, const T > &x, const Array< OneD, const int > &y, Array< OneD, T > &z) |
Scatter vector z[y[i]] = x[i]. | |
template<class T > | |
void | Assmb (int n, const Array< OneD, T > &x, const Array< OneD, int > &y, Array< OneD, T > &z) |
Assemble z[y[i]] += x[i]; z should be zero'd first. | |
template<class T > | |
T | Vsum (int n, const Array< OneD, const T > &x, const int incx) |
Subtract return sum(x) | |
template<class T > | |
int | Imax (int n, const Array< OneD, const T > &x, const int incx) |
Return the index of the maximum element in x. | |
template<class T > | |
T | Vmax (int n, const Array< OneD, const T > &x, const int incx) |
Return the maximum element in x – called vmax to avoid conflict with max. | |
template<class T > | |
int | Iamax (int n, const Array< OneD, const T > &x, const int incx) |
Return the index of the maximum absolute element in x. | |
template<class T > | |
T | Vamax (int n, const Array< OneD, const T > &x, const int incx) |
Return the maximum absolute element in x called vamax to avoid conflict with max. | |
template<class T > | |
int | Imin (int n, const Array< OneD, const T > &x, const int incx) |
Return the index of the minimum element in x. | |
template<class T > | |
T | Vmin (int n, const Array< OneD, const T > &x, const int incx) |
Return the minimum element in x - called vmin to avoid conflict with min. | |
template<class T > | |
T | Dot (int n, const Array< OneD, const T > &w, const Array< OneD, const T > &x) |
template<class T > | |
T | Dot (int n, const Array< OneD, const T > &w, const int incw, const Array< OneD, const T > &x, const int incx) |
template<class T > | |
T | Dot2 (int n, const Array< OneD, const T > &w, const Array< OneD, const T > &x, const Array< OneD, const int > &y) |
template<class T > | |
T | Ddot (int n, const Array< OneD, const T > &w, const int incw, const Array< OneD, const T > &x, const int incx, const Array< OneD, const int > &y, const int incy) |
template<class T > | |
void | Vcopy (int n, const Array< OneD, const T > &x, int incx, Array< OneD, T > &y, int const incy) |
template<class T > | |
void | Reverse (int n, const Array< OneD, const T > &x, int incx, Array< OneD, T > &y, int const incy) |
void Vmath::Assmb | ( | int | n, |
const Array< OneD, T > & | x, | ||
const Array< OneD, int > & | y, | ||
Array< OneD, T > & | z | ||
) |
Assemble z[y[i]] += x[i]; z should be zero'd first.
Definition at line 317 of file VmathArray.hpp.
void Vmath::Assmb | ( | int | n, |
const T * | x, | ||
const int * | y, | ||
T * | z | ||
) |
Assemble z[y[i]] += x[i]; z should be zero'd first.
Definition at line 683 of file Vmath.cpp.
Referenced by Nektar::MultiRegions::AssemblyMap::AssembleBnd(), Assmb(), Nektar::MultiRegions::PreconditionerBlock::BlockPreconditioner2D(), Nektar::MultiRegions::PreconditionerBlock::BlockPreconditioner3D(), Nektar::MultiRegions::AssemblyMapCG::v_Assemble(), Nektar::MultiRegions::PreconditionerLowEnergy::v_BuildPreconditioner(), and Nektar::MultiRegions::PreconditionerLowEnergy::v_DoTransformFromLowEnergy().
template void Vmath::Assmb | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int * | y, | ||
Nektar::NekDouble * | z | ||
) |
void Vmath::Assmb | ( | int | n, |
const T * | sign, | ||
const T * | x, | ||
const int * | y, | ||
T * | z | ||
) |
template void Vmath::Assmb | ( | int | n, |
const Nektar::NekDouble * | sign, | ||
const Nektar::NekDouble * | x, | ||
const int * | y, | ||
Nektar::NekDouble * | z | ||
) |
T Vmath::Ddot | ( | int | n, |
const Array< OneD, const T > & | w, | ||
const int | incw, | ||
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const int > & | y, | ||
const int | incy | ||
) |
Definition at line 426 of file VmathArray.hpp.
References ASSERTL1, and Dot2().
Referenced by Nektar::SolverUtils::DriverModifiedArnoldi::v_Execute(), Nektar::LocalRegions::QuadExp::v_GetEdgeInterpVals(), Nektar::LocalRegions::SegExp::v_GetVertexPhysVals(), Nektar::StdRegions::StdTriExp::v_IProductWRTBase_SumFacKernel(), Nektar::StdRegions::StdQuadExp::v_IProductWRTBase_SumFacKernel(), Nektar::StdRegions::StdPrismExp::v_IProductWRTBase_SumFacKernel(), Nektar::StdRegions::StdTetExp::v_IProductWRTBase_SumFacKernel(), Nektar::StdRegions::StdExpansion0D::v_PhysEvaluate(), Nektar::StdRegions::StdExpansion1D::v_PhysEvaluate(), Nektar::StdRegions::StdExpansion2D::v_PhysEvaluate(), and Nektar::StdRegions::StdExpansion3D::v_PhysEvaluate().
T Vmath::Dot | ( | int | n, |
const T * | w, | ||
const T * | x | ||
) |
vvtvp (vector times vector times vector): z = w*x*y
Definition at line 865 of file Vmath.cpp.
Referenced by Dot(), Nektar::SolverUtils::DriverModifiedArnoldi::EV_big(), Nektar::SolverUtils::DriverModifiedArnoldi::EV_small(), Nektar::SolverUtils::DriverModifiedArnoldi::EV_test(), and Nektar::SolverUtils::DriverModifiedArnoldi::v_Execute().
template Nektar::NekDouble Vmath::Dot | ( | int | n, |
const Nektar::NekDouble * | w, | ||
const Nektar::NekDouble * | x | ||
) |
T Vmath::Dot | ( | int | n, |
const T * | w, | ||
const int | incw, | ||
const T * | x, | ||
const int | incx | ||
) |
template Nektar::NekDouble Vmath::Dot | ( | int | n, |
const Nektar::NekDouble * | w, | ||
const int | incw, | ||
const Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
T Vmath::Dot2 | ( | int | n, |
const Array< OneD, const T > & | w, | ||
const Array< OneD, const T > & | x, | ||
const Array< OneD, const int > & | y | ||
) |
Definition at line 413 of file VmathArray.hpp.
T Vmath::Dot2 | ( | int | n, |
const T * | w, | ||
const T * | x, | ||
const int * | y | ||
) |
vvtvp (vector times vector times vector): z = w*x*y
Definition at line 905 of file Vmath.cpp.
Referenced by Nektar::MultiRegions::GlobalLinSysIterative::CalculateAnorm(), Ddot(), Nektar::MultiRegions::GlobalLinSysIterative::DoAconjugateProjection(), Nektar::MultiRegions::GlobalLinSysIterative::DoConjugateGradient(), Dot2(), DBUtils::NormGlobalVector(), and Nektar::MultiRegions::GlobalLinSysIterative::UpdateKnownSolutions().
template Nektar::NekDouble Vmath::Dot2 | ( | int | n, |
const Nektar::NekDouble * | w, | ||
const Nektar::NekDouble * | x, | ||
const int * | y | ||
) |
T Vmath::Dot2 | ( | int | n, |
const T * | w, | ||
const int | incw, | ||
const T * | x, | ||
const int | incx, | ||
const int * | y, | ||
const int | incy | ||
) |
template Nektar::NekDouble Vmath::Dot2 | ( | int | n, |
const Nektar::NekDouble * | w, | ||
const int | incw, | ||
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
const int * | y, | ||
const int | incy | ||
) |
void Vmath::Fill | ( | int | n, |
const T | alpha, | ||
T * | x, | ||
const int | incx | ||
) |
Fill a vector with a constant value.
Definition at line 46 of file Vmath.cpp.
Referenced by Nektar::SpatialDomains::GeomFactors::Adjoint(), Nektar::VortexWaveInteraction::CalcL2ToLinfPressure(), CalcNonLinearForcing(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Fill(), Nektar::MultiRegions::ExpList1DHomogeneous2D::GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous2D::GetCoords(), Nektar::MultiRegions::ExpList2DHomogeneous1D::GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous1D::GetCoords(), Nektar::CompressibleFlowSystem::GetViscousFluxVector(), main(), Nektar::SubSteppingExtrapolate::SubStepExtrapolateField(), Nektar::LocalRegions::TriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::QuadExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::NodalTriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::PyrExp::v_ComputeFaceNormal(), Nektar::LocalRegions::TetExp::v_ComputeFaceNormal(), Nektar::LocalRegions::PrismExp::v_ComputeFaceNormal(), Nektar::LocalRegions::HexExp::v_ComputeFaceNormal(), Nektar::LocalRegions::PyrExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::TetExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::TriExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::HexExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::QuadExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::SegExp::v_ComputeVertexNormal(), Nektar::MultiRegions::DisContField2D::v_EvaluateBoundaryConditions(), Nektar::StdRegions::StdTriExp::v_FillMode(), Nektar::LocalRegions::Expansion3D::v_GenMatrix(), Nektar::LocalRegions::Expansion2D::v_GenMatrix(), Nektar::MultiRegions::ExpList1DHomogeneous2D::v_GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous2D::v_GetCoords(), Nektar::MultiRegions::ExpList2DHomogeneous1D::v_GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous1D::v_GetCoords(), Nektar::StdRegions::StdTriExp::v_GetCoords(), Nektar::StdRegions::StdQuadExp::v_GetCoords(), Nektar::LocalRegions::TetExp::v_IProductWRTDerivBase(), Nektar::LocalRegions::PrismExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::CellModelAlievPanfilov::v_SetInitialConditions(), Nektar::CellModelFitzHughNagumo::v_SetInitialConditions(), Nektar::TenTusscher06::v_SetInitialConditions(), Nektar::Fox02::v_SetInitialConditions(), Nektar::LuoRudy91::v_SetInitialConditions(), Nektar::FentonKarma::v_SetInitialConditions(), Nektar::Winslow99::v_SetInitialConditions(), Nektar::CourtemancheRamirezNattel98::v_SetInitialConditions(), and Nektar::MultiRegions::GlobalLinSysStaticCond::v_Solve().
void Vmath::Fill | ( | int | n, |
const T | alpha, | ||
Array< OneD, T > & | x, | ||
const int | incx | ||
) |
template void Vmath::Fill | ( | int | n, |
const Nektar::NekDouble | alpha, | ||
Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
void Vmath::FillWhiteNoise | ( | int | n, |
const T | eps, | ||
Array< OneD, T > & | x, | ||
const int | incx, | ||
int | outseed | ||
) |
Definition at line 56 of file VmathArray.hpp.
References ASSERTL1, and FillWhiteNoise().
void Vmath::FillWhiteNoise | ( | int | n, |
const T | eps, | ||
T * | x, | ||
const int | incx, | ||
int | outseed | ||
) |
Fills a vector with white noise.
Definition at line 137 of file Vmath.cpp.
Referenced by FillWhiteNoise(), Nektar::SolverUtils::DriverModifiedArnoldi::v_Execute(), Nektar::SolverUtils::ForcingNoise::v_InitObject(), Nektar::NavierStokesCFE::v_SetInitialConditions(), and Nektar::EulerCFE::v_SetInitialConditions().
template void Vmath::FillWhiteNoise | ( | int | n, |
const Nektar::NekDouble | eps, | ||
Nektar::NekDouble * | x, | ||
const int | incx, | ||
int | outseed | ||
) |
void Vmath::Gathr | ( | int | n, |
const T * | x, | ||
const int * | y, | ||
T * | z | ||
) |
Gather vector z[i] = x[y[i]].
Definition at line 627 of file Vmath.cpp.
Referenced by Gathr(), Nektar::MultiRegions::AssemblyMap::GlobalToLocalBnd(), Nektar::MultiRegions::AssemblyMap::GlobalToLocalBndWithoutSign(), Nektar::MultiRegions::GlobalLinSysXxt::GlobalToLocalNoSign(), Nektar::MultiRegions::PreconditionerLowEnergy::v_DoMultiplybyInverseTransformationMatrix(), Nektar::MultiRegions::PreconditionerLowEnergy::v_DoTransformToLowEnergy(), and Nektar::MultiRegions::AssemblyMapCG::v_GlobalToLocal().
template void Vmath::Gathr | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int * | y, | ||
Nektar::NekDouble * | z | ||
) |
void Vmath::Gathr | ( | int | n, |
const T * | sign, | ||
const T * | x, | ||
const int * | y, | ||
T * | z | ||
) |
template void Vmath::Gathr | ( | int | n, |
const Nektar::NekDouble * | sign, | ||
const Nektar::NekDouble * | x, | ||
const int * | y, | ||
Nektar::NekDouble * | z | ||
) |
int Vmath::Iamax | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx | ||
) |
int Vmath::Iamax | ( | int | n, |
const T * | x, | ||
const int | incx | ||
) |
template int Vmath::Iamax | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
int Vmath::Imax | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx | ||
) |
int Vmath::Imax | ( | int | n, |
const T * | x, | ||
const int | incx | ||
) |
Return the index of the maximum element in x.
Definition at line 729 of file Vmath.cpp.
Referenced by Nektar::IncNavierStokes::GetCFLEstimate(), Imax(), main(), Nektar::MultiRegions::AssemblyMapCG2D::SetUp2DGraphC0ContMap(), and Nektar::MultiRegions::AssemblyMapCG3D::SetUp3DExpansionC0ContMap().
template int Vmath::Imax | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
template int Vmath::Imax | ( | int | n, |
const int * | x, | ||
const int | incx | ||
) |
int Vmath::Imin | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx | ||
) |
int Vmath::Imin | ( | int | n, |
const T * | x, | ||
const int | incx | ||
) |
Return the index of the minimum element in x.
Definition at line 821 of file Vmath.cpp.
Referenced by DetermineclosePointxindex(), Findlay_eids(), Imin(), main(), MappingEVids(), MoveOutsidePointsNnormpos(), Orderfunctionx(), Nektar::VortexWaveInteraction::UpdateAlpha(), Nektar::VortexWaveInteraction::UpdateWaveForceMag(), Nektar::SpatialDomains::TetGeom::v_GetLocCoords(), Nektar::SpatialDomains::PrismGeom::v_GetLocCoords(), Nektar::SpatialDomains::HexGeom::v_GetLocCoords(), Nektar::SpatialDomains::QuadGeom::v_GetLocCoords(), and Nektar::SpatialDomains::TriGeom::v_GetLocCoords().
template int Vmath::Imin | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
void Vmath::Neg | ( | int | n, |
Array< OneD, T > & | x, | ||
const int | incx | ||
) |
void Vmath::Neg | ( | int | n, |
T * | x, | ||
const int | incx | ||
) |
Negate x = -x.
Definition at line 379 of file Vmath.cpp.
Referenced by Nektar::NonlinearSWE::AddCoriolis(), Nektar::LinearSWE::AddCoriolis(), Nektar::LocalRegions::Expansion2D::AddHDGHelmholtzEdgeTerms(), Nektar::LocalRegions::Expansion3D::AddHDGHelmholtzFaceTerms(), Nektar::LocalRegions::Expansion2D::AddNormTraceInt(), Nektar::LocalRegions::Expansion3D::AddNormTraceInt(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Nektar::AdvectionTerm::DoAdvection(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::PulseWavePropagation::DoOdeRhs(), Nektar::NonlinearSWE::DoOdeRhs(), Nektar::LinearSWE::DoOdeRhs(), Nektar::UnsteadyInviscidBurger::DoOdeRhs(), Nektar::NavierStokesCFE::DoOdeRhs(), Nektar::APE::DoOdeRhs(), Nektar::EulerCFE::DoOdeRhs(), Nektar::EulerADCFE::DoOdeRhs(), Nektar::UnsteadyAdvection::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::CFLtester::DoOdeRhs(), Nektar::MultiRegions::ContField2D::LaplaceSolve(), main(), Neg(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::SubSteppingExtrapolate::SubStepAdvection(), Nektar::LocalRegions::Expansion2D::v_AddEdgeNormBoundaryInt(), Nektar::SolverUtils::AdvectionWeakDG::v_Advect(), Nektar::AdjointAdvection::v_ComputeAdvectionTerm(), Nektar::LocalRegions::Expansion3D::v_DGDeriv(), Nektar::LocalRegions::Expansion2D::v_DGDeriv(), Nektar::SolverUtils::DiffusionLDG::v_Diffuse(), Nektar::SolverUtils::DiffusionLDGNS::v_Diffuse(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFRNS::v_DivCFlux_2D_Gauss(), Nektar::EigenValuesAdvection::v_DoSolve(), Nektar::LocalRegions::Expansion1D::v_GenMatrix(), Nektar::LocalRegions::Expansion3D::v_GenMatrix(), Nektar::LocalRegions::Expansion2D::v_GenMatrix(), Nektar::MultiRegions::DisContField3D::v_HelmSolve(), Nektar::MultiRegions::ContField3D::v_HelmSolve(), Nektar::MultiRegions::DisContField2D::v_HelmSolve(), Nektar::MultiRegions::ContField1D::v_HelmSolve(), Nektar::MultiRegions::ContField2D::v_HelmSolve(), Nektar::MultiRegions::DisContField1D::v_HelmSolve(), Nektar::ShallowWaterSystem::v_InitObject(), Nektar::MultiRegions::ContField2D::v_LinearAdvectionDiffusionReactionSolve(), Nektar::LocalRegions::Expansion2D::v_NegateEdgeNormal(), Nektar::StdRegions::StdExpansion3D::v_NegateFaceNormal(), Nektar::CellModelAlievPanfilov::v_Update(), Nektar::SolverUtils::FilterAeroForces::v_Update(), Nektar::NonlinearSWE::WallBoundary2D(), Nektar::LinearSWE::WallBoundary2D(), Nektar::CompressibleFlowSystem::WallViscousBC(), Nektar::SolverUtils::EquationSystem::WeakDGAdvection(), and Nektar::SolverUtils::EquationSystem::WeakDGDiffusion().
template void Vmath::Neg | ( | int | n, |
Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
T Vmath::ran2 | ( | long * | idum | ) |
Generates a number from ~Normal(0,1)
Definition at line 73 of file Vmath.cpp.
References AM, IA1, IA2, IM1, IM2, IMM1, IQ1, IQ2, IR1, IR2, NDIV, NTAB, and RNMX.
void Vmath::Reverse | ( | int | n, |
const Array< OneD, const T > & | x, | ||
int | incx, | ||
Array< OneD, T > & | y, | ||
int const | incy | ||
) |
Definition at line 448 of file VmathArray.hpp.
void Vmath::Reverse | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
T * | y, | ||
const int | incy | ||
) |
Definition at line 1036 of file Vmath.cpp.
Referenced by Reverse(), Nektar::LocalRegions::TriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::QuadExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::NodalTriExp::v_ComputeEdgeNormal(), Nektar::SolverUtils::DiffusionLFR::v_DerCFlux_2D(), Nektar::SolverUtils::DiffusionLFRNS::v_DerCFlux_2D(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_2D(), Nektar::SolverUtils::DiffusionLFR::v_DivCFlux_2D(), Nektar::SolverUtils::DiffusionLFRNS::v_DivCFlux_2D(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFRNS::v_DivCFlux_2D_Gauss(), Nektar::LocalRegions::TriExp::v_GetEdgePhysVals(), Nektar::LocalRegions::QuadExp::v_GetEdgePhysVals(), and Nektar::LocalRegions::QuadExp::v_GetEdgeQFactors().
template void Vmath::Reverse | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
Nektar::NekDouble * | y, | ||
const int | incy | ||
) |
void Vmath::Sadd | ( | int | n, |
const T | alpha, | ||
const T * | x, | ||
const int | incx, | ||
T * | y, | ||
const int | incy | ||
) |
Add vector y = alpha + x.
Definition at line 298 of file Vmath.cpp.
Referenced by Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), DetermineclosePointxindex(), Nektar::MultiRegions::ExpList1DHomogeneous2D::GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous2D::GetCoords(), Nektar::MultiRegions::ExpList2DHomogeneous1D::GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous1D::GetCoords(), Nektar::CompressibleFlowSystem::GetViscousFluxVectorDeAlias(), main(), MoveOutsidePointsNnormpos(), Sadd(), Nektar::MultiRegions::ExpList1DHomogeneous2D::v_GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous2D::v_GetCoords(), Nektar::MultiRegions::ExpList2DHomogeneous1D::v_GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous1D::v_GetCoords(), Nektar::SpatialDomains::TetGeom::v_GetLocCoords(), Nektar::SpatialDomains::PrismGeom::v_GetLocCoords(), Nektar::SpatialDomains::HexGeom::v_GetLocCoords(), Nektar::SpatialDomains::QuadGeom::v_GetLocCoords(), Nektar::SpatialDomains::TriGeom::v_GetLocCoords(), Nektar::FilterElectrogram::v_Initialise(), Nektar::Monodomain::v_InitObject(), Nektar::StdRegions::StdTetExp::v_PhysDeriv(), Nektar::CellModelAlievPanfilov::v_Update(), Nektar::CellModelFitzHughNagumo::v_Update(), and Nektar::CourtemancheRamirezNattel98::v_Update().
template void Vmath::Sadd | ( | int | n, |
const Nektar::NekDouble | alpha, | ||
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
Nektar::NekDouble * | y, | ||
const int | incy | ||
) |
void Vmath::Scatr | ( | int | n, |
const T * | x, | ||
const int * | y, | ||
T * | z | ||
) |
Scatter vector z[y[i]] = x[i].
Definition at line 656 of file Vmath.cpp.
Referenced by Nektar::MultiRegions::AssemblyMap::LocalBndToGlobal(), Nektar::MultiRegions::GlobalLinSysXxt::LocalToGlobalNoSign(), Scatr(), and Nektar::MultiRegions::AssemblyMapCG::v_LocalToGlobal().
template void Vmath::Scatr | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int * | y, | ||
Nektar::NekDouble * | z | ||
) |
void Vmath::Scatr | ( | int | n, |
const T * | sign, | ||
const T * | x, | ||
const int * | y, | ||
T * | z | ||
) |
template void Vmath::Scatr | ( | int | n, |
const Nektar::NekDouble * | sign, | ||
const Nektar::NekDouble * | x, | ||
const int * | y, | ||
Nektar::NekDouble * | z | ||
) |
void Vmath::Sdiv | ( | int | n, |
const T | alpha, | ||
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
Array< OneD, T > & | y, | ||
const int | incy | ||
) |
Scalar multiply y = alpha/y.
Definition at line 104 of file VmathArray.hpp.
void Vmath::Sdiv | ( | int | n, |
const T | alpha, | ||
const T * | x, | ||
const int | incx, | ||
T * | y, | ||
const int | incy | ||
) |
Scalar multiply y = alpha/y.
Definition at line 254 of file Vmath.cpp.
Referenced by Nektar::MultiRegions::PreconditionerLowEnergy::CreateMultiplicityMap(), Nektar::MultiRegions::PreconditionerDiagonal::DiagonalPreconditionerSum(), main(), Sdiv(), Nektar::MultiRegions::PreconditionerDiagonal::StaticCondDiagonalPreconditionerSum(), Nektar::CellModel::TimeIntegrate(), Nektar::LocalRegions::TriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::QuadExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::NodalTriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::PyrExp::v_ComputeFaceNormal(), Nektar::LocalRegions::TetExp::v_ComputeFaceNormal(), Nektar::LocalRegions::PrismExp::v_ComputeFaceNormal(), Nektar::LocalRegions::HexExp::v_ComputeFaceNormal(), Nektar::FilterElectrogram::v_Initialise(), and Nektar::CourtemancheRamirezNattel98::v_Update().
template void Vmath::Sdiv | ( | int | n, |
const Nektar::NekDouble | alpha, | ||
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
Nektar::NekDouble * | y, | ||
const int | incy | ||
) |
void Vmath::Smul | ( | int | n, |
const T | alpha, | ||
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
Array< OneD, T > & | y, | ||
const int | incy | ||
) |
Scalar multiply y = alpha*y.
Definition at line 84 of file VmathArray.hpp.
void Vmath::Smul | ( | int | n, |
const T | alpha, | ||
const T * | x, | ||
const int | incx, | ||
T * | y, | ||
const int | incy | ||
) |
Scalar multiply y = alpha*y.
Definition at line 196 of file Vmath.cpp.
Referenced by Nektar::NonlinearSWE::AddVariableDepth(), Nektar::SpatialDomains::GeomFactors::Adjoint(), Nektar::PulseWaveSystem::CalcCharacteristicVariables(), CalcNonLinearForcing(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Nektar::Extrapolate::CalcOutflowBCs(), Nektar::LibUtilities::GaussPoints::CalculateGalerkinProjectionMatrix(), Computestreakpositions(), Nektar::CoupledLinearNS::Continuation(), Nektar::Extrapolate::CurlCurl(), Nektar::AdjointAdvection::DFT(), Nektar::LinearisedAdvection::DFT(), Diffusion::DoImplicitSolve(), Nektar::Bidomain::DoImplicitSolve(), Nektar::Monodomain::DoImplicitSolve(), Nektar::UnsteadyDiffusion::DoImplicitSolve(), Nektar::UnsteadyAdvectionDiffusion::DoImplicitSolve(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::Bidomain::DoOdeRhs(), Nektar::EulerADCFE::DoOdeRhs(), Nektar::SolverUtils::DriverModifiedArnoldi::EV_big(), Nektar::SolverUtils::DriverModifiedArnoldi::EV_small(), Nektar::CoupledLinearNS::EvaluateNewtonRHS(), Nektar::Extrapolate::EvaluatePressureBCs(), Nektar::VortexWaveInteraction::ExecuteRoll(), Extractlayerdata(), Nektar::VortexWaveInteraction::FileRelaxation(), Nektar::MultiRegions::ExpList1DHomogeneous2D::GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous2D::GetCoords(), Nektar::MultiRegions::ExpList2DHomogeneous1D::GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous1D::GetCoords(), Nektar::UnsteadyInviscidBurger::GetFluxVector(), Nektar::NonlinearSWE::GetFluxVector(), Nektar::LinearSWE::GetFluxVector(), Nektar::UnsteadyInviscidBurger::GetNormalVelocity(), Nektar::CompressibleFlowSystem::GetPressure(), Nektar::CompressibleFlowSystem::GetViscousFluxVector(), Nektar::CompressibleFlowSystem::GetViscousFluxVectorDeAlias(), Nektar::LocalRegions::NodalTriExp::Integral(), Nektar::LocalRegions::HexExp::IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::NodalTriExp::IProductWRTDerivBase_SumFac(), main(), Nektar::SolverUtils::FilterAverageFields::OutputAvgField(), Nektar::LocalRegions::NodalTriExp::PhysDeriv(), Nektar::Utilities::ProcessQCriterion::Process(), Nektar::Utilities::ProcessScaleInFld::Process(), Nektar::Utilities::ProcessAddFld::Process(), Nektar::LibUtilities::NekFFTW::Reshuffle_Nek2FFTW(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::VelocityCorrectionScheme::SetUpPressureForcing(), Smul(), Nektar::APEUpwindSolver::Solve1D(), Nektar::CoupledLinearNS::SolveUnsteadyStokesSystem(), Nektar::SubSteppingExtrapolate::SubStepExtrapolateField(), Nektar::CompressibleFlowSystem::SymmetryBC(), Nektar::LibUtilities::TimeIntegrationScheme::TimeIntegrate(), Nektar::MultiRegions::GlobalLinSysIterative::UpdateKnownSolutions(), Nektar::SolverUtils::ForcingSponge::v_Apply(), Nektar::SkewSymmetricAdvection::v_ComputeAdvectionTerm(), Nektar::LocalRegions::TriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::QuadExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::NodalTriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::PyrExp::v_ComputeFaceNormal(), Nektar::LocalRegions::TetExp::v_ComputeFaceNormal(), Nektar::LocalRegions::PrismExp::v_ComputeFaceNormal(), Nektar::LocalRegions::HexExp::v_ComputeFaceNormal(), Nektar::LocalRegions::TriExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::SegExp::v_ComputeVertexNormal(), Nektar::SolverUtils::DiffusionLFR::v_DerCFlux_1D(), Nektar::SolverUtils::DiffusionLFRNS::v_DerCFlux_1D(), Nektar::SolverUtils::DiffusionLFR::v_DerCFlux_2D(), Nektar::SolverUtils::DiffusionLFRNS::v_DerCFlux_2D(), Nektar::SolverUtils::Diffusion3DHomogeneous1D::v_Diffuse(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_1D(), Nektar::MultiRegions::Preconditioner::v_DoTransformFromLowEnergy(), Nektar::SolverUtils::DriverModifiedArnoldi::v_Execute(), Nektar::MultiRegions::ExpList1DHomogeneous2D::v_GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous2D::v_GetCoords(), Nektar::MultiRegions::ExpList2DHomogeneous1D::v_GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous1D::v_GetCoords(), Nektar::APE::v_GetFluxVector(), Nektar::Monodomain::v_InitObject(), Nektar::StdRegions::StdTriExp::v_Integral(), Nektar::LocalRegions::TetExp::v_Integral(), Nektar::LocalRegions::PrismExp::v_Integral(), Nektar::LocalRegions::SegExp::v_Integral(), Nektar::LocalRegions::PyrExp::v_Integral(), Nektar::LocalRegions::QuadExp::v_Integral(), Nektar::LocalRegions::TriExp::v_Integral(), Nektar::LocalRegions::HexExp::v_Integral(), Nektar::LocalRegions::PyrExp::v_IProductWRTBase(), Nektar::LocalRegions::SegExp::v_IProductWRTBase(), Nektar::LocalRegions::TetExp::v_IProductWRTDerivBase(), Nektar::LocalRegions::SegExp::v_IProductWRTDerivBase(), Nektar::LocalRegions::PrismExp::v_IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::TriExp::v_IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::QuadExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdTriExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdPrismExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdTetExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdPyrExp::v_IProductWRTDerivBase_SumFac(), Nektar::SubSteppingExtrapolate::v_MountHOPBCs(), Nektar::StdRegions::StdHexExp::v_MultiplyByStdQuadratureMetric(), Nektar::SolverUtils::DiffusionLDG::v_NumFluxforVector(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforVector(), Nektar::StdRegions::StdPrismExp::v_PhysDeriv(), Nektar::LocalRegions::SegExp::v_PhysDeriv(), Nektar::LocalRegions::TetExp::v_PhysDeriv(), Nektar::LocalRegions::PrismExp::v_PhysDeriv(), Nektar::LocalRegions::PyrExp::v_PhysDeriv(), Nektar::LocalRegions::TriExp::v_PhysDeriv(), Nektar::LocalRegions::QuadExp::v_PhysDeriv(), Nektar::StdRegions::StdTetExp::v_PhysDeriv(), Nektar::LocalRegions::HexExp::v_PhysDeriv(), Nektar::MultiRegions::ExpListHomogeneous2D::v_PhysDeriv(), Nektar::MultiRegions::ExpListHomogeneous1D::v_PhysDeriv(), Nektar::LocalRegions::SegExp::v_PhysDeriv_s(), Nektar::CellModelAlievPanfilov::v_Update(), Nektar::CellModelFitzHughNagumo::v_Update(), Nektar::SolverUtils::FilterAeroForces::v_Update(), Nektar::CourtemancheRamirezNattel98::v_Update(), Nektar::SolverUtils::DiffusionLDGNS::v_WeakPenaltyO1(), Nektar::SolverUtils::DiffusionLFRNS::v_WeakPenaltyO1(), Nektar::APE::WallBC(), Nektar::CompressibleFlowSystem::WallBC(), Nektar::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), and Nektar::CompressibleFlowSystem::WallViscousBC().
template void Vmath::Smul | ( | int | n, |
const Nektar::NekDouble | alpha, | ||
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
Nektar::NekDouble * | y, | ||
const int | incy | ||
) |
void Vmath::Svtsvtp | ( | int | n, |
const T | alpha, | ||
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const T | beta, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
svtsvtp (scalar times vector plus scalar times vector): z = alpha*x + beta*y
Definition at line 281 of file VmathArray.hpp.
void Vmath::Svtsvtp | ( | int | n, |
const T | alpha, | ||
const T * | x, | ||
int | incx, | ||
const T | beta, | ||
const T * | y, | ||
int | incy, | ||
T * | z, | ||
int | incz | ||
) |
vvtvvtp (scalar times vector plus scalar times vector):
Svtsvtp (scalar times vector plus scalar times vector):
Definition at line 574 of file Vmath.cpp.
Referenced by main(), Svtsvtp(), Nektar::LocalRegions::PyrExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::TetExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::PrismExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::TriExp::v_NormVectorIProductWRTBase(), Nektar::LocalRegions::QuadExp::v_NormVectorIProductWRTBase(), and Nektar::CourtemancheRamirezNattel98::v_Update().
template void Vmath::Svtsvtp | ( | int | n, |
const Nektar::NekDouble | alpha, | ||
const Nektar::NekDouble * | x, | ||
int | incx, | ||
const Nektar::NekDouble | beta, | ||
const Nektar::NekDouble * | y, | ||
int | incy, | ||
Nektar::NekDouble * | z, | ||
int | incz | ||
) |
void Vmath::Svtvm | ( | int | n, |
const T | alpha, | ||
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
svtvp (scalar times vector plus vector): z = alpha*x + y
Definition at line 240 of file VmathArray.hpp.
void Vmath::Svtvm | ( | int | n, |
const T | alpha, | ||
const T * | x, | ||
const int | incx, | ||
const T * | y, | ||
const int | incy, | ||
T * | z, | ||
const int | incz | ||
) |
svtvp (scalar times vector plus vector): z = alpha*x - y
Definition at line 501 of file Vmath.cpp.
Referenced by Svtvm(), and Nektar::CourtemancheRamirezNattel98::v_Update().
template void Vmath::Svtvm | ( | int | n, |
const Nektar::NekDouble | alpha, | ||
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
const Nektar::NekDouble * | y, | ||
const int | incy, | ||
Nektar::NekDouble * | z, | ||
const int | incz | ||
) |
void Vmath::Svtvp | ( | int | n, |
const T | alpha, | ||
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
svtvp (scalar times vector plus vector): z = alpha*x + y
Definition at line 229 of file VmathArray.hpp.
void Vmath::Svtvp | ( | int | n, |
const T | alpha, | ||
const T * | x, | ||
const int | incx, | ||
const T * | y, | ||
const int | incy, | ||
T * | z, | ||
const int | incz | ||
) |
svtvp (scalar times vector plus vector): z = alpha*x + y
Definition at line 468 of file Vmath.cpp.
Referenced by Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Nektar::Extrapolate::CalcOutflowBCs(), Nektar::MultiRegions::GlobalLinSysIterative::DoConjugateGradient(), Nektar::SolverUtils::DriverModifiedArnoldi::EV_big(), Nektar::SolverUtils::DriverModifiedArnoldi::EV_small(), Nektar::Extrapolate::EvaluatePressureBCs(), Nektar::SolverUtils::DriverSteadyState::ExactFilters(), Nektar::VortexWaveInteraction::FileRelaxation(), Nektar::CompressibleFlowSystem::GetPressure(), Nektar::StdRegions::StdExpansion::LinearAdvectionDiffusionReactionMatrixOp_MatFree(), main(), Svtvp(), Nektar::CellModel::TimeIntegrate(), Nektar::LibUtilities::TimeIntegrationScheme::TimeIntegrate(), Nektar::AdjointAdvection::UpdateBase(), Nektar::LinearisedAdvection::UpdateBase(), Nektar::LocalRegions::PyrExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::TetExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::TriExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::Expansion3D::v_GenMatrix(), Nektar::LocalRegions::Expansion2D::v_GenMatrix(), Nektar::StdRegions::StdExpansion2D::v_HelmholtzMatrixOp_MatFree(), Nektar::StdRegions::StdExpansion3D::v_HelmholtzMatrixOp_MatFree(), Nektar::LocalRegions::PrismExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::StandardExtrapolate::v_MountHOPBCs(), Nektar::LocalRegions::TriExp::v_NormVectorIProductWRTBase(), Nektar::LocalRegions::QuadExp::v_NormVectorIProductWRTBase(), Nektar::SolverUtils::DiffusionLDGNS::v_NumericalFluxO1(), Nektar::SolverUtils::DiffusionLDGNS::v_NumericalFluxO2(), Nektar::SolverUtils::DiffusionLDG::v_NumFluxforScalar(), Nektar::SolverUtils::DiffusionLFR::v_NumFluxforScalar(), Nektar::SolverUtils::DiffusionLDG::v_NumFluxforVector(), Nektar::SolverUtils::DiffusionLFR::v_NumFluxforVector(), Nektar::StdRegions::StdPrismExp::v_PhysDeriv(), Nektar::CellModelAlievPanfilov::v_Update(), Nektar::CellModelFitzHughNagumo::v_Update(), and Nektar::CourtemancheRamirezNattel98::v_Update().
template void Vmath::Svtvp | ( | int | n, |
const Nektar::NekDouble | alpha, | ||
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
const Nektar::NekDouble * | y, | ||
const int | incy, | ||
Nektar::NekDouble * | z, | ||
const int | incz | ||
) |
void Vmath::Vabs | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
T * | y, | ||
const int | incy | ||
) |
vabs: y = |x|
Definition at line 407 of file Vmath.cpp.
Referenced by DetermineclosePointxindex(), Nektar::StdRegions::StdExpansion::Linf(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), and Vabs().
template void Vmath::Vabs | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
Nektar::NekDouble * | y, | ||
const int | incy | ||
) |
void Vmath::Vadd | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
Add vector z = x+y.
Definition at line 113 of file VmathArray.hpp.
References ASSERTL1, and Vadd().
void Vmath::Vadd | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
const T * | y, | ||
const int | incy, | ||
T * | z, | ||
const int | incz | ||
) |
Add vector z = x+y.
Definition at line 282 of file Vmath.cpp.
Referenced by Nektar::NekMatrix< DataType, StandardMatrixTag >::AbsMaxtoMinEigenValueRatio(), Nektar::NonlinearSWE::AddCoriolis(), Nektar::LinearSWE::AddCoriolis(), Nektar::APE::AddSource(), Nektar::NonlinearSWE::AddVariableDepth(), Nektar::PulseWaveSystem::CalcCharacteristicVariables(), CalcNonLinearForcing(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Nektar::Extrapolate::CalcOutflowBCs(), Computestreakpositions(), Nektar::CoupledLinearNS::Continuation(), Nektar::Extrapolate::CurlCurl(), Nektar::Bidomain::DoImplicitSolve(), Nektar::NonlinearSWE::DoOdeRhs(), Nektar::LinearSWE::DoOdeRhs(), Nektar::Bidomain::DoOdeRhs(), Nektar::NavierStokesCFE::DoOdeRhs(), Nektar::APE::DoOdeRhs(), Nektar::EulerADCFE::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::MultiRegions::DisContField3D::EvaluateHDGPostProcessing(), Nektar::MultiRegions::DisContField2D::EvaluateHDGPostProcessing(), Nektar::CoupledLinearNS::EvaluateNewtonRHS(), Nektar::NonlinearSWE::GetFluxVector(), Nektar::LinearSWE::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVectorDeAlias(), Nektar::CompressibleFlowSystem::GetViscousFluxVector(), Nektar::CompressibleFlowSystem::GetViscousFluxVectorDeAlias(), Nektar::LocalRegions::HexExp::IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::NodalTriExp::IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdExpansion::LaplacianMatrixOp_MatFree_GenericImpl(), Nektar::StdRegions::StdExpansion::LinearAdvectionDiffusionReactionMatrixOp_MatFree(), main(), MoveOutsidePointsNnormpos(), Nektar::NonlinearSWE::PrimitiveToConservative(), Nektar::LinearSWE::PrimitiveToConservative(), Nektar::Utilities::ProcessQCriterion::Process(), Nektar::Utilities::ProcessAddFld::Process(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), Nektar::VelocityCorrectionScheme::SetUpPressureForcing(), Nektar::CoupledLinearNS::SolveSteadyNavierStokes(), Nektar::SolverUtils::AdvectionWeakDG::v_Advect(), Nektar::SolverUtils::Advection3DHomogeneous1D::v_Advect(), Nektar::SolverUtils::AdvectionFR::v_Advect(), Nektar::SolverUtils::ForcingBody::v_Apply(), Nektar::SolverUtils::ForcingNoise::v_Apply(), Nektar::SolverUtils::ForcingSponge::v_Apply(), Nektar::SolverUtils::ForcingProgrammatic::v_Apply(), Nektar::SkewSymmetricAdvection::v_ComputeAdvectionTerm(), Nektar::NavierStokesAdvection::v_ComputeAdvectionTerm(), Nektar::LinearisedAdvection::v_ComputeAdvectionTerm(), Nektar::LocalRegions::TetExp::v_ComputeLaplacianMetric(), Nektar::SolverUtils::DiffusionLFR::v_DerCFlux_1D(), Nektar::SolverUtils::DiffusionLFRNS::v_DerCFlux_1D(), Nektar::SolverUtils::DiffusionLFR::v_DerCFlux_2D(), Nektar::SolverUtils::DiffusionLFRNS::v_DerCFlux_2D(), Nektar::SolverUtils::DiffusionLDG::v_Diffuse(), Nektar::SolverUtils::Diffusion3DHomogeneous1D::v_Diffuse(), Nektar::SolverUtils::DiffusionLDGNS::v_Diffuse(), Nektar::SolverUtils::DiffusionLFR::v_Diffuse(), Nektar::SolverUtils::DiffusionLFRNS::v_Diffuse(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_1D(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_2D(), Nektar::SolverUtils::DiffusionLFR::v_DivCFlux_2D(), Nektar::SolverUtils::DiffusionLFRNS::v_DivCFlux_2D(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFRNS::v_DivCFlux_2D_Gauss(), Nektar::MultiRegions::GlobalLinSysIterativeFull::v_DoMatrixMultiply(), Nektar::MultiRegions::PreconditionerLinearWithLowEnergy::v_DoPreconditioner(), Nektar::APE::v_GetFluxVector(), Nektar::MultiRegions::ContField3D::v_HelmSolve(), Nektar::MultiRegions::ContField2D::v_HelmSolve(), Nektar::Bidomain::v_InitObject(), Nektar::LocalRegions::TetExp::v_IProductWRTDerivBase(), Nektar::LocalRegions::PrismExp::v_IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::TriExp::v_IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::QuadExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdTriExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdPrismExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdTetExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdPyrExp::v_IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::PyrExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::PrismExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::TetExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::TriExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::QuadExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::HexExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::MultiRegions::ContField2D::v_LinearAdvectionDiffusionReactionSolve(), Nektar::SolverUtils::DiffusionLDGNS::v_NumericalFluxO2(), Nektar::SolverUtils::DiffusionLFRNS::v_NumericalFluxO2(), Nektar::SolverUtils::DiffusionLDG::v_NumFluxforVector(), Nektar::SolverUtils::DiffusionLFR::v_NumFluxforVector(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforVector(), Nektar::StdRegions::StdTetExp::v_PhysDeriv(), Nektar::LocalRegions::SegExp::v_PhysDeriv_n(), Nektar::NonlinearSWE::v_PrimitiveToConservative(), Nektar::LinearSWE::v_PrimitiveToConservative(), Nektar::NavierStokesCFE::v_SetInitialConditions(), Nektar::EulerCFE::v_SetInitialConditions(), Nektar::MultiRegions::GlobalLinSysDirectFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysXxtFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysIterativeFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysPETScFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysStaticCond::v_Solve(), Nektar::CellModelAlievPanfilov::v_Update(), Nektar::SolverUtils::FilterAverageFields::v_Update(), Nektar::CourtemancheRamirezNattel98::v_Update(), Nektar::SolverUtils::FilterAeroForces::v_Update(), Nektar::SolverUtils::FilterModalEnergy::v_Update(), Nektar::SolverUtils::DiffusionLDGNS::v_WeakPenaltyO1(), Nektar::SolverUtils::DiffusionLFRNS::v_WeakPenaltyO1(), Vadd(), Nektar::SolverUtils::EquationSystem::WeakAdvectionDivergenceForm(), Nektar::SolverUtils::EquationSystem::WeakAdvectionGreensDivergenceForm(), and Nektar::SolverUtils::EquationSystem::WeakDGDiffusion().
template void Vmath::Vadd | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
const Nektar::NekDouble * | y, | ||
const int | incy, | ||
Nektar::NekDouble * | z, | ||
const int | incz | ||
) |
T Vmath::Vamax | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx | ||
) |
T Vmath::Vamax | ( | int | n, |
const T * | x, | ||
const int | incx | ||
) |
Return the maximum absolute element in x called vamax to avoid conflict with max.
Definition at line 799 of file Vmath.cpp.
Referenced by Nektar::StdRegions::StdExpansion::Linf(), and Vamax().
template Nektar::NekDouble Vmath::Vamax | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
void Vmath::Vcopy | ( | int | n, |
const Array< OneD, const T > & | x, | ||
int | incx, | ||
Array< OneD, T > & | y, | ||
int const | incy | ||
) |
Definition at line 440 of file VmathArray.hpp.
void Vmath::Vcopy | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
T * | y, | ||
const int | incy | ||
) |
Definition at line 1012 of file Vmath.cpp.
Referenced by Nektar::LocalRegions::Expansion2D::AddHDGHelmholtzTraceTerms(), Nektar::SpatialDomains::GeomFactors::Adjoint(), Nektar::MultiRegions::AssemblyMap::AssembleBnd(), CalcNonLinearForcing(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Nektar::Extrapolate::CalcOutflowBCs(), Computestreakpositions(), Nektar::NonlinearSWE::ConservativeToPrimitive(), Nektar::LinearSWE::ConservativeToPrimitive(), Nektar::SolverUtils::DriverArnoldi::CopyArnoldiArrayToField(), Nektar::ShallowWaterSystem::CopyBoundaryTrace(), Nektar::SolverUtils::DriverArnoldi::CopyFieldToArnoldiArray(), Nektar::SolverUtils::EquationSystem::CopyFromPhysField(), Nektar::SolverUtils::DriverArnoldi::CopyFwdToAdj(), Nektar::SolverUtils::EquationSystem::CopyToPhysField(), Nektar::StdRegions::StdExpansion::CreateGeneralMatrix(), Cutrepetitions(), DetermineclosePointxindex(), Nektar::AdjointAdvection::DFT(), Nektar::LinearisedAdvection::DFT(), Nektar::MultiRegions::GlobalLinSysIterative::DoAconjugateProjection(), Nektar::Bidomain::DoImplicitSolve(), Nektar::PulseWavePropagation::DoOdeProjection(), Nektar::ImageWarpingSystem::DoOdeProjection(), Nektar::NonlinearSWE::DoOdeProjection(), Nektar::LinearSWE::DoOdeProjection(), Nektar::UnsteadyInviscidBurger::DoOdeProjection(), Nektar::UnsteadyDiffusion::DoOdeProjection(), Nektar::NavierStokesCFE::DoOdeProjection(), Nektar::APE::DoOdeProjection(), Nektar::EulerCFE::DoOdeProjection(), Nektar::EulerADCFE::DoOdeProjection(), Nektar::UnsteadyAdvection::DoOdeProjection(), Nektar::UnsteadyAdvectionDiffusion::DoOdeProjection(), Nektar::CFLtester::DoOdeProjection(), Nektar::NavierStokesCFE::DoOdeRhs(), Nektar::APE::DoOdeRhs(), Nektar::NekMatrix< DataType, StandardMatrixTag >::EigenSolve(), Nektar::SolverUtils::DriverModifiedArnoldi::EV_sort(), Nektar::MultiRegions::DisContField3D::EvaluateHDGPostProcessing(), Nektar::MultiRegions::DisContField2D::EvaluateHDGPostProcessing(), Nektar::Extrapolate::EvaluatePressureBCs(), Nektar::VortexWaveInteraction::ExecuteRoll(), Extractlayerdata(), Nektar::VortexWaveInteraction::FileRelaxation(), Nektar::LibUtilities::Basis::GenBasis(), Nektar::LocalRegions::NodalTriExp::GeneralMatrixOp_MatOp(), Nektar::LocalRegions::TetExp::GeneralMatrixOp_MatOp(), GenerateCurve(), GenerateNeighbourArrays(), Nektar::MultiRegions::DisContField3DHomogeneous2D::GetBoundaryToElmtMap(), Nektar::MultiRegions::DisContField3DHomogeneous1D::GetBoundaryToElmtMap(), Nektar::MultiRegions::ExpList2DHomogeneous1D::GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous1D::GetCoords(), Nektar::EulerCFE::GetExactIsentropicVortex(), Nektar::MultiRegions::ExpList::GetExpIndex(), Nektar::UnsteadyDiffusion::GetFluxVector(), Nektar::NonlinearSWE::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVector(), Nektar::UnsteadyAdvectionDiffusion::GetFluxVectorDiff(), Nektar::LinearSWE::GetVelocityVector(), Nektar::CompressibleFlowSystem::GetViscousFluxVector(), Nektar::CompressibleFlowSystem::GetViscousFluxVectorDeAlias(), Nektar::MultiRegions::AssemblyMap::GlobalToLocalBnd(), Nektar::StdRegions::StdExpansion::H1(), Nektar::MultiRegions::ExpListHomogeneous1D::Homogeneous1DTrans(), Nektar::AdjointAdvection::ImportFldBase(), Nektar::LinearisedAdvection::ImportFldBase(), Nektar::LibUtilities::Interp1D(), Nektar::LibUtilities::Interp2D(), Nektar::LibUtilities::InterpCoeff1D(), Nektar::LibUtilities::InterpCoeff2D(), Nektar::MultiRegions::DisContField2D::L2_DGDeriv(), Nektar::StdRegions::StdExpansion::LaplacianMatrixOp_MatFree_GenericImpl(), Nektar::MultiRegions::AssemblyMap::LocalBndToGlobal(), main(), MappingEVids(), Nektar::MultiRegions::MultiLevelBisectionReordering(), Nektar::MultiRegions::GlobalMatrix::Multiply(), Nektar::MultiRegions::ContField2D::MultiplyByInvMassMatrix(), Orderfunctionx(), Nektar::LibUtilities::PhysGalerkinProject1D(), Nektar::LibUtilities::PhysGalerkinProject2D(), Nektar::StdRegions::StdExpansion2D::PhysTensorDeriv(), Nektar::StdRegions::StdExpansion3D::PhysTensorDeriv(), PolyFit(), PolyInterp(), Nektar::NonlinearSWE::PrimitiveToConservative(), Nektar::LinearSWE::PrimitiveToConservative(), Nektar::Utilities::ProcessAddFld::Process(), Nektar::MultiRegions::AssemblyMapDG::RealignTraceElement(), Nektar::LibUtilities::NekFFTW::Reshuffle_FFTW2Nek(), Nektar::LibUtilities::NekFFTW::Reshuffle_Nek2FFTW(), Nektar::SolverUtils::RiemannSolver::rotateFromNormal(), Nektar::SolverUtils::RiemannSolver::rotateToNormal(), Nektar::EulerCFE::SetBoundaryIsentropicVortex(), Nektar::EulerCFE::SetBoundaryRinglebFlow(), Nektar::LocalRegions::Expansion3D::SetFaceToGeomOrientation(), Nektar::EulerCFE::SetInitialIsentropicVortex(), Nektar::MultiRegions::ExpList::SetPhys(), Nektar::SubSteppingExtrapolate::SubStepProjection(), Nektar::CompressibleFlowSystem::SymmetryBC(), Diffusion::TimeIntegrate(), Nektar::CellModel::TimeIntegrate(), Nektar::LibUtilities::TimeIntegrationScheme::TimeIntegrate(), Nektar::LibUtilities::Transposition::TransposeXtoYZ(), Nektar::LibUtilities::Transposition::TransposeXYtoZ(), Nektar::LibUtilities::Transposition::TransposeYZtoX(), Nektar::LibUtilities::Transposition::TransposeYZtoZY(), Nektar::LibUtilities::Transposition::TransposeZtoXY(), Nektar::LibUtilities::Transposition::TransposeZYtoYZ(), Nektar::MultiRegions::AssemblyMap::UniversalAssembleBnd(), Nektar::VortexWaveInteraction::UpdateAlpha(), Nektar::AdjointAdvection::UpdateBase(), Nektar::LinearisedAdvection::UpdateBase(), Nektar::MultiRegions::GlobalLinSysIterative::UpdateKnownSolutions(), Nektar::VortexWaveInteraction::UpdateWaveForceMag(), Nektar::SolverUtils::ForcingSponge::v_Apply(), Nektar::LocalRegions::Expansion3D::v_BuildInverseTransformationMatrix(), Nektar::LocalRegions::Expansion3D::v_BuildTransformationMatrix(), Nektar::StdRegions::StdPointExp::v_BwdTrans(), Nektar::StdRegions::StdHexExp::v_BwdTrans(), Nektar::StdRegions::StdQuadExp::v_BwdTrans(), Nektar::StdRegions::StdPrismExp::v_BwdTrans(), Nektar::StdRegions::StdTetExp::v_BwdTrans(), Nektar::StdRegions::StdSegExp::v_BwdTrans(), Nektar::StdRegions::StdPyrExp::v_BwdTrans(), Nektar::StdRegions::StdHexExp::v_BwdTrans_SumFacKernel(), Nektar::StdRegions::StdQuadExp::v_BwdTrans_SumFacKernel(), Nektar::NavierStokesAdvection::v_ComputeAdvectionTerm(), Nektar::LocalRegions::HexExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::QuadExp::v_ComputeLaplacianMetric(), Nektar::MultiRegions::ExpListHomogeneous2D::v_DealiasedProd(), Nektar::MultiRegions::ExpListHomogeneous1D::v_DealiasedProd(), Nektar::SolverUtils::DiffusionLFR::v_DerCFlux_1D(), Nektar::SolverUtils::DiffusionLFRNS::v_DerCFlux_1D(), Nektar::SolverUtils::DiffusionLDG::v_Diffuse(), Nektar::SolverUtils::Diffusion3DHomogeneous1D::v_Diffuse(), Nektar::SolverUtils::DiffusionLFR::v_Diffuse(), Nektar::SolverUtils::DiffusionLFRNS::v_Diffuse(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_1D(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFRNS::v_DivCFlux_2D_Gauss(), Nektar::MultiRegions::PreconditionerLowEnergy::v_DoMultiplybyInverseTransformationMatrix(), Nektar::MultiRegions::PreconditionerNull::v_DoPreconditioner(), Nektar::MultiRegions::PreconditionerLinear::v_DoPreconditionerWithNonVertOutput(), Nektar::EigenValuesAdvection::v_DoSolve(), Nektar::PulseWaveSystem::v_DoSolve(), Nektar::MultiRegions::PreconditionerLowEnergy::v_DoTransformFromLowEnergy(), Nektar::MultiRegions::PreconditionerLowEnergy::v_DoTransformToLowEnergy(), Nektar::SolverUtils::DriverModifiedArnoldi::v_Execute(), Nektar::MultiRegions::ExpList::v_ExtractCoeffsToCoeffs(), Nektar::LocalRegions::TetExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::PrismExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::HexExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::TriExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::QuadExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::SegExp::v_ExtractDataToCoeffs(), Nektar::MultiRegions::ExpListHomogeneous2D::v_ExtractDataToCoeffs(), Nektar::MultiRegions::ExpListHomogeneous1D::v_ExtractDataToCoeffs(), Nektar::MultiRegions::ExpList::v_ExtractDataToCoeffs(), Nektar::MultiRegions::DisContField3DHomogeneous1D::v_ExtractTracePhys(), Nektar::LibUtilities::NekFFTW::v_FFTBwdTrans(), Nektar::LibUtilities::NekFFTW::v_FFTFwdTrans(), Nektar::StdRegions::StdTriExp::v_FillMode(), Nektar::StdRegions::StdQuadExp::v_FillMode(), Nektar::StdRegions::StdHexExp::v_FillMode(), Nektar::StdRegions::StdSegExp::v_FillMode(), Nektar::StdRegions::StdPointExp::v_FwdTrans(), Nektar::LocalRegions::TetExp::v_FwdTrans(), Nektar::LocalRegions::PrismExp::v_FwdTrans(), Nektar::LocalRegions::PyrExp::v_FwdTrans(), Nektar::LocalRegions::SegExp::v_FwdTrans(), Nektar::LocalRegions::QuadExp::v_FwdTrans(), Nektar::LocalRegions::HexExp::v_FwdTrans(), Nektar::StdRegions::StdSegExp::v_FwdTrans(), Nektar::StdRegions::StdHexExp::v_FwdTrans(), Nektar::StdRegions::StdQuadExp::v_FwdTrans(), Nektar::StdRegions::StdPointExp::v_FwdTrans_BndConstrained(), Nektar::StdRegions::StdQuadExp::v_FwdTrans_BndConstrained(), Nektar::LocalRegions::SegExp::v_FwdTrans_BndConstrained(), Nektar::LocalRegions::QuadExp::v_FwdTrans_BndConstrained(), Nektar::StdRegions::StdSegExp::v_FwdTrans_BndConstrained(), Nektar::LocalRegions::PrismExp::v_GeneralMatrixOp_MatOp(), Nektar::LocalRegions::HexExp::v_GeneralMatrixOp_MatOp(), Nektar::StdRegions::StdQuadExp::v_GeneralMatrixOp_MatOp(), Nektar::LocalRegions::TriExp::v_GeneralMatrixOp_MatOp(), Nektar::StdRegions::StdTriExp::v_GeneralMatrixOp_MatOp(), Nektar::LocalRegions::QuadExp::v_GeneralMatrixOp_MatOp(), Nektar::StdRegions::StdHexExp::v_GeneralMatrixOp_MatOp(), Nektar::LocalRegions::Expansion1D::v_GenMatrix(), Nektar::LocalRegions::Expansion3D::v_GenMatrix(), Nektar::LocalRegions::Expansion2D::v_GenMatrix(), Nektar::StdRegions::StdQuadExp::v_GenMatrix(), Nektar::MultiRegions::ExpList2DHomogeneous1D::v_GetCoords(), Nektar::MultiRegions::ExpList3DHomogeneous1D::v_GetCoords(), Nektar::LocalRegions::QuadExp::v_GetEdgePhysVals(), Nektar::LocalRegions::TriExp::v_GetEdgePhysVals(), Nektar::LocalRegions::QuadExp::v_GetEdgeQFactors(), Nektar::LocalRegions::PyrExp::v_GetFacePhysVals(), Nektar::LocalRegions::TetExp::v_GetFacePhysVals(), Nektar::LocalRegions::PrismExp::v_GetFacePhysVals(), Nektar::LocalRegions::HexExp::v_GetFacePhysVals(), Nektar::MultiRegions::DisContField3D::v_GetFwdBwdTracePhys(), Nektar::MultiRegions::DisContField2D::v_GetFwdBwdTracePhys(), Nektar::MultiRegions::ExpList2DHomogeneous1D::v_GetNormals(), Nektar::MultiRegions::ContField3D::v_ImposeDirichletConditions(), Nektar::MultiRegions::ContField2D::v_ImposeDirichletConditions(), Nektar::StdRegions::StdPointExp::v_IProductWRTBase(), Nektar::StdRegions::StdQuadExp::v_IProductWRTBase_SumFacKernel(), Nektar::StdRegions::StdHexExp::v_IProductWRTBase_SumFacKernel(), Nektar::MultiRegions::ContField3D::v_MultiplyByInvMassMatrix(), Nektar::SolverUtils::DiffusionLFRNS::v_NumericalFluxO1(), Nektar::SolverUtils::DiffusionLFR::v_NumFluxforScalar(), Nektar::LocalRegions::TetExp::v_ReduceOrderCoeffs(), Nektar::LocalRegions::PrismExp::v_ReduceOrderCoeffs(), Nektar::LocalRegions::HexExp::v_ReduceOrderCoeffs(), Nektar::StdRegions::StdQuadExp::v_ReduceOrderCoeffs(), Nektar::LocalRegions::QuadExp::v_ReduceOrderCoeffs(), Nektar::MultiRegions::GlobalLinSysXxtFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysIterativeFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysStaticCond::v_Solve(), Nektar::MultiRegions::GlobalLinSysPETSc::v_SolveLinearSystem(), Nektar::SubSteppingExtrapolate::v_SubStepSaveFields(), Nektar::MultiRegions::AssemblyMapCG::v_UniversalAssemble(), Nektar::SolverUtils::FilterEnergy::v_Update(), Nektar::SolverUtils::DiffusionLDG::v_WeakPenaltyforScalar(), Nektar::SolverUtils::DiffusionLFR::v_WeakPenaltyforScalar(), Nektar::SolverUtils::DiffusionLDGNS::v_WeakPenaltyO1(), Nektar::SolverUtils::DiffusionLFRNS::v_WeakPenaltyO1(), Vcopy(), Nektar::APE::WallBC(), Nektar::CompressibleFlowSystem::WallBC(), Nektar::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), Nektar::NonlinearSWE::WallBoundary2D(), Nektar::LinearSWE::WallBoundary2D(), Nektar::CompressibleFlowSystem::WallViscousBC(), Nektar::SolverUtils::EquationSystem::WeakDGDiffusion(), and Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforScalar().
template void Vmath::Vcopy | ( | int | n, |
const int * | x, | ||
const int | incx, | ||
int * | y, | ||
const int | incy | ||
) |
template void Vmath::Vcopy | ( | int | n, |
const unsigned int * | x, | ||
const int | incx, | ||
unsigned int * | y, | ||
const int | incy | ||
) |
template void Vmath::Vcopy | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
Nektar::NekDouble * | y, | ||
const int | incy | ||
) |
void Vmath::Vdiv | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
Multiply vector z = x/y.
Definition at line 93 of file VmathArray.hpp.
References ASSERTL1, and Vdiv().
void Vmath::Vdiv | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
const T * | y, | ||
const int | incy, | ||
T * | z, | ||
const int | incz | ||
) |
Multiply vector z = x/y.
Definition at line 224 of file Vmath.cpp.
Referenced by Nektar::SpatialDomains::GeomFactors::ComputeDerivFactors(), Nektar::SpatialDomains::GeomFactors::ComputeGmat(), Nektar::NonlinearSWE::ConservativeToPrimitive(), Nektar::LinearSWE::ConservativeToPrimitive(), Nektar::NavierStokesCFE::DoOdeRhs(), Nektar::CompressibleFlowSystem::GetPressure(), Nektar::NonlinearSWE::GetVelocityVector(), main(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), Nektar::SolverUtils::AdvectionFR::v_Advect(), Nektar::NonlinearSWE::v_ConservativeToPrimitive(), Nektar::LinearSWE::v_ConservativeToPrimitive(), Nektar::SolverUtils::DiffusionLFR::v_Diffuse(), Nektar::SolverUtils::DiffusionLFRNS::v_Diffuse(), Nektar::LocalRegions::SegExp::v_PhysDeriv_s(), Nektar::CellModelAlievPanfilov::v_Update(), Nektar::CourtemancheRamirezNattel98::v_Update(), Nektar::SolverUtils::DiffusionLDGNS::v_WeakPenaltyO1(), Nektar::SolverUtils::DiffusionLFRNS::v_WeakPenaltyO1(), and Vdiv().
template void Vmath::Vdiv | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
const Nektar::NekDouble * | y, | ||
const int | incy, | ||
Nektar::NekDouble * | z, | ||
const int | incz | ||
) |
void Vmath::Vexp | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
T * | y, | ||
const int | incy | ||
) |
Definition at line 107 of file Vmath.hpp.
Referenced by Nektar::CellModel::TimeIntegrate(), Nektar::CourtemancheRamirezNattel98::v_Update(), and Vexp().
void Vmath::Vlog | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
T * | y, | ||
const int | incy | ||
) |
Definition at line 95 of file Vmath.hpp.
Referenced by Nektar::CourtemancheRamirezNattel98::v_Update(), and Vlog().
T Vmath::Vmax | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx | ||
) |
T Vmath::Vmax | ( | int | n, |
const T * | x, | ||
const int | incx | ||
) |
Return the maximum element in x – called vmax to avoid conflict with max.
Definition at line 753 of file Vmath.cpp.
Referenced by Nektar::NekMatrix< DataType, StandardMatrixTag >::AbsMaxtoMinEigenValueRatio(), Nektar::VortexWaveInteraction::CalcL2ToLinfPressure(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Checkbndmeshes2D(), Checkbndmeshes3D(), Computestreakpositions(), Nektar::CoupledLocalToGlobalC0ContMap::CoupledLocalToGlobalC0ContMap(), Nektar::EulerADCFE::DoOdeRhs(), EnforceRotationalSymmetry(), ExpandVertices(), Nektar::VortexWaveInteraction::GetReflectionIndex(), GetReflectionIndex(), GetReflectionIndex2D(), Nektar::MultiRegions::ExpList::Linf(), main(), MappingEVids(), MoveOutsidePointsNnormpos(), Orderfunctionx(), Nektar::Utilities::ProcessInterpPoints::Process(), Nektar::Utilities::ProcessInterpField::Process(), Nektar::MultiRegions::AssemblyMapCG2D::SetUp2DExpansionC0ContMap(), Nektar::MultiRegions::AssemblyMapCG3D::SetUp3DExpansionC0ContMap(), Nektar::SpatialDomains::TetGeom::v_ContainsPoint(), Nektar::SpatialDomains::PrismGeom::v_ContainsPoint(), Nektar::SpatialDomains::HexGeom::v_ContainsPoint(), and Vmax().
template Nektar::NekDouble Vmath::Vmax | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
template int Vmath::Vmax | ( | int | n, |
const int * | x, | ||
const int | incx | ||
) |
T Vmath::Vmin | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx | ||
) |
T Vmath::Vmin | ( | int | n, |
const T * | x, | ||
const int | incx | ||
) |
Return the minimum element in x - called vmin to avoid conflict with min.
Definition at line 844 of file Vmath.cpp.
Referenced by Nektar::NekMatrix< DataType, StandardMatrixTag >::AbsMaxtoMinEigenValueRatio(), Checkbndmeshes2D(), Checkbndmeshes3D(), Nektar::SpatialDomains::GeomFactors::CheckIfValid(), Computestreakpositions(), Findlay_eids(), Nektar::SubSteppingExtrapolate::GetSubstepTimeStep(), main(), MoveOutsidePointsNnormpos(), Nektar::Utilities::ProcessInterpPoints::Process(), Nektar::Utilities::ProcessInterpField::Process(), Nektar::SpatialDomains::TetGeom::v_ContainsPoint(), Nektar::SpatialDomains::PrismGeom::v_ContainsPoint(), Nektar::SpatialDomains::HexGeom::v_ContainsPoint(), Nektar::CFLtester::v_GetTimeStep(), and Vmin().
template Nektar::NekDouble Vmath::Vmin | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
template int Vmath::Vmin | ( | int | n, |
const int * | x, | ||
const int | incx | ||
) |
void Vmath::Vmul | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
Multiply vector z = x*y.
Definition at line 64 of file VmathArray.hpp.
void Vmath::Vmul | ( | int | n, |
const Array< TwoD, NekDouble >::const_reference & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
Definition at line 73 of file VmathArray.hpp.
void Vmath::Vmul | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
const T * | y, | ||
const int | incy, | ||
T * | z, | ||
const int | incz | ||
) |
Multiply vector z = x*y.
Definition at line 166 of file Vmath.cpp.
Referenced by Nektar::NekMatrix< DataType, StandardMatrixTag >::AbsMaxtoMinEigenValueRatio(), Nektar::SubSteppingExtrapolate::AddAdvectionPenaltyFlux(), Nektar::NonlinearSWE::AddCoriolis(), Nektar::LinearSWE::AddCoriolis(), Nektar::LocalRegions::Expansion2D::AddEdgeBoundaryInt(), Nektar::LocalRegions::Expansion2D::AddHDGHelmholtzEdgeTerms(), Nektar::LocalRegions::Expansion3D::AddHDGHelmholtzFaceTerms(), Nektar::LocalRegions::Expansion2D::AddNormTraceInt(), Nektar::LocalRegions::Expansion3D::AddNormTraceInt(), Nektar::NonlinearSWE::AddVariableDepth(), Nektar::SolverUtils::EquationSystem::AdvectionNonConservativeForm(), Nektar::PulseWaveSystem::CalcCharacteristicVariables(), Nektar::VortexWaveInteraction::CalcL2ToLinfPressure(), CalcNonLinearForcing(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Nektar::LibUtilities::GaussPoints::CalculateGalerkinProjectionMatrix(), Nektar::ImageWarpingSystem::DoOdeRhs(), Extractlayerdata(), Nektar::UnsteadyInviscidBurger::GetFluxVector(), Nektar::UnsteadyAdvection::GetFluxVector(), Nektar::NonlinearSWE::GetFluxVector(), Nektar::LinearSWE::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVector(), Nektar::UnsteadyAdvectionDiffusion::GetFluxVectorAdv(), Nektar::UnsteadyAdvection::GetFluxVectorDeAlias(), Nektar::CompressibleFlowSystem::GetFluxVectorDeAlias(), Nektar::CompressibleFlowSystem::GetPressure(), Nektar::CompressibleFlowSystem::GetViscousFluxVector(), Nektar::CompressibleFlowSystem::GetViscousFluxVectorDeAlias(), Nektar::StdRegions::StdExpansion::H1(), Nektar::LocalRegions::NodalTriExp::Integral(), Nektar::StdRegions::StdExpansion2D::Integral(), Nektar::LocalRegions::HexExp::IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::NodalTriExp::IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdExpansion::L2(), Nektar::StdRegions::StdExpansion::LaplacianMatrixOp_MatFree(), main(), Nektar::StdRegions::StdExpansion::MassMatrixOp_MatFree(), MoveOutsidePointsNnormpos(), Nektar::NekMultiplyDiagonalMatrix(), Nektar::LocalRegions::NodalTriExp::PhysDeriv(), Nektar::NonlinearSWE::PrimitiveToConservative(), Nektar::LinearSWE::PrimitiveToConservative(), Nektar::Utilities::ProcessQCriterion::Process(), Nektar::LibUtilities::NekFFTW::Reshuffle_FFTW2Nek(), Nektar::LibUtilities::NekFFTW::Reshuffle_Nek2FFTW(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), Nektar::SolverUtils::RiemannSolver::rotateFromNormal(), Nektar::SolverUtils::RiemannSolver::rotateToNormal(), Nektar::IncNavierStokes::SetRadiationBoundaryForcing(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::APEUpwindSolver::Solve1D(), Nektar::LocalRegions::Expansion2D::v_AddEdgeNormBoundaryInt(), Nektar::SolverUtils::AdvectionNonConservative::v_Advect(), Nektar::SolverUtils::AdvectionFR::v_Advect(), Nektar::SolverUtils::ForcingSponge::v_Apply(), Nektar::SkewSymmetricAdvection::v_ComputeAdvectionTerm(), Nektar::NavierStokesAdvection::v_ComputeAdvectionTerm(), Nektar::LinearisedAdvection::v_ComputeAdvectionTerm(), Nektar::AdjointAdvection::v_ComputeAdvectionTerm(), Nektar::LocalRegions::TriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::QuadExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::NodalTriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::PyrExp::v_ComputeFaceNormal(), Nektar::LocalRegions::TetExp::v_ComputeFaceNormal(), Nektar::LocalRegions::PrismExp::v_ComputeFaceNormal(), Nektar::LocalRegions::HexExp::v_ComputeFaceNormal(), Nektar::LocalRegions::TriExp::v_ComputeLaplacianMetric(), Nektar::MultiRegions::ExpListHomogeneous2D::v_DealiasedProd(), Nektar::MultiRegions::ExpListHomogeneous1D::v_DealiasedProd(), Nektar::SolverUtils::DiffusionLDG::v_Diffuse(), Nektar::SolverUtils::DiffusionLFR::v_Diffuse(), Nektar::SolverUtils::DiffusionLFRNS::v_Diffuse(), Nektar::MultiRegions::PreconditionerLowEnergy::v_DoMultiplybyInverseTransposedTransformationMatrix(), Nektar::MultiRegions::PreconditionerDiagonal::v_DoPreconditioner(), Nektar::StdRegions::StdTriExp::v_FillMode(), Nektar::StdRegions::StdQuadExp::v_FillMode(), Nektar::StdRegions::StdHexExp::v_FillMode(), Nektar::LocalRegions::Expansion3D::v_GenMatrix(), Nektar::LocalRegions::Expansion2D::v_GenMatrix(), Nektar::LocalRegions::QuadExp::v_GetEdgeQFactors(), Nektar::EigenValuesAdvection::v_GetFluxVector(), Nektar::ImageWarpingSystem::v_GetFluxVector(), Nektar::APE::v_GetFluxVector(), Nektar::CFLtester::v_GetFluxVector(), Nektar::IncNavierStokes::v_GetFluxVector(), Nektar::SpatialDomains::TetGeom::v_GetLocCoords(), Nektar::SpatialDomains::PrismGeom::v_GetLocCoords(), Nektar::SpatialDomains::HexGeom::v_GetLocCoords(), Nektar::SpatialDomains::QuadGeom::v_GetLocCoords(), Nektar::SpatialDomains::TriGeom::v_GetLocCoords(), Nektar::LocalRegions::SegExp::v_HelmholtzMatrixOp(), Nektar::Monodomain::v_InitObject(), Nektar::LocalRegions::TetExp::v_Integral(), Nektar::LocalRegions::PrismExp::v_Integral(), Nektar::LocalRegions::SegExp::v_Integral(), Nektar::LocalRegions::PyrExp::v_Integral(), Nektar::LocalRegions::TriExp::v_Integral(), Nektar::LocalRegions::QuadExp::v_Integral(), Nektar::StdRegions::StdSegExp::v_Integral(), Nektar::LocalRegions::HexExp::v_Integral(), Nektar::StdRegions::StdPointExp::v_IProductWRTBase(), Nektar::LocalRegions::PyrExp::v_IProductWRTBase(), Nektar::LocalRegions::SegExp::v_IProductWRTBase(), Nektar::StdRegions::StdSegExp::v_IProductWRTBase(), Nektar::LocalRegions::TetExp::v_IProductWRTDerivBase(), Nektar::LocalRegions::SegExp::v_IProductWRTDerivBase(), Nektar::LocalRegions::PrismExp::v_IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::TriExp::v_IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::QuadExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdTriExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdPrismExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdTetExp::v_IProductWRTDerivBase_SumFac(), Nektar::StdRegions::StdPyrExp::v_IProductWRTDerivBase_SumFac(), Nektar::LocalRegions::SegExp::v_LaplacianMatrixOp(), Nektar::LocalRegions::Expansion::v_MultiplyByQuadratureMetric(), Nektar::StdRegions::StdPyrExp::v_MultiplyByStdQuadratureMetric(), Nektar::StdRegions::StdPrismExp::v_MultiplyByStdQuadratureMetric(), Nektar::StdRegions::StdTetExp::v_MultiplyByStdQuadratureMetric(), Nektar::StdRegions::StdQuadExp::v_MultiplyByStdQuadratureMetric(), Nektar::StdRegions::StdTriExp::v_MultiplyByStdQuadratureMetric(), Nektar::StdRegions::StdHexExp::v_MultiplyByStdQuadratureMetric(), Nektar::LocalRegions::SegExp::v_NormVectorIProductWRTBase(), Nektar::EigenValuesAdvection::v_NumericalFlux(), Nektar::ImageWarpingSystem::v_NumericalFlux(), Nektar::CFLtester::v_NumericalFlux(), Nektar::IncNavierStokes::v_NumericalFlux(), Nektar::SolverUtils::DiffusionLDGNS::v_NumericalFluxO1(), Nektar::SolverUtils::DiffusionLDGNS::v_NumericalFluxO2(), Nektar::SolverUtils::DiffusionLFRNS::v_NumericalFluxO2(), Nektar::SolverUtils::DiffusionLDG::v_NumFluxforScalar(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforScalar(), Nektar::SolverUtils::DiffusionLDG::v_NumFluxforVector(), Nektar::SolverUtils::DiffusionLFR::v_NumFluxforVector(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforVector(), Nektar::LocalRegions::SegExp::v_PhysDeriv(), Nektar::LocalRegions::TetExp::v_PhysDeriv(), Nektar::LocalRegions::PrismExp::v_PhysDeriv(), Nektar::LocalRegions::PyrExp::v_PhysDeriv(), Nektar::LocalRegions::TriExp::v_PhysDeriv(), Nektar::LocalRegions::QuadExp::v_PhysDeriv(), Nektar::StdRegions::StdTetExp::v_PhysDeriv(), Nektar::LocalRegions::HexExp::v_PhysDeriv(), Nektar::LocalRegions::SegExp::v_PhysDeriv_n(), Nektar::LocalRegions::TriExp::v_PhysDirectionalDeriv(), Nektar::LocalRegions::QuadExp::v_PhysDirectionalDeriv(), Nektar::NonlinearSWE::v_PrimitiveToConservative(), Nektar::LinearSWE::v_PrimitiveToConservative(), Nektar::CellModelAlievPanfilov::v_Update(), Nektar::CellModelFitzHughNagumo::v_Update(), Nektar::SolverUtils::FilterEnergy::v_Update(), Nektar::SolverUtils::FilterAeroForces::v_Update(), Nektar::CourtemancheRamirezNattel98::v_Update(), Nektar::SolverUtils::DiffusionLDG::v_WeakPenaltyforVector(), Nektar::SolverUtils::DiffusionLFR::v_WeakPenaltyforVector(), Nektar::SolverUtils::DiffusionLDGNS::v_WeakPenaltyO1(), Nektar::SolverUtils::DiffusionLFRNS::v_WeakPenaltyO1(), Nektar::SolverUtils::DiffusionLDGNS::v_WeakPenaltyO2(), Nektar::SolverUtils::DiffusionLFRNS::v_WeakPenaltyO2(), Vmul(), Nektar::NonlinearSWE::WallBoundary2D(), Nektar::LinearSWE::WallBoundary2D(), Nektar::StdRegions::StdExpansion::WeakDerivMatrixOp_MatFree(), Nektar::SolverUtils::EquationSystem::WeakDGDiffusion(), and Nektar::SolverUtils::UnsteadySystem::WeakPenaltyforVector().
template void Vmath::Vmul | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
const Nektar::NekDouble * | y, | ||
const int | incy, | ||
Nektar::NekDouble * | z, | ||
const int | incz | ||
) |
void Vmath::Vpow | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
const T | f, | ||
T * | y, | ||
const int | incy | ||
) |
Definition at line 118 of file Vmath.hpp.
Referenced by Nektar::CourtemancheRamirezNattel98::v_Update(), and Vpow().
void Vmath::Vsqrt | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
T * | y, | ||
const int | incy | ||
) |
sqrt y = sqrt(x)
Definition at line 391 of file Vmath.cpp.
Referenced by Nektar::PulseWaveSystem::CalcCharacteristicVariables(), Nektar::VortexWaveInteraction::CalcL2ToLinfPressure(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Nektar::SpatialDomains::GeomFactors::ComputeDerivFactors(), Nektar::SpatialDomains::GeomFactors::ComputeJac(), main(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), Nektar::LocalRegions::TriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::QuadExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::NodalTriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::PyrExp::v_ComputeFaceNormal(), Nektar::LocalRegions::TetExp::v_ComputeFaceNormal(), Nektar::LocalRegions::PrismExp::v_ComputeFaceNormal(), Nektar::LocalRegions::HexExp::v_ComputeFaceNormal(), Nektar::FilterElectrogram::v_Initialise(), and Vsqrt().
template void Vmath::Vsqrt | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
Nektar::NekDouble * | y, | ||
const int | incy | ||
) |
void Vmath::Vstvpp | ( | int | n, |
const T | alpha, | ||
const T * | v, | ||
int | incv, | ||
const T * | w, | ||
int | incw, | ||
const T * | x, | ||
int | incx, | ||
T * | z, | ||
int | incz | ||
) |
template void Vmath::Vstvpp | ( | int | n, |
const Nektar::NekDouble | alpha, | ||
const Nektar::NekDouble * | v, | ||
int | incv, | ||
const Nektar::NekDouble * | w, | ||
int | incw, | ||
const Nektar::NekDouble * | x, | ||
int | incx, | ||
Nektar::NekDouble * | z, | ||
int | incz | ||
) |
void Vmath::Vsub | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
Subtract vector z = x-y.
Definition at line 134 of file VmathArray.hpp.
void Vmath::Vsub | ( | int | n, |
const T * | x, | ||
const int | incx, | ||
const T * | y, | ||
const int | incy, | ||
T * | z, | ||
const int | incz | ||
) |
Subtract vector z = x-y.
Definition at line 326 of file Vmath.cpp.
Referenced by Nektar::SubSteppingExtrapolate::AddAdvectionPenaltyFlux(), Nektar::SubSteppingExtrapolate::AddDuDt2D(), Nektar::SubSteppingExtrapolate::AddDuDt3D(), Nektar::PulseWaveSystem::CalcCharacteristicVariables(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Nektar::NonlinearSWE::ConservativeToPrimitive(), Nektar::LinearSWE::ConservativeToPrimitive(), Nektar::Extrapolate::CurlCurl(), Nektar::ImageWarpingSystem::DoOdeRhs(), Nektar::CoupledLinearNS::EvaluateNewtonRHS(), Nektar::StdRegions::StdExpansion::H1(), Nektar::StdRegions::StdExpansion::L2(), Nektar::MultiRegions::DisContField2D::L2_DGDeriv(), Nektar::StdRegions::StdExpansion::Linf(), main(), Nektar::Utilities::ProcessVorticity::Process(), Nektar::Utilities::ProcessQCriterion::Process(), Nektar::CompressibleFlowSystem::SymmetryBC(), Nektar::CellModel::TimeIntegrate(), Nektar::LibUtilities::TimeIntegrationScheme::TimeIntegrate(), Nektar::SolverUtils::ForcingSponge::v_Apply(), Nektar::NonlinearSWE::v_ConservativeToPrimitive(), Nektar::LinearSWE::v_ConservativeToPrimitive(), Nektar::SolverUtils::DiffusionLFR::v_DerCFlux_2D(), Nektar::SolverUtils::DiffusionLFRNS::v_DerCFlux_2D(), Nektar::SolverUtils::Diffusion3DHomogeneous1D::v_Diffuse(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_2D(), Nektar::SolverUtils::DiffusionLFR::v_DivCFlux_2D(), Nektar::SolverUtils::DiffusionLFRNS::v_DivCFlux_2D(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFR::v_DivCFlux_2D_Gauss(), Nektar::SolverUtils::DiffusionLFRNS::v_DivCFlux_2D_Gauss(), Nektar::StdRegions::StdPointExp::v_FwdTrans_BndConstrained(), Nektar::StdRegions::StdQuadExp::v_FwdTrans_BndConstrained(), Nektar::LocalRegions::SegExp::v_FwdTrans_BndConstrained(), Nektar::LocalRegions::TriExp::v_FwdTrans_BndConstrained(), Nektar::LocalRegions::QuadExp::v_FwdTrans_BndConstrained(), Nektar::StdRegions::StdTriExp::v_FwdTrans_BndConstrained(), Nektar::StdRegions::StdSegExp::v_FwdTrans_BndConstrained(), Nektar::SolverUtils::DiffusionLDG::v_NumFluxforVector(), Nektar::SolverUtils::UnsteadySystem::v_NumFluxforVector(), Nektar::MultiRegions::GlobalLinSysDirectFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysXxtFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysIterativeFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysPETScFull::v_Solve(), Nektar::MultiRegions::GlobalLinSysStaticCond::v_Solve(), Nektar::CellModelFitzHughNagumo::v_Update(), Nektar::SolverUtils::FilterEnergy::v_Update(), Nektar::CourtemancheRamirezNattel98::v_Update(), Nektar::SolverUtils::FilterModalEnergy::v_Update(), Nektar::SolverUtils::DiffusionLDGNS::v_WeakPenaltyO1(), Nektar::SolverUtils::DiffusionLFRNS::v_WeakPenaltyO1(), Vsub(), Nektar::CompressibleFlowSystem::WallBC(), and Nektar::CompressibleFlowSystem::WallViscousBC().
template void Vmath::Vsub | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
const Nektar::NekDouble * | y, | ||
const int | incy, | ||
Nektar::NekDouble * | z, | ||
const int | incz | ||
) |
T Vmath::Vsum | ( | int | n, |
const Array< OneD, const T > & | x, | ||
const int | incx | ||
) |
T Vmath::Vsum | ( | int | n, |
const T * | x, | ||
const int | incx | ||
) |
Subtract return sum(x)
Definition at line 711 of file Vmath.cpp.
Referenced by Nektar::MultiRegions::GlobalLinSysPETSc::CalculateReordering(), Nektar::MultiRegions::ExpList1D::ExpList1D(), Nektar::MultiRegions::ExpList2D::ExpList2D(), Nektar::MultiRegions::DisContField2D::FindPeriodicEdges(), Nektar::MultiRegions::DisContField3D::FindPeriodicFaces(), Nektar::MultiRegions::DisContField1D::FindPeriodicVertices(), Nektar::StdRegions::StdExpansion2D::Integral(), Nektar::SpatialDomains::Geometry2D::NewtonIterationForLocCoord(), Nektar::SpatialDomains::Geometry3D::NewtonIterationForLocCoord(), Nektar::MultiRegions::AssemblyMapCG2D::SetUp2DGraphC0ContMap(), Nektar::MultiRegions::AssemblyMapCG3D::SetUp3DExpansionC0ContMap(), Nektar::StdRegions::StdSegExp::v_Integral(), Nektar::StdRegions::StdExpansion3D::v_Integral(), and Vsum().
template Nektar::NekDouble Vmath::Vsum | ( | int | n, |
const Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
template int Vmath::Vsum | ( | int | n, |
const int * | x, | ||
const int | incx | ||
) |
void Vmath::Vvtvm | ( | int | n, |
const Array< OneD, const T > & | w, | ||
const int | incw, | ||
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
vvtvm (vector times vector minus vector): z = w*x - y
Definition at line 251 of file VmathArray.hpp.
References ASSERTL1, and Vvtvm().
void Vmath::Vvtvm | ( | int | n, |
const T * | w, | ||
const int | incw, | ||
const T * | x, | ||
const int | incx, | ||
const T * | y, | ||
const int | incy, | ||
T * | z, | ||
const int | incz | ||
) |
vvtvm (vector times vector plus vector): z = w*x - y
Definition at line 448 of file Vmath.cpp.
Referenced by main(), Nektar::SolverUtils::RiemannSolver::rotateFromNormal(), Nektar::SolverUtils::RiemannSolver::rotateToNormal(), Vvtvm(), Nektar::NonlinearSWE::WallBoundary2D(), and Nektar::LinearSWE::WallBoundary2D().
template void Vmath::Vvtvm | ( | int | n, |
const Nektar::NekDouble * | w, | ||
const int | incw, | ||
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
const Nektar::NekDouble * | y, | ||
const int | incy, | ||
Nektar::NekDouble * | z, | ||
const int | incz | ||
) |
void Vmath::Vvtvp | ( | int | n, |
const Array< OneD, const T > & | w, | ||
const int | incw, | ||
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
vvtvp (vector times vector plus vector): z = w*x + y
Definition at line 208 of file VmathArray.hpp.
References ASSERTL1, and Vvtvp().
void Vmath::Vvtvp | ( | int | n, |
const Array< TwoD, NekDouble >::const_reference & | w, | ||
const int | incw, | ||
const Array< OneD, const T > & | x, | ||
const int | incx, | ||
const Array< OneD, const T > & | y, | ||
const int | incy, | ||
Array< OneD, T > & | z, | ||
const int | incz | ||
) |
Definition at line 218 of file VmathArray.hpp.
References ASSERTL1, and Vvtvp().
void Vmath::Vvtvp | ( | int | n, |
const T * | w, | ||
const int | incw, | ||
const T * | x, | ||
const int | incx, | ||
const T * | y, | ||
const int | incy, | ||
T * | z, | ||
const int | incz | ||
) |
vvtvp (vector times vector plus vector): z = w*x + y
Definition at line 425 of file Vmath.cpp.
Referenced by Nektar::SubSteppingExtrapolate::AddAdvectionPenaltyFlux(), Nektar::SolverUtils::EquationSystem::AdvectionNonConservativeForm(), Nektar::VortexWaveInteraction::CalcL2ToLinfPressure(), CalcNonLinearForcing(), Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), Nektar::Extrapolate::CalcOutflowBCs(), Nektar::SpatialDomains::GeomFactors::CheckIfValid(), Nektar::SpatialDomains::GeomFactors::ComputeDerivFactors(), Nektar::SpatialDomains::GeomFactors::ComputeGmat(), Nektar::SpatialDomains::GeomFactors::ComputeJac(), Nektar::UnsteadyInviscidBurger::GetNormalVelocity(), Nektar::UnsteadyAdvection::GetNormalVelocity(), Nektar::UnsteadyAdvectionDiffusion::GetNormalVelocity(), Nektar::CompressibleFlowSystem::GetPressure(), Nektar::StdRegions::StdExpansion::H1(), Nektar::StdRegions::StdExpansion::LinearAdvectionDiffusionReactionMatrixOp_MatFree(), main(), Nektar::LocalRegions::NodalTriExp::PhysDeriv(), Nektar::CompressibleFlowSystem::RiemannInvariantBC(), Nektar::SolverUtils::RiemannSolver::rotateFromNormal(), Nektar::SolverUtils::RiemannSolver::rotateToNormal(), Nektar::APEUpwindSolver::Solve1D(), Nektar::CompressibleFlowSystem::SymmetryBC(), Nektar::CellModel::TimeIntegrate(), Nektar::LocalRegions::Expansion2D::v_AddEdgeNormBoundaryInt(), Nektar::SolverUtils::AdvectionNonConservative::v_Advect(), Nektar::SkewSymmetricAdvection::v_ComputeAdvectionTerm(), Nektar::NavierStokesAdvection::v_ComputeAdvectionTerm(), Nektar::LinearisedAdvection::v_ComputeAdvectionTerm(), Nektar::AdjointAdvection::v_ComputeAdvectionTerm(), Nektar::LocalRegions::TriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::QuadExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::NodalTriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::PyrExp::v_ComputeFaceNormal(), Nektar::LocalRegions::TetExp::v_ComputeFaceNormal(), Nektar::LocalRegions::PrismExp::v_ComputeFaceNormal(), Nektar::LocalRegions::HexExp::v_ComputeFaceNormal(), Nektar::LocalRegions::PyrExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::TetExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::TriExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::Expansion3D::v_GenMatrix(), Nektar::LocalRegions::Expansion2D::v_GenMatrix(), Nektar::SpatialDomains::TetGeom::v_GetLocCoords(), Nektar::SpatialDomains::PrismGeom::v_GetLocCoords(), Nektar::SpatialDomains::HexGeom::v_GetLocCoords(), Nektar::SpatialDomains::QuadGeom::v_GetLocCoords(), Nektar::SpatialDomains::TriGeom::v_GetLocCoords(), Nektar::LocalRegions::SegExp::v_HelmholtzMatrixOp(), Nektar::FilterElectrogram::v_Initialise(), Nektar::LocalRegions::TetExp::v_IProductWRTDerivBase(), Nektar::LocalRegions::SegExp::v_LaplacianMatrixOp(), Nektar::LocalRegions::PyrExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::PrismExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::TetExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::HexExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::SegExp::v_NormVectorIProductWRTBase(), Nektar::LocalRegions::TriExp::v_NormVectorIProductWRTBase(), Nektar::LocalRegions::QuadExp::v_NormVectorIProductWRTBase(), Nektar::EigenValuesAdvection::v_NumericalFlux(), Nektar::ImageWarpingSystem::v_NumericalFlux(), Nektar::CFLtester::v_NumericalFlux(), Nektar::IncNavierStokes::v_NumericalFlux(), Nektar::SolverUtils::DiffusionLFRNS::v_NumericalFluxO1(), Nektar::SolverUtils::DiffusionLFRNS::v_NumericalFluxO2(), Nektar::StdRegions::StdTriExp::v_PhysDeriv(), Nektar::LocalRegions::PrismExp::v_PhysDeriv(), Nektar::LocalRegions::TetExp::v_PhysDeriv(), Nektar::LocalRegions::PyrExp::v_PhysDeriv(), Nektar::LocalRegions::TriExp::v_PhysDeriv(), Nektar::LocalRegions::QuadExp::v_PhysDeriv(), Nektar::LocalRegions::HexExp::v_PhysDeriv(), Nektar::LocalRegions::TriExp::v_PhysDirectionalDeriv(), Nektar::LocalRegions::QuadExp::v_PhysDirectionalDeriv(), Nektar::CellModelAlievPanfilov::v_Update(), Nektar::FilterElectrogram::v_Update(), Nektar::SolverUtils::FilterEnergy::v_Update(), Nektar::SolverUtils::FilterAeroForces::v_Update(), Vvtvp(), Nektar::APE::WallBC(), Nektar::CompressibleFlowSystem::WallBC(), Nektar::NonlinearSWE::WallBoundary(), Nektar::LinearSWE::WallBoundary(), Nektar::NonlinearSWE::WallBoundary2D(), and Nektar::LinearSWE::WallBoundary2D().
template void Vmath::Vvtvp | ( | int | n, |
const Nektar::NekDouble * | w, | ||
const int | incw, | ||
const Nektar::NekDouble * | x, | ||
const int | incx, | ||
const Nektar::NekDouble * | y, | ||
const int | incy, | ||
Nektar::NekDouble * | z, | ||
const int | incz | ||
) |
void Vmath::Vvtvvtm | ( | int | n, |
const T * | v, | ||
int | incv, | ||
const T * | w, | ||
int | incw, | ||
const T * | x, | ||
int | incx, | ||
const T * | y, | ||
int | incy, | ||
T * | z, | ||
int | incz | ||
) |
vvtvvtm (vector times vector minus vector times vector):
Definition at line 547 of file Vmath.cpp.
Referenced by Nektar::SpatialDomains::GeomFactors::Adjoint(), and Nektar::SpatialDomains::GeomFactors::CheckIfValid().
template void Vmath::Vvtvvtm | ( | int | n, |
const Nektar::NekDouble * | v, | ||
int | incv, | ||
const Nektar::NekDouble * | w, | ||
int | incw, | ||
const Nektar::NekDouble * | x, | ||
int | incx, | ||
const Nektar::NekDouble * | y, | ||
int | incy, | ||
Nektar::NekDouble * | z, | ||
int | incz | ||
) |
void Vmath::Vvtvvtp | ( | int | n, |
const Array< OneD, const T > & | v, | ||
int | incv, | ||
const Array< OneD, const T > & | w, | ||
int | incw, | ||
const Array< OneD, const T > & | x, | ||
int | incx, | ||
const Array< OneD, const T > & | y, | ||
int | incy, | ||
Array< OneD, T > & | z, | ||
int | incz | ||
) |
vvtvvtp (vector times vector plus vector times vector): z = v*w + y*z
Definition at line 263 of file VmathArray.hpp.
References ASSERTL1, and Vvtvvtp().
void Vmath::Vvtvvtp | ( | int | n, |
const T * | v, | ||
int | incv, | ||
const T * | w, | ||
int | incw, | ||
const T * | x, | ||
int | incx, | ||
const T * | y, | ||
int | incy, | ||
T * | z, | ||
int | incz | ||
) |
vvtvvtp (vector times vector plus vector times vector):
Definition at line 520 of file Vmath.cpp.
Referenced by Nektar::ImageWarpingSystem::DoOdeRhs(), main(), Nektar::SolverUtils::RiemannSolver::rotateFromNormal(), Nektar::SolverUtils::RiemannSolver::rotateToNormal(), Nektar::SolverUtils::AdvectionFR::v_Advect(), Nektar::LocalRegions::PyrExp::v_ComputeLaplacianMetric(), Nektar::LocalRegions::TetExp::v_ComputeLaplacianMetric(), Nektar::SolverUtils::AdvectionFR::v_DivCFlux_2D(), Nektar::FilterElectrogram::v_Initialise(), Nektar::LocalRegions::TetExp::v_IProductWRTDerivBase(), Nektar::LocalRegions::PyrExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::PrismExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::TetExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::TriExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::QuadExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::HexExp::v_LaplacianMatrixOp_MatFree_Kernel(), Nektar::LocalRegions::TriExp::v_NormVectorIProductWRTBase(), Nektar::LocalRegions::QuadExp::v_NormVectorIProductWRTBase(), Nektar::FilterElectrogram::v_Update(), and Vvtvvtp().
template void Vmath::Vvtvvtp | ( | int | n, |
const Nektar::NekDouble * | v, | ||
int | incv, | ||
const Nektar::NekDouble * | w, | ||
int | incw, | ||
const Nektar::NekDouble * | x, | ||
int | incx, | ||
const Nektar::NekDouble * | y, | ||
int | incy, | ||
Nektar::NekDouble * | z, | ||
int | incz | ||
) |
void Vmath::Zero | ( | int | n, |
Array< OneD, T > & | x, | ||
const int | incx | ||
) |
void Vmath::Zero | ( | int | n, |
T * | x, | ||
const int | incx | ||
) |
Zero vector.
Definition at line 356 of file Vmath.cpp.
Referenced by Nektar::MultiRegions::AssemblyMap::AssembleBnd(), Nektar::MultiRegions::PreconditionerBlock::BlockPreconditioner2D(), Nektar::MultiRegions::PreconditionerBlock::BlockPreconditioner3D(), Nektar::Extrapolate::CalcOutflowBCs(), Nektar::StdRegions::StdExpansion::CreateGeneralMatrix(), Nektar::AdjointAdvection::DFT(), Nektar::LinearisedAdvection::DFT(), Nektar::MultiRegions::GlobalLinSysIterative::DoAconjugateProjection(), Nektar::MultiRegions::GlobalLinSysIterative::DoConjugateGradient(), Nektar::APE::DoOdeRhs(), Nektar::NekMatrix< DataType, StandardMatrixTag >::EigenSolve(), Nektar::SolverUtils::DriverModifiedArnoldi::EV_big(), Nektar::SolverUtils::Forcing::EvaluateFunction(), Nektar::SolverUtils::EquationSystem::EvaluateFunction(), Nektar::EulerCFE::EvaluateIsentropicVortex(), Extractlayerdata(), Nektar::UnsteadyDiffusion::GetFluxVector(), Nektar::LinearSWE::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVector(), Nektar::UnsteadyAdvectionDiffusion::GetFluxVectorDiff(), Nektar::UnsteadyInviscidBurger::GetNormalVelocity(), Nektar::UnsteadyAdvection::GetNormalVelocity(), Nektar::UnsteadyAdvectionDiffusion::GetNormalVelocity(), Nektar::CompressibleFlowSystem::GetViscousFluxVector(), Nektar::CompressibleFlowSystem::GetViscousFluxVectorDeAlias(), Nektar::SolverUtils::EquationSystem::ImportFld(), Nektar::AdjointAdvection::ImportFldBase(), Nektar::LinearisedAdvection::ImportFldBase(), Nektar::SolverUtils::EquationSystem::ImportFldToMultiDomains(), Nektar::StdRegions::StdExpansion::LaplacianMatrixOp_MatFree(), Nektar::StdRegions::StdExpansion::LinearAdvectionDiffusionReactionMatrixOp_MatFree(), Nektar::CellModel::LoadCellModel(), main(), MoveOutsidePointsNnormpos(), Nektar::Utilities::ProcessSpherigon::Process(), Nektar::Utilities::ProcessQCriterion::Process(), Nektar::CoupledLinearNS::SetUpCoupledMatrix(), Nektar::VelocityCorrectionScheme::SetUpPressureForcing(), Nektar::MultiRegions::AssemblyMapCG::SetUpUniversalC0ContMap(), Nektar::APEUpwindSolver::Solve1D(), Nektar::CoupledLinearNS::SolveLinearNS(), Diffusion::TimeIntegrate(), Nektar::LibUtilities::TimeIntegrationScheme::TimeIntegrate(), Nektar::LocalRegions::Expansion1D::v_AddRobinEdgeContribution(), Nektar::LocalRegions::Expansion2D::v_AddRobinEdgeContribution(), Nektar::MultiRegions::AssemblyMapCG::v_Assemble(), Nektar::NoAdvection::v_ComputeAdvectionTerm(), Nektar::LocalRegions::TriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::QuadExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::NodalTriExp::v_ComputeEdgeNormal(), Nektar::LocalRegions::PyrExp::v_ComputeFaceNormal(), Nektar::LocalRegions::TetExp::v_ComputeFaceNormal(), Nektar::LocalRegions::PrismExp::v_ComputeFaceNormal(), Nektar::LocalRegions::HexExp::v_ComputeFaceNormal(), Nektar::MultiRegions::GlobalLinSysIterativeFull::v_DoMatrixMultiply(), Nektar::MultiRegions::PreconditionerLinear::v_DoPreconditionerWithNonVertOutput(), Nektar::Laplace::v_DoSolve(), Nektar::SolverUtils::EquationSystem::v_EvaluateExactSolution(), Nektar::LocalRegions::TetExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::PrismExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::HexExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::TriExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::QuadExp::v_ExtractDataToCoeffs(), Nektar::LocalRegions::SegExp::v_ExtractDataToCoeffs(), Nektar::StdRegions::StdNodalPrismExp::v_FillMode(), Nektar::StdRegions::StdNodalTriExp::v_FillMode(), Nektar::StdRegions::StdNodalTetExp::v_FillMode(), Nektar::LocalRegions::Expansion1D::v_GenMatrix(), Nektar::LocalRegions::Expansion3D::v_GenMatrix(), Nektar::LocalRegions::Expansion2D::v_GenMatrix(), Nektar::APE::v_GetFluxVector(), Nektar::MultiRegions::DisContField3D::v_GetFwdBwdTracePhys(), Nektar::MultiRegions::DisContField2D::v_GetFwdBwdTracePhys(), Nektar::MultiRegions::DisContField1D::v_GetFwdBwdTracePhys(), Nektar::MultiRegions::DisContField3D::v_HelmSolve(), Nektar::MultiRegions::DisContField2D::v_HelmSolve(), Nektar::MultiRegions::DisContField1D::v_HelmSolve(), Nektar::MultiRegions::AssemblyMapCG::v_LinearSpaceMap(), Nektar::LocalRegions::SegExp::v_PhysDeriv_n(), Nektar::LocalRegions::SegExp::v_PhysDeriv_s(), Nektar::LocalRegions::TetExp::v_ReduceOrderCoeffs(), Nektar::LocalRegions::PrismExp::v_ReduceOrderCoeffs(), Nektar::LocalRegions::HexExp::v_ReduceOrderCoeffs(), Nektar::StdRegions::StdQuadExp::v_ReduceOrderCoeffs(), Nektar::LocalRegions::QuadExp::v_ReduceOrderCoeffs(), Nektar::SolverUtils::EquationSystem::v_SetInitialConditions(), Nektar::SolverUtils::FilterEnergy::v_Update(), Nektar::CourtemancheRamirezNattel98::v_Update(), Nektar::SolverUtils::FilterAeroForces::v_Update(), Nektar::SolverUtils::DiffusionLDGNS::v_WeakPenaltyO1(), Nektar::SolverUtils::DiffusionLFRNS::v_WeakPenaltyO1(), Nektar::SolverUtils::EquationSystem::WeakAdvectionGreensDivergenceForm(), Zero(), and Nektar::SolverUtils::EquationSystem::ZeroPhysFields().
template void Vmath::Zero | ( | int | n, |
Nektar::NekDouble * | x, | ||
const int | incx | ||
) |
template void Vmath::Zero | ( | int | n, |
int * | x, | ||
const int | incx | ||
) |
template void Vmath::Zero | ( | int | n, |
long * | x, | ||
const int | incx | ||
) |