Geometry

SmoothedParticles.BallType
Ball(x1::Float64, x2::Float64, x3::Float64, r::Float64) <: Shape

Define a ball by specifying the center (x1, x2, x3) and the radius r.

source
SmoothedParticles.BoundaryLayerType
BoundaryLayer(s::Shape, grid::Grid, width::Float64) <: Shape

Creates a layer of certain width around shape s. More specifically, a point is inside boundary layer if it is not in s and at the same time has distance less than width to at least one point on grid in s.

source
SmoothedParticles.BoxType
Box(x1_min::Float64, x2_min::Float64, x3_min::Float64,
    x1_max::Float64, x2_max::Float64, x3_max::Float64)::Shape

Defines a box specified by two corners.

source
SmoothedParticles.CircleType
Circle(x1::Float64, x2::Float64, r::Float64) <: Shape

Define a circle by specifying the center (x1, x2) and the radius r.

source
SmoothedParticles.EllipseType
Ellipse(x1::Float64, x2::Float64, r1::Float64, r2::Float64) <: Shape

Define an ellipse by specifying the center (x1, x2) and semi-major/minor axes r1, r2.

source
SmoothedParticles.EllipsoidType
Ellipsoid(x1::Float64, x2::Float64, x3::Float64, r1::Float64, r2::Float64, r3::Float64) <: Shape

Define an ellipsoid by specifying the center (x1, x2, x3) and three radii r1,r2,r3.

source
SmoothedParticles.TransformType
Transform(s::Shape; A::RealMatrix = MAT1, b::RealVector = VEC0)

Define shape as a linear transform $x \to Ax + b$ applied to shape s.

source