# initialize_BEM

| main | Tutorials | Functions | website |

Initialize the matrix that will hold the shape functions derivatives values. This is used internaly during the assemble of glabal conductance matrix

Version : 1.0

Author : George Kourakos

email: giorgk@gmail.com

web : http://groundwater.ucdavis.edu/msim

Date 18-Mar-2014

Department of Land Air and Water

University of California Davis

## Contents

## Usage

BEM = initialize_BEM(Nel, opt)

## Inputs

* Nel*: Number of elements

* opt* : structure with the following fields:

*dim* : dimension of the problem

*el_type* : element type (e.g. triangle, quad, prism, hex)

*el_order* : element order, linear or quadratic

## Output:

BEM [Nel x N_sh^2], where N_sh is the number of shape functions per element