Options
All
  • Public
  • Public/Protected
  • All
Menu

A Arch model comprises a set of active objects (Surface discontinuities), a [[Material]] and a set of Remotes.

Hierarchy

  • Model

Index

Constructors

Methods

  • brief

    Add a remote (strain or stress) to the model

    example
    model.addRemote(myRemote)
    
    see

    UserRemote

    Parameters

    Returns void

  • Add a Surface discontinuity made of triangles in the model

    Parameters

    Returns void

  • bounds(): number[]
  • brief

    Get the bounds of the model (min/max of each dimension).

    Returns number[]

    An array of size 6 comprising [minX, minY, minZ, maxX, maxY, maxZ]

  • check(): any
  • Check if the model is correctly setup

    Returns any

  • forEachTriangle(cb: (t: Triangle, i: number) => void): void
  • Parameters

    Returns void

  • nbDof(): number
  • brief

    Get the number of dof (degree of freedom) of the model

    Returns number

  • setHalfSpace(b: boolean): void
  • brief

    Set the model to in half-space or whole-space. By default the model is in whole-space. An explanation of whole-space versus half-space is given by the following figure

    default

    false

    Parameters

    • b: boolean

    Returns void

  • setMaterial(poisson: number, young: number, density: number): void
  • Parameters

    • poisson: number
    • young: number
    • density: number

    Returns void