Documentation ¶
Index ¶
- type Edge
- type HSTRAT
- type Material
- type MeshQuality
- type Slice
- func (sl *Slice) ElementPerimeter(eid int) [][]float64
- func (sl *Slice) ElementToTriangle(eid int) *mmaths.Triangle
- func (sl *Slice) Extent() *mmaths.Extent
- func (sl *Slice) GetEdges() []Edge
- func (sl *Slice) LineToElementIDs(x0, y0, x1, y1 float64) []int
- func (sl *Slice) LineToNodeIDs(x0, y0, x1, y1 float64) []int
- func (sl *Slice) PointToElementID(x, y float64) int
- func (sl *Slice) Quality() []MeshQuality
- func (sl *Slice) SaveAs(fp string) error
- func (sl *Slice) SurroundingElements(eid, levels int) []int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HSTRAT ¶
type HSTRAT struct { Nam string Nn, Ne, Nly, Epl int MinThick float64 // minimum thickness Nxyz, Vxyz [][]float64 // node coordinates, velocities Exr, Nxr [][]int // element-node & node-element cross-reference Nh []float64 // nodal heads Hgeo []Material // material properties }
func (*HSTRAT) BuildElementalConnectivity ¶
type MeshQuality ¶
type Slice ¶
type Slice struct { Nodes [][]float64 Elements, NExr [][]int Name string // contains filtered or unexported fields }
Slice struct of a finite element mesh
func ReadAlgomesh ¶
ReadAlgomesh imports a Algomesh grids in .ah2 or .ah3
func (*Slice) ElementPerimeter ¶
func (*Slice) LineToElementIDs ¶
func (*Slice) LineToNodeIDs ¶
func (*Slice) PointToElementID ¶
func (*Slice) Quality ¶
func (sl *Slice) Quality() []MeshQuality
func (*Slice) SurroundingElements ¶
Click to show internal directories.
Click to hide internal directories.