Options
All
  • Public
  • Public/Protected
  • All
Menu
brief

Allows to change the convention of the computed displcement discontinuity (also known as Burger vectors). By default, the convention is as described by Okada. It is possible to use another convention such as the one defined in Poly3D by mean of this class.

In order to do that, you will have to write the following code:

// Switch from Okada to Poly3D convention
//
// We recall that the Okada convention (the default one)
// is as follow:
// filter.setAxisOrder (['normal', 'strike', 'dip'])
// filter.setAxisRevert([ false , false , false])

const filter = new arch.BurgerFilter()

// x y z
filter.setAxisOrder (['dip', 'strike', 'normal'])
filter.setAxisRevert([ true, false , false ])

const burgers = filter.apply( surface.displ() )

Then, your burgers variable will be in Poly3D convention.

The right image shows the default convention used in Arch (Okada) for which the z-axis is along the dip direction but reverted compared to Poly3D convention (left image). The x-axis corresponds to the normal of the triangular element, whereas for Poly3D it is the dip direction.

Hierarchy

  • BurgerFilter

Index

Constructors

Methods

  • setAxisOrder(order: [string, string, string]): void
  • brief

    The order of the axis. An array of 3 strings which can be either dip, strike or normal. Typically, this property is used to order the components of the displacement when calling Surface.displ, Surface.displPlus or Surface.displMinus (or equivalently Solution.burgers, Solution.burgersPlus or Solution.burgersMinus).

    default

    ['normal','strike','dip']

    // This correspond to the Okada convention which is the default one
    // Therefore, the following filter does nothing
    const filter = new arch.BurgerFilter()
    filter.setAxisOrder (['dip', 'strike', 'normal'])
    filter.setAxisRevert([ true, false , false ])
    const burgers = filter.apply( surface.displ() )
    see

    {@link axisRevert}

    Parameters

    • order: [string, string, string]

    Returns void

  • setAxisRevert(revert: [boolean, boolean, boolean]): void
  • brief

    Revert of the displacement vectors axis.

    default

    [false,false,false]

    see

    {@link axisOrder}

    Parameters

    • revert: [boolean, boolean, boolean]

    Returns void

  • setupOkada(): void
  • brief

    Convenient method to switch to Okada convention (default one). It corresponds to

    axisOrder  = ['normal', 'strike', 'dip']
    axisRevert = [false , false , false]

    Returns void

  • setupPoly3D(): void
  • brief

    Convenient method to switch to Poly3D convention. It corresponds to

    axisOrder  = ['dip', 'strike', 'normal']
    axisRevert = [true , false , false ]

    Returns void