Utility functions to return the permutation pseudo tensor in 2D, 3D or 4D. More...
Functions | |
int | eps (unsigned int i, unsigned int j) |
2D version More... | |
int | eps (unsigned int i, unsigned int j, unsigned int k) |
3D version More... | |
int | eps (unsigned int i, unsigned int j, unsigned int k, unsigned int l) |
4D version More... | |
Utility functions to return the permutation pseudo tensor in 2D, 3D or 4D.
eps(i1, i2, ..., iD) = +1 if (i1, i2, ..., iD) is an even permutation of (0, 1, ..., D) -1 if (i1, i2, ..., iD) is an odd permutation of (0, 1, ..., D) 0 otherwise The permutation tensor is also known as the Levi-Civita symbol
2D version
Definition at line 13 of file PermutationTensor.C.
Referenced by PointIndexedMap::attempt_find(), eps(), RankFourTensorTempl< T >::fillGeneralIsotropic(), NonlinearEigenSystem::getSNES(), Moose::SlepcSupport::mooseEPSFormMatrices(), Moose::SlepcSupport::mooseSlepcEigenFormFunctionA(), Moose::SlepcSupport::mooseSlepcEigenFormFunctionAB(), Moose::SlepcSupport::mooseSlepcEigenFormFunctionB(), Moose::SlepcSupport::mooseSlepcEigenFormJacobianA(), Moose::SlepcSupport::mooseSlepcEPSGetSNES(), Moose::SlepcSupport::mooseSlepcEPSMonitor(), Moose::SlepcSupport::mooseSlepcEPSSNESKSPSetPCSide(), Moose::SlepcSupport::mooseSlepcEPSSNESSetCustomizePC(), Moose::SlepcSupport::mooseSlepcEPSSNESSetUpOptionPrefix(), and Moose::SlepcSupport::mooseSlepcStoppingTest().
3D version
Definition at line 23 of file PermutationTensor.C.
4D version
Definition at line 35 of file PermutationTensor.C.