index_real: Get indices of all real nodes

View source: R/flownet_finitedifferences.R

index_realR Documentation

Get indices of all real nodes

Description

Get an array of the indices of all real nodes in a rectangular grid. For node numbering, see function 'findiff_sparse_elements()'

Usage

index_real(nx, ny, i0 = 0, real_only = FALSE, ...)

Arguments

nx

number of real nodes in x and y-direction

ny

number of real nodes in x and y-direction

i0

node starting number (index of first node minus 1)

real_only

if 'TRUE', only real nodes are numbered. if 'FALSE', all ghost nodes are included in the numbering as well

...

additional optional arguments

Value

array of indices for all real nodes (non-ghost nodes)


GJMeijer/soilmech documentation built on May 22, 2022, 10:39 a.m.