Contraint Function signature
an array of length 3 representing either the traction or the displacement vector
The id of the triangle for the considered triangulated discontinuity (surface)
an array of length 3 representing either the modified traction or displacement vector
The signature of the stress function for UserRemote and UserRemoteCB
Function callback for the onProgress
method on Solution
The current index
The current percentage
solver.run()
const solution = new arch.Solution(model)
solution.onProgress( (i,p) => {
console.log(`nb-pts so far: ${i}, realized: ${p.toFixed(0)}%`))
}
solution.displ(positions)
Function callback for the onProgress
method on Forward
The current iteration
The current residual
The context. 1 is for the matrix building. 2 is for the system solving.
Get the remaining months for the arch library before to be obsolete and useless. We make the library obsolete after few months in order to force the user to use a more recent version. Therefore, sometime it can be necessary to purge the cache of the web-browser, or replace the node.js arch-library by a new one.
The number of valid months
A flat array of Tensor, meaning the array is represented as
[xx, xy, xz, yy, yz, zz ... xx, xy, xz, yy, yz, zz]
The number of Tensor is given by
There's multiple ways to iterate over all Tensor:
or