IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
A modified sphere, which had a cylinder shape cut out of it. More...
Public Member Functions | |
delegate double | TransformationRule (double uniformlyDistributed) |
void | CalculateMassAndCOM () |
Calculates the mass and the center of mass. Set the transformation rules first. More... | |
Public Attributes | |
int | NSamplePoints = 50000 |
The number of points to be seeded into the sphere. More... | |
double | Density = 1.0 |
The density "function". It is actually a constant in both of our cases. More... | |
double | V = 4 * Math.PI / 3 |
Sphere volume. More... | |
double | Mass = 0.0 |
The mass of the modified spehere. More... | |
double | MassRelError = 0.0 |
double | XCOM = 0.0 |
X-coordinate of the center of mass. More... | |
double | XCOMRelError = 0.0 |
double | YCOM = 0.0 |
Y-coordinate of the center of mass. More... | |
double | YCOMRelError = 0.0 |
double | ZCOM = 0.0 |
Z-coordinate of the center of mass. More... | |
double | ZCOMRelError = 0.0 |
TransformationRule | transformR |
An access point to the rule for seeding in the r-direction. More... | |
TransformationRule | transformTheta |
An access point to the rule for seeding in the theta-direction. More... | |
TransformationRule | transformPhi |
An access point to the rule for seeding in the phi-direction. More... | |
Private Attributes | |
Random | RNG = new Random() |
An RNG with a uniform distribution. More... | |
A modified sphere, which had a cylinder shape cut out of it.
delegate double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.TransformationRule | ( | double | uniformlyDistributed | ) |
|
inline |
Calculates the mass and the center of mass. Set the transformation rules first.
Referenced by IG.MPetekLib.Application.Scripts.CompPhys._06MCarloCenterMass.Run().
int IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.NSamplePoints = 50000 |
The number of points to be seeded into the sphere.
Referenced by IG.MPetekLib.Application.Scripts.CompPhys._06MCarloCenterMass.Run().
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.Density = 1.0 |
The density "function". It is actually a constant in both of our cases.
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.V = 4 * Math.PI / 3 |
Sphere volume.
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.Mass = 0.0 |
The mass of the modified spehere.
Referenced by IG.MPetekLib.Application.Scripts.CompPhys._06MCarloCenterMass.Run().
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.MassRelError = 0.0 |
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.XCOM = 0.0 |
X-coordinate of the center of mass.
Referenced by IG.MPetekLib.Application.Scripts.CompPhys._06MCarloCenterMass.Run().
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.XCOMRelError = 0.0 |
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.YCOM = 0.0 |
Y-coordinate of the center of mass.
Referenced by IG.MPetekLib.Application.Scripts.CompPhys._06MCarloCenterMass.Run().
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.YCOMRelError = 0.0 |
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.ZCOM = 0.0 |
Z-coordinate of the center of mass.
Referenced by IG.MPetekLib.Application.Scripts.CompPhys._06MCarloCenterMass.Run().
double IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.ZCOMRelError = 0.0 |
TransformationRule IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.transformR |
An access point to the rule for seeding in the r-direction.
Referenced by IG.MPetekLib.Application.Scripts.CompPhys._06MCarloCenterMass.Run().
TransformationRule IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.transformTheta |
An access point to the rule for seeding in the theta-direction.
Referenced by IG.MPetekLib.Application.Scripts.CompPhys._06MCarloCenterMass.Run().
TransformationRule IG.MPetekLib.Algorithms.Models.CompPhys.MonteCarloSphere.transformPhi |
An access point to the rule for seeding in the phi-direction.
Referenced by IG.MPetekLib.Application.Scripts.CompPhys._06MCarloCenterMass.Run().
|
private |
An RNG with a uniform distribution.