www.mooseframework.org
PermutationTensor.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef PERMUTATIONTENSOR_H
16 #define PERMUTATIONTENSOR_H
17 
28 {
32 int eps(unsigned int i, unsigned int j);
33 
37 int eps(unsigned int i, unsigned int j, unsigned int k);
38 
42 int eps(unsigned int i, unsigned int j, unsigned int k, unsigned int l);
43 }
44 
45 #endif // PERMUTATIONTENSOR_H
int eps(unsigned int i, unsigned int j)
2D version
Utility functions to return the permutation pseudo tensor in 2D, 3D or 4D.