libMesh
|
Functions | |
template<typename T , typename T2 > | |
boostcopy::enable_if_c< ScalarTraits< T >::value &&ScalarTraits< T2 >::value, typename CompareTypes< T, T2 >::supertype >::type | inner_product (const T &a, const T2 &b) |
template<typename T , typename T2 > | |
CompareTypes< T, T2 >::supertype | inner_product (const TypeVector< T > &a, const TypeVector< T2 > &b) |
template<typename T , typename T2 > | |
CompareTypes< T, T2 >::supertype | inner_product (const TypeTensor< T > &a, const TypeTensor< T2 > &b) |
template<unsigned int N, typename T , typename T2 > | |
CompareTypes< T, T2 >::supertype | inner_product (const TypeNTensor< N, T > &a, const TypeNTensor< N, T2 > &b) |
template<typename T > | |
auto | norm (const T &a) -> decltype(std::abs(a)) |
template<typename T > | |
T | norm (std::complex< T > a) |
template<typename T > | |
auto | norm (const TypeVector< T > &a) -> decltype(TensorTools::norm(T())) |
template<typename T > | |
auto | norm (const VectorValue< T > &a) -> decltype(TensorTools::norm(T())) |
template<typename T > | |
auto | norm (const TypeTensor< T > &a) -> decltype(TensorTools::norm(T())) |
template<typename T > | |
auto | norm (const TensorValue< T > &a) -> decltype(TensorTools::norm(T())) |
template<typename T > | |
auto | norm_sq (const T &a) -> decltype(std::norm(a)) |
template<typename T > | |
T | norm_sq (std::complex< T > a) |
template<typename T > | |
auto | norm_sq (const TypeVector< T > &a) -> decltype(std::norm(T())) |
template<typename T > | |
auto | norm_sq (const VectorValue< T > &a) -> decltype(std::norm(T())) |
template<typename T > | |
auto | norm_sq (const TypeTensor< T > &a) -> decltype(std::norm(T())) |
template<typename T > | |
auto | norm_sq (const TensorValue< T > &a) -> decltype(std::norm(T())) |
template<typename T > | |
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. More... | |
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. More... | |
Number | div_from_grad (const TensorValue< Number > &grad) |
Computes the divergence of a vector given the gradient of that vector. More... | |
VectorValue< Number > | div_from_grad (const TypeNTensor< 3, Number > &grad) |
Number libMesh::TensorTools::curl_from_grad | ( | const VectorValue< Number > & | ) |
Definition at line 28 of file tensor_tools.C.
Referenced by libMesh::ExactSolution::_compute_error().
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::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().
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.
|
inline |
Definition at line 51 of file tensor_tools.h.
Referenced by libMesh::FEGenericBase< FEOutputType< T >::type >::coarsened_dof_values(), libMesh::FEGenericBase< FEOutputType< T >::type >::compute_periodic_constraints(), libMesh::FEGenericBase< FEOutputType< T >::type >::compute_proj_constraints(), and libMesh::GenericProjector< FFunctor, GFunctor, FValue, ProjectionAction >::SubProjector::construct_projection().
|
inline |
Definition at line 57 of file tensor_tools.h.
|
inline |
Definition at line 63 of file tensor_tools.h.
References libMesh::TypeTensor< T >::contract().
|
inline |
Definition at line 69 of file tensor_tools.h.
References libMesh::TypeNTensor< N, T >::contract().
|
inline |
Definition at line 134 of file tensor_tools.h.
|
inline |
Definition at line 74 of file tensor_tools.h.
Referenced by libMesh::ExactSolution::_compute_error(), libMesh::MeshTools::Subdivision::add_boundary_ghosts(), libMesh::MeshTools::Modification::all_tri(), assemble_SchroedingerEquation(), libMesh::MeshTools::bounding_sphere(), libMesh::TreeNode< N >::bounds_point(), libMesh::System::calculate_norm(), libMesh::InfFE< Dim, T_radial, T_map >::compute_data(), libMesh::InfFE< Dim, T_radial, T_map >::compute_shape_functions(), distance(), libMesh::Sphere::distance(), libMesh::UnsteadySolver::du(), libMesh::ExactSolution::error_norm(), libMesh::BoundaryInfo::get_side_and_node_maps(), LinearElasticityWithContact::initialize_contact_load_paths(), libMesh::RadialBasisInterpolation< KDDim, RBF >::interpolate_field_data(), libMesh::NumericVector< Number >::l1_norm_diff(), libMesh::DenseVector< Output >::l2_norm(), libMesh::NumericVector< Number >::l2_norm_diff(), AugmentSparsityOnInterface::mesh_reinit(), libMesh::Tet4::min_and_max_angle(), libMesh::Elem::point_test(), libMesh::RadialBasisInterpolation< KDDim, RBF >::prepare_for_use(), libMesh::MeshTools::processor_bounding_sphere(), libMesh::Elem::quality(), libMesh::C0Polyhedron::retriangulate(), libMesh::Sphere::Sphere(), libMesh::UnstructuredMesh::stitching_helper(), libMesh::MeshTools::subdomain_bounding_sphere(), libMesh::NumericVector< Number >::subset_l1_norm(), libMesh::NumericVector< Number >::subset_l2_norm(), libMesh::NumericVector< Number >::subset_linfty_norm(), InfFERadialTest::testInfQuants_numericDeriv(), MeshInputTest::testMasterCenters(), and libMesh::RBConstruction::train_reduced_basis_with_POD().
|
inline |
Definition at line 79 of file tensor_tools.h.
|
inline |
Definition at line 83 of file tensor_tools.h.
|
inline |
Definition at line 88 of file tensor_tools.h.
|
inline |
Definition at line 93 of file tensor_tools.h.
|
inline |
Definition at line 98 of file tensor_tools.h.
|
inline |
Definition at line 104 of file tensor_tools.h.
References std::norm().
Referenced by libMesh::ExactSolution::_compute_error(), libMesh::UniformRefinementEstimator::_estimate_error(), libMesh::DiscontinuityMeasure::boundary_side_integration(), libMesh::KellyErrorEstimator::boundary_side_integration(), libMesh::System::calculate_norm(), libMesh::Tet::choose_diagonal(), libMesh::InfQuad4::contains_point(), libMesh::InfPrism::contains_point(), libMesh::InfHex::contains_point(), libMesh::ExactErrorEstimator::find_squared_element_error(), libMesh::LaplacianErrorEstimator::internal_side_integration(), libMesh::DiscontinuityMeasure::internal_side_integration(), libMesh::KellyErrorEstimator::internal_side_integration(), libMesh::DenseSubVector< T >::l2_norm(), libMesh::DistributedVector< T >::l2_norm(), libMesh::DenseVector< Output >::l2_norm(), libMesh::NumericVector< Number >::l2_norm_diff(), libMesh::DenseSubVector< T >::linfty_norm(), libMesh::DenseVector< Output >::linfty_norm(), libMesh::PointLocatorBase::locate_node(), main(), libMesh::TypeVector< Real >::norm(), libMesh::TypeTensor< T >::norm(), libMesh::TypeVector< Real >::norm_sq(), libMesh::TypeTensor< T >::norm_sq(), libMesh::WeightedPatchRecoveryErrorEstimator::EstimateError::operator()(), libMesh::PatchRecoveryErrorEstimator::EstimateError::operator()(), libMesh::HPCoarsenTest::select_refinement(), libMesh::NumericVector< Number >::subset_l2_norm(), and InfFERadialTest::testInfQuants_numericDeriv().
|
inline |
Definition at line 109 of file tensor_tools.h.
References std::norm().
|
inline |
Definition at line 113 of file tensor_tools.h.
|
inline |
Definition at line 118 of file tensor_tools.h.
|
inline |
Definition at line 123 of file tensor_tools.h.
|
inline |
Definition at line 128 of file tensor_tools.h.