C# Class LWisteria.StudiesOfOpenTK.SimpleCloo.ComputerCL

OpenCLでの計算プログラム
Inheritance: Computer
Show file Open project: aokomoriuta/StudiesOfOpenTK Class Usage Examples

Public Properties

Property Type Description
Devices ReadOnlyCollection
Platform Cloo.ComputePlatform

Public Methods

Method Description
ComputerCL ( double maxDt, double a, double omega ) : System

OpenCLでの計算プログラムを作成する

GetParticles ( ) : LWisteria.StudiesOfOpenTK.SimpleCloo.Particle[]

現在の粒子を取得する

Next ( ) : void

計算を1ステップ進める

Method Details

ComputerCL() public method

OpenCLでの計算プログラムを作成する
public ComputerCL ( double maxDt, double a, double omega ) : System
maxDt double 初期時間刻み
a double 振幅
omega double 角速度
return System

GetParticles() public method

現在の粒子を取得する
public GetParticles ( ) : LWisteria.StudiesOfOpenTK.SimpleCloo.Particle[]
return LWisteria.StudiesOfOpenTK.SimpleCloo.Particle[]

Next() public method

計算を1ステップ進める
public Next ( ) : void
return void

Property Details

Devices public property

このプログラムで使用するデバイス群
public ReadOnlyCollection Devices
return ReadOnlyCollection

Platform public property

このプログラムで使用するプラットフォーム
public ComputePlatform,Cloo Platform
return Cloo.ComputePlatform