|
libMesh
|
Functions | |
| template<typename T , typename T2 > | |
| LIBMESH_DEVICE_INLINE std::enable_if< ScalarTraits< T >::value &&ScalarTraits< T2 >::value, typenameCompareTypes< T, T2 >::supertype >::type | inner_product (const T &a, const T2 &b) |
| template<typename T , typename T2 > | |
| LIBMESH_DEVICE_INLINE CompareTypes< T, T2 >::supertype | inner_product (const TypeVector< T > &a, const TypeVector< T2 > &b) |
| template<typename T , typename T2 > | |
| LIBMESH_DEVICE_INLINE CompareTypes< T, T2 >::supertype | inner_product (const TypeTensor< T > &a, const TypeTensor< T2 > &b) |
| template<unsigned int N, typename T , typename T2 > | |
| LIBMESH_DEVICE_INLINE CompareTypes< T, T2 >::supertype | inner_product (const TypeNTensor< N, T > &a, const TypeNTensor< N, T2 > &b) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm (const T &a) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE T | norm (std::complex< T > a) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm (const TypeVector< T > &a) -> decltype(TensorTools::norm(T())) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm (const VectorValue< T > &a) -> decltype(TensorTools::norm(T())) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm (const TypeTensor< T > &a) -> decltype(TensorTools::norm(T())) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm (const TensorValue< T > &a) -> decltype(TensorTools::norm(T())) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm_sq (const T &a) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE T | norm_sq (std::complex< T > a) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm_sq (const TypeVector< T > &a) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm_sq (const VectorValue< T > &a) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm_sq (const TypeTensor< T > &a) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE auto | norm_sq (const TensorValue< T > &a) |
| template<typename T > | |
| LIBMESH_DEVICE_INLINE bool | is_zero (const T &a) |
| Number | curl_from_grad (const VectorValue< Number > &) |
| VectorValue< Number > | curl_from_grad (const TensorValue< Number > &grad) |
| Computes the curl of a vector given the gradient of that vector. | |
| TensorValue< Number > | curl_from_grad (const TypeNTensor< 3, Number > &grad) |
| Number | div_from_grad (const VectorValue< Number > &grad) |
| Dummy. Divergence of a scalar not defined, but is needed for ExactSolution to compile. | |
| Number | div_from_grad (const TensorValue< Number > &grad) |
| Computes the divergence of a vector given the gradient of that vector. | |
| VectorValue< Number > | div_from_grad (const TypeNTensor< 3, Number > &grad) |
| VectorValue< Number > libMesh::TensorTools::curl_from_grad | ( | const TensorValue< Number > & | grad | ) |
Computes the curl of a vector given the gradient of that vector.
Definition at line 33 of file tensor_tools.C.
| TensorValue< Number > libMesh::TensorTools::curl_from_grad | ( | const TypeNTensor< 3, Number > & | grad | ) |
Place holder needed for ExactSolution to compile. Will compute the curl of a tensor given the gradient of that tensor.
Definition at line 48 of file tensor_tools.C.
| Number libMesh::TensorTools::curl_from_grad | ( | const VectorValue< Number > & | ) |
Definition at line 28 of file tensor_tools.C.
Referenced by libMesh::ExactSolution::_compute_error().
| Number libMesh::TensorTools::div_from_grad | ( | const TensorValue< Number > & | grad | ) |
Computes the divergence of a vector given the gradient of that vector.
Definition at line 59 of file tensor_tools.C.
| VectorValue< Number > libMesh::TensorTools::div_from_grad | ( | const TypeNTensor< 3, Number > & | grad | ) |
Place holder needed for ExactSolution to compile. Will compute the divergence of a tensor given the gradient of that tensor.
Definition at line 69 of file tensor_tools.C.
| Number libMesh::TensorTools::div_from_grad | ( | const VectorValue< Number > & | grad | ) |
Dummy. Divergence of a scalar not defined, but is needed for ExactSolution to compile.
Definition at line 54 of file tensor_tools.C.
Referenced by libMesh::ExactSolution::_compute_error().
| LIBMESH_DEVICE_INLINE std::enable_if< ScalarTraits< T >::value &&ScalarTraits< T2 >::value, typenameCompareTypes< T, T2 >::supertype >::type libMesh::TensorTools::inner_product | ( | const T & | a, |
| const T2 & | b | ||
| ) |
Definition at line 51 of file tensor_tools.h.
References b.
Referenced by libMesh::FEGenericBase< OutputType >::coarsened_dof_values(), libMesh::FEGenericBase< OutputType >::compute_periodic_constraints(), libMesh::FEGenericBase< OutputType >::compute_proj_constraints(), and libMesh::GenericProjector< FFunctor, GFunctor, FValue, ProjectionAction >::SubProjector::construct_projection().
| LIBMESH_DEVICE_INLINE CompareTypes< T, T2 >::supertype libMesh::TensorTools::inner_product | ( | const TypeNTensor< N, T > & | a, |
| const TypeNTensor< N, T2 > & | b | ||
| ) |
Definition at line 69 of file tensor_tools.h.
References b, and libMesh::TypeNTensor< N, T >::contract().
| LIBMESH_DEVICE_INLINE CompareTypes< T, T2 >::supertype libMesh::TensorTools::inner_product | ( | const TypeTensor< T > & | a, |
| const TypeTensor< T2 > & | b | ||
| ) |
Definition at line 63 of file tensor_tools.h.
References b, and libMesh::TypeTensor< T >::contract().
| LIBMESH_DEVICE_INLINE CompareTypes< T, T2 >::supertype libMesh::TensorTools::inner_product | ( | const TypeVector< T > & | a, |
| const TypeVector< T2 > & | b | ||
| ) |
| LIBMESH_DEVICE_INLINE bool libMesh::TensorTools::is_zero | ( | const T & | a | ) |
Definition at line 134 of file tensor_tools.h.
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm | ( | const T & | a | ) |
Definition at line 74 of file tensor_tools.h.
Referenced by norm_sq().
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm | ( | const TensorValue< T > & | a | ) | -> decltype(TensorTools::norm(T())) |
Definition at line 98 of file tensor_tools.h.
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm | ( | const TypeTensor< T > & | a | ) | -> decltype(TensorTools::norm(T())) |
Definition at line 93 of file tensor_tools.h.
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm | ( | const TypeVector< T > & | a | ) | -> decltype(TensorTools::norm(T())) |
Definition at line 83 of file tensor_tools.h.
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm | ( | const VectorValue< T > & | a | ) | -> decltype(TensorTools::norm(T())) |
Definition at line 88 of file tensor_tools.h.
| LIBMESH_DEVICE_INLINE T libMesh::TensorTools::norm | ( | std::complex< T > | a | ) |
Definition at line 79 of file tensor_tools.h.
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm_sq | ( | const T & | a | ) |
Definition at line 104 of file tensor_tools.h.
References libMesh::libmesh_conj().
Referenced by libMesh::ExactSolution::_compute_error(), libMesh::UniformRefinementEstimator::_estimate_error(), libMesh::DiscontinuityMeasure::boundary_side_integration(), libMesh::KellyErrorEstimator::boundary_side_integration(), libMesh::ExactErrorEstimator::find_squared_element_error(), libMesh::DiscontinuityMeasure::internal_side_integration(), libMesh::LaplacianErrorEstimator::internal_side_integration(), libMesh::KellyErrorEstimator::internal_side_integration(), libMesh::DenseSubVector< T >::l2_norm(), libMesh::DenseVector< T >::l2_norm(), libMesh::DistributedVector< T >::l2_norm(), libMesh::DenseSubVector< T >::linfty_norm(), libMesh::Kokkos::vector_ref< ViewType >::norm_sq(), libMesh::Kokkos::tensor_ref< ViewType >::norm_sq(), libMesh::TypeTensor< T >::norm_sq(), libMesh::TypeVector< T >::norm_sq(), libMesh::PatchRecoveryErrorEstimator::EstimateError::operator()(), libMesh::WeightedPatchRecoveryErrorEstimator::EstimateError::operator()(), and libMesh::HPCoarsenTest::select_refinement().
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm_sq | ( | const TensorValue< T > & | a | ) |
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm_sq | ( | const TypeTensor< T > & | a | ) |
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm_sq | ( | const TypeVector< T > & | a | ) |
| LIBMESH_DEVICE_INLINE auto libMesh::TensorTools::norm_sq | ( | const VectorValue< T > & | a | ) |
| LIBMESH_DEVICE_INLINE T libMesh::TensorTools::norm_sq | ( | std::complex< T > | a | ) |
Definition at line 109 of file tensor_tools.h.
References std::norm(), and norm().