File: AdBaseFunctions.h

package info (click to toggle)
adun.app 0.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 6,824 kB
  • ctags: 713
  • sloc: objc: 49,683; ansic: 4,680; sh: 523; python: 79; makefile: 67; cpp: 33
file content (14 lines) | stat: -rw-r--r-- 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _ADBASEFUNCTIONS_
#define _ADBASEFUNCTIONS_

#include <Base/AdMatrix.h>

/**
Calculates the kinetic energy 
of particles with velocities \e velocities and
masses \e masses.
*/

inline double AdCalculateKineticEnergy(DoubleMatrix* velocities, double* masses);

#endif