Index
Modules:
nimfem
,
src/assembly
,
src/dense
,
src/io
,
src/iterative_methods
,
src/mesh
,
src/quadrature
,
src/sparse
,
src/triangle
.
API symbols
`$`:
dense: `$`(matrix: Matrix): string
sparse: `$`(A: SparseMatrix): string
`*`:
dense: `*`[N](a: float; b: Vector[N]): Vector[N]
dense: `*`(a: Matrix; b: float): Matrix
dense: `*`[M, N](A: Matrix[M, N]; b: Vector[N]): Vector[M]
dense: `*`[M, P, N](a: Matrix[M, P]; b: Matrix[P, N]): Matrix[M, N]
sparse: `*`(a: float; b: DynamicVector): DynamicVector
sparse: `*`(A: SparseMatrix; b: DynamicVector): DynamicVector
`+`:
dense: `+`(a, b: Matrix): Matrix
dense: `+`[N](a, b: Vector[N]): Vector[N]
sparse: `+`(a, b: DynamicVector): DynamicVector
`-`:
dense: `-`[N](a, b: Vector[N]): Vector[N]
sparse: `-`(a, b: DynamicVector): DynamicVector
`[]=`:
dense: `[]=`(matrix: var Matrix; row, col: int; value: float)
`[]`:
dense: `[]`(matrix: Matrix; row, col: int): float
applyBC:
assembly: applyBC(f: var DynamicVector; mesh: Mesh; bc: proc (x: Vector[2]): float)
assembleMatrix:
assembly: assembleMatrix[M, N, D](f: proc (x: Vector[D]; J: Matrix[D, D]): Matrix[M, N]; mesh: Mesh): SparseMatrix
assembleVector:
assembly: assembleVector[N, D](f: proc (x: Vector[D]; J: Matrix[D, D]): Vector[N]; mesh: Mesh): DynamicVector
cols:
dense: cols(matrix: Matrix): int
sparse: cols(A: SparseMatrix): int
conjugate_gradient:
iterative_methods: conjugate_gradient(A: SparseMatrix; b: DynamicVector): DynamicVector
derivativeShapeFunctions:
triangle: derivativeShapeFunctions(): Matrix[2, 3]
determinant:
dense: determinant(a: Matrix[2, 2]): float
dim:
mesh: dim(e: Element): int
dot:
sparse: dot(a, b: DynamicVector): float
DynamicVector:
sparse: DynamicVector
getEntry:
sparse: getEntry(A: SparseMatrix; i, j: int): float
getIndex:
sparse: getIndex(A: SparseMatrix; i, j: int): int
incomplete_lu:
iterative_methods: incomplete_lu(A: SparseMatrix): SparseMatrix
inv:
dense: inv(a: Matrix[2, 2]): Matrix[2, 2]
jacobian:
triangle: jacobian(nodes: array[3, array[2, float]]): Matrix[2, 2]
LagrangeLine:
mesh: LagrangeLine(order: int): Element
LagrangeTetrahedron:
mesh: LagrangeTetrahedron(order: int): Element
LagrangeTriangle:
mesh: LagrangeTriangle(order: int): Element
Matrix:
dense: Matrix
Mesh:
mesh: Mesh
newVector:
sparse: newVector(size: int): DynamicVector
nonzero_bounds_row:
sparse: nonzero_bounds_row(A: SparseMatrix; row: int): (int, int)
norm:
sparse: norm(a: DynamicVector): float
num_nodes:
mesh: num_nodes(e: Element): int
preconditioned_cg:
iterative_methods: preconditioned_cg(A: SparseMatrix; C: SparseMatrix; b: DynamicVector): DynamicVector
readDolfinXml:
mesh: readDolfinXml(element: static[Element]; filename: string): Mesh[element]
rows:
dense: rows(matrix: Matrix): int
sparse: rows(A: SparseMatrix): int
setDiagonalRows:
sparse: setDiagonalRows(A: var SparseMatrix; rows: seq[int])
shape:
dense: shape(matrix: Matrix): (int, int)
shapeFunctions:
triangle: shapeFunctions(x: Vector[2]): Vector[3]
size:
sparse: size(vector: DynamicVector): int
SparseMatrix:
sparse: SparseMatrix
toCSR:
sparse: toCSR(Ai, Aj: seq[int]; Ax: seq[float]): SparseMatrix
transform:
mesh: transform(mesh: Mesh; f: proc (x: float): float): Mesh
transpose:
dense: transpose[M, N](matrix: Matrix[M, N]): Matrix[N, M]
triSecondOrderQuadrature:
quadrature: triSecondOrderQuadrature[N, D](f: proc (x: Vector[D]; J: Matrix[D, D]): Matrix[ N, N]; nodes: array[N, array[D, float]]): Matrix[N, N]
triSecondOrderQuadratureVec:
quadrature: triSecondOrderQuadratureVec[N, D](f: proc (x: Vector[D]; J: Matrix[D, D]): Vector[ N]; nodes: array[N, array[D, float]]): Vector[N]
UnitIntervalMesh:
mesh: UnitIntervalMesh(n: int): Mesh[LagrangeLine(1)]
UnitSquareMesh:
mesh: UnitSquareMesh(n: int): Mesh[LagrangeTriangle(1)]
Vector:
dense: Vector
writeVTK:
io: writeVTK(filename: string; mesh: Mesh; u: DynamicVector)