OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
Vector3.hpp File Reference
#include <cassert>
#include <cmath>
#include "Vector.hpp"

Go to the source code of this file.

Classes

class  OpenMD::Vector3< Real >
 

Namespaces

namespace  OpenMD
 This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.
 

Typedefs

using OpenMD::Vector3i = Vector3<int>
 
using OpenMD::Vector3d = Vector3<RealType>
 

Functions

template<typename Real >
Vector3< Real > OpenMD::cross (const Vector3< Real > &v1, const Vector3< Real > &v2)
 Returns the cross product of two Vectors.
 
template<typename Real >
Real OpenMD::Vlinear (const Vector3< Real > &p, const Vector3< Real > &s)
 Returns the linear indexing for integer vectors.
 

Variables

const Vector3d OpenMD::V3Zero (0.0, 0.0, 0.0)
 
const Vector3d OpenMD::V3X (1.0, 0.0, 0.0)
 
const Vector3d OpenMD::V3Y (0.0, 1.0, 0.0)
 
const Vector3d OpenMD::V3Z (0.0, 0.0, 1.0)
 

Detailed Description

Author
Teng Lin
Date
09/14/2004
Version
1.0

Definition in file Vector3.hpp.