载入中...
搜索中...
未找到
eve::physics::RadialField结构体 参考

Softened inverse-square field; positive strength attracts, negative repels. 更多...

#include <ForceModels.h>

Public 属性

FieldRegion region
 
double strength = 1
 Gravitational parameter in m^3/s^2, not a relativistic black hole.
 
double softening = 0.1
 Strictly positive core radius in meters.
 
double maxAcceleration = std::numeric_limits<double>::max()
 Finite nonnegative m/s^2 cap after region fade.
 
double maxForce
 Finite nonnegative N cap, applied together with acceleration cap.
 

详细描述

Softened inverse-square field; positive strength attracts, negative repels.

在文件 ForceModels.h 第 44 行定义.

类成员变量说明

◆ maxAcceleration

double eve::physics::RadialField::maxAcceleration = std::numeric_limits<double>::max()

Finite nonnegative m/s^2 cap after region fade.

在文件 ForceModels.h 第 48 行定义.

◆ maxForce

double eve::physics::RadialField::maxForce
初始值:
=
std::numeric_limits<double>::max()

Finite nonnegative N cap, applied together with acceleration cap.

在文件 ForceModels.h 第 49 行定义.

◆ region

FieldRegion eve::physics::RadialField::region

在文件 ForceModels.h 第 45 行定义.

◆ softening

double eve::physics::RadialField::softening = 0.1

Strictly positive core radius in meters.

在文件 ForceModels.h 第 47 行定义.

◆ strength

double eve::physics::RadialField::strength = 1

Gravitational parameter in m^3/s^2, not a relativistic black hole.

在文件 ForceModels.h 第 46 行定义.


该结构体的文档由以下文件生成: