OptFEM3DP1 Toolbox: Opt/ComputeGradientVec.m File Reference

| OptFEM3DP1 Toolbox 20130614_170440 Matlab/Octave Optimized P1-Lagrange Finite Element Method in 3D

- Main Page
- Related Pages
- Files

- File List
- File Members

All Files Functions Variables Pages
Functions
ComputeGradientVec.m File Reference

Compute, for each tetraedra, the gradients of the 4 local -Lagrange basis functions multiply by . More...

Go to the source code of this file.

## Functions
function G = | ComputeGradientVec (q, me)
| Compute, for each tetraedra, the gradients of the 4 local -Lagrange basis functions multiply by .

## Detailed Description

Compute, for each tetraedra, the gradients of the 4 local -Lagrange basis functions multiply by .

Definition in file ComputeGradientVec.m.

## Function Documentation

function G = ComputeGradientVec | ( |  | q,
|  |  | me
| ) |  |

Compute, for each tetraedra, the gradients of the 4 local -Lagrange basis functions multiply by .

Parameters

  q | Array of vertices coordinates, 3-by-nq array. q(il,j) is the il-th coordinate of the j-th vertex, il in {1,3} and j in {1,...,nq}.
  me | Connectivity array, array. is the storage index of the -th vertex of the -th tetrahedron in the array of vertices coordinates, and .

Return values

  G | array of 4 cells. each cell is an 3-by-nme array.
  G{il}(,k) | is times the gradient of the local -Lagrange basis function associated to point on the the tetrahedron .
  Copyright | See License issues

Definition at line 17 of file ComputeGradientVec.m.