C# Class NBody.NBody

Inheritance: IDisposable
Show file Open project: takayuki/opensim-pcproject Class Usage Examples

Private Properties

Property Type Description
Swap void
dot float

Public Methods

Method Description
Dispose ( ) : void
GetResource ( string fullname ) : byte[]
Initialize ( ) : void
Load ( OtpMbox mbox, OtpErlangPid pid, string script ) : OtpErlangTuple
Main ( string args ) : void
NBody ( CUDA CUDA, float DeltaTime, float Damping, int NumBodies ) : System
Update ( ulong frame ) : void

Private Methods

Method Description
Swap ( ) : void
dot ( Float4 a, Float4 b ) : float

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetResource() public static method

public static GetResource ( string fullname ) : byte[]
fullname string
return byte[]

Initialize() public method

public Initialize ( ) : void
return void

Load() public static method

public static Load ( OtpMbox mbox, OtpErlangPid pid, string script ) : OtpErlangTuple
mbox OtpMbox
pid OtpErlangPid
script string
return OtpErlangTuple

Main() public static method

public static Main ( string args ) : void
args string
return void

NBody() public method

public NBody ( CUDA CUDA, float DeltaTime, float Damping, int NumBodies ) : System
CUDA CUDA
DeltaTime float
Damping float
NumBodies int
return System

Update() public method

public Update ( ulong frame ) : void
frame ulong
return void