calcNvB

| main | Tutorials | Functions | website |

Computes the product N x v x B in vectorized manner, where N are the shape function values, v is the velocity and B the shape function derivatives. This function is used internally. Based on the options selects the appropriate function to perform the vectorized computations

Version : 1.0

Author : George Kourakos

email: giorgk@gmail.com

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

Date 28-Mar-2014

Department of Land Air and Water

University of California Davis

Contents

Usage

NvB = calcNvB(N, v, B, opt, ii)

Input

N: shape functions

v: velocity

B: shape function derivatives

opt: option structure. for details see Assemble_LHS_std

ii: in case of nested calculation this defines which loop well be calculated. (Currently this is not used)

Output

NvB: the product N x v x B computed in vectorized manner

| main | Tutorials | Functions | website |