matrix_sparse_head_quadrilateral: Obtain sparse linear system for solving hydraulic head...

View source: R/flownet_quadrilateral_old.R View source: R/flownet_quadrilateral.R

matrix_sparse_head_quadrilateralR Documentation

Obtain sparse linear system for solving hydraulic head (quadrilateral)

Description

Take the geometry and boundary conditions of a flownet problem consisting of connected quadrilateral domains, and returns the matrix and vector of the linear finite difference problem

Take the geometry and boundary conditions of a flownet problem consisting of connected quadrilateral domains, and returns the matrix and vector of the linear finite difference problem

Usage

matrix_sparse_head_quadrilateral(df)

matrix_sparse_head_quadrilateral(df)

Arguments

df

list with tibbles describing the problem, see function 'flownet_geometry_quadrilateral()' for more information

Value

list with two elements. 'mat' contains a tibble with all sparse matrix elements ('row', 'col', 'val'), and 'lhs' contains a vector with all left-hand side of equation values

list with two elements. 'mat' contains a tibble with all sparse matrix elements ('row', 'col', 'val'), and 'lhs' contains a vector with all left-hand side of equation values

Examples

df <- flownet_geometry_quadrilateral()
matrix_sparse_head_quadrilateral(df)
df <- flownet_geometry_quadrilateral()
matrix_sparse_head_quadrilateral(df)

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