2010-02-05 05:33:18 +08:00
|
|
|
/* ----------------------------------------------------------------------
|
|
|
|
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
|
|
|
http://lammps.sandia.gov, Sandia National Laboratories
|
|
|
|
Steve Plimpton, sjplimp@sandia.gov
|
2009-08-14 00:05:41 +08:00
|
|
|
|
2010-02-05 05:33:18 +08:00
|
|
|
Copyright (2003) Sandia Corporation. Under the terms of Contract
|
2009-08-14 00:05:41 +08:00
|
|
|
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
|
|
|
|
certain rights in this software. This software is distributed under
|
|
|
|
the GNU General Public License.
|
2010-02-05 05:33:18 +08:00
|
|
|
|
|
|
|
See the README file in the top-level LAMMPS directory.
|
|
|
|
------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------
|
|
|
|
Contributing authors: Mike Brown (SNL), wmbrown@sandia.gov
|
|
|
|
Peng Wang (Nvidia), penwang@nvidia.com
|
|
|
|
Paul Crozier (SNL), pscrozi@sandia.gov
|
|
|
|
------------------------------------------------------------------------- */
|
2009-08-14 00:05:41 +08:00
|
|
|
|
|
|
|
#ifndef NVC_TEXTURE_TRAITS_H
|
|
|
|
#define NVC_TEXTURE_TRAITS_H
|
|
|
|
|
|
|
|
template <class numtyp> class nvc_vec_traits;
|
|
|
|
template <> class nvc_vec_traits<float> { public: typedef float2 vec2; };
|
|
|
|
template <> class nvc_vec_traits<double> { public: typedef double2 vec2; };
|
|
|
|
|
|
|
|
#endif
|