Helper namespace containing function that computes second invariant of tensor. More...
Functions | |
double | second_invariant (const DenseMatrix< double > &tensor) |
Compute second invariant of tensor. More... | |
Helper namespace containing function that computes second invariant of tensor.
double oomph::SecondInvariantHelper::second_invariant | ( | const DenseMatrix< double > & | tensor | ) |
Compute second invariant of tensor.
Definition at line 163 of file oomph_utilities.cc.
References i, and oomph::DenseMatrix< T >::nrow().
Referenced by oomph::GeneralisedNewtonianAxisymmetricNavierStokesEquations::fill_in_generic_residual_contribution_axi_nst(), oomph::RefineableGeneralisedNewtonianAxisymmetricNavierStokesEquations::fill_in_generic_residual_contribution_axi_nst(), oomph::GeneralisedNewtonianNavierStokesEquations< DIM >::fill_in_generic_residual_contribution_nst(), oomph::RefineableGeneralisedNewtonianNavierStokesEquations< DIM >::fill_in_generic_residual_contribution_nst(), oomph::GeneralisedNewtonianNavierStokesEquations< DIM >::get_traction(), oomph::GeneralisedNewtonianAxisymmetricNavierStokesEquations::max_and_min_invariant_and_viscosity(), oomph::GeneralisedNewtonianNavierStokesEquations< DIM >::max_and_min_invariant_and_viscosity(), and oomph::GeneralisedNewtonianAxisymmetricNavierStokesEquations::traction().