Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cube ¶
type Cube struct { Object // parameters are center and side length Center mgl64.Vec3 Side float64 Rho float64 }
func (*Cube) MinFeatureSize ¶
type Cylinder ¶
type Cylinder struct { Object // cylinder is a line segment with thickness P0, P1 mgl64.Vec3 Radius float64 Rho float64 }
func (*Cylinder) MinFeatureSize ¶
type ObjectCollection ¶
type ObjectCollection struct {
Objects []Object
}
func (*ObjectCollection) Density ¶
func (oc *ObjectCollection) Density(x, y, z float64) float64
func (*ObjectCollection) FromMap ¶
func (oc *ObjectCollection) FromMap(data map[string]interface{}) error
func (*ObjectCollection) MinFeatureSize ¶
func (oc *ObjectCollection) MinFeatureSize() float64
func (*ObjectCollection) ToMap ¶
func (oc *ObjectCollection) ToMap() map[string]interface{}
type Sphere ¶
type Sphere struct { Object // parameters are center and radius Center mgl64.Vec3 Radius float64 Rho float64 }
func (*Sphere) MinFeatureSize ¶
type TessellatedObjColl ¶
type TessellatedObjColl struct { // lattice is given by unit cell and bounds for tessellation UC UnitCell Xmin, Xmax, Ymin, Ymax, Zmin, Zmax float64 }
func (*TessellatedObjColl) Density ¶
func (l *TessellatedObjColl) Density(x, y, z float64) float64
func (*TessellatedObjColl) FromMap ¶
func (l *TessellatedObjColl) FromMap(data map[string]interface{}) error
func (*TessellatedObjColl) ToMap ¶
func (l *TessellatedObjColl) ToMap() map[string]interface{}
type UnitCell ¶
type UnitCell struct { // object collection. But overload density method and provide bounds Struts ObjectCollection Xmin, Xmax, Ymin, Ymax, Zmin, Zmax float64 }
func MakeKelvin ¶
Click to show internal directories.
Click to hide internal directories.