MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
vector.hpp File Reference

Go to the source code of this file.

Classes

class  mfem::Vector
 Vector data type. More...
 

Namespaces

namespace  mfem
 

Functions

int mfem::CheckFinite (const real_t *v, const int n)
 
real_t mfem::infinity ()
 Define a shortcut for std::numeric_limits<double>::infinity()
 
real_t mfem::rand_real ()
 Generate a random real_t number in the interval [0,1) using rand().
 
template<typename T >
mfem::ZeroSubnormal (T val)
 
bool mfem::IsFinite (const real_t &val)
 
template<>
void mfem::Swap< Vector > (Vector &a, Vector &b)
 Specialization of the template function Swap<> for class Vector.
 
real_t mfem::DistanceSquared (const real_t *x, const real_t *y, const int n)
 
real_t mfem::Distance (const real_t *x, const real_t *y, const int n)
 
real_t mfem::Distance (const Vector &x, const Vector &y)
 
real_t mfem::InnerProduct (const Vector &x, const Vector &y)
 Returns the inner product of x and y.
 
real_t mfem::InnerProduct (MPI_Comm comm, const Vector &x, const Vector &y)
 Returns the inner product of x and y in parallel.