libmesh_common.h File Reference
Go to the source code of this file.
Namespaces | |
| namespace | std |
| namespace | libMesh |
Typedefs | |
| typedef long double | Real |
| typedef std::complex< double > | Complex |
| typedef std::complex< double > | COMPLEX |
| typedef Real | Number |
Functions | |
| long double | std::max (long double a, double b) |
| long double | std::min (long double a, double b) |
| long double | std::max (double a, long double b) |
| long double | std::min (double a, long double b) |
| double | std::max (double a, float b) |
| double | std::min (double a, float b) |
| double | std::max (float a, double b) |
| double | std::min (float a, double b) |
| long double | std::max (long double a, float b) |
| long double | std::min (long double a, float b) |
| long double | std::max (float a, long double b) |
| long double | std::min (float a, long double b) |
| template<typename T > | |
| T | libmesh_real (T a) |
| template<typename T > | |
| T | libmesh_norm (T a) |
| template<typename T > | |
| T | libmesh_real (std::complex< T > a) |
| template<typename T > | |
| T | libmesh_norm (std::complex< T > a) |
| template<typename Tnew , typename Told > | |
| Tnew | libmesh_cast_ref (Told &oldvar) |
| template<typename Tnew , typename Told > | |
| Tnew | libmesh_cast_ptr (Told *oldvar) |
Variables | |
| DIE A HORRIBLE DEATH HERE typedef float | ErrorVectorReal |
| MPI_Comm | libMesh::COMM_WORLD = MPI_COMM_NULL |
Typedef Documentation
| typedef std::complex<double> COMPLEX |
Definition at line 148 of file libmesh_common.h.
| typedef std::complex<double> Complex |
Definition at line 147 of file libmesh_common.h.
Definition at line 167 of file libmesh_common.h.
| typedef float Real |
Definition at line 97 of file libmesh_common.h.
Function Documentation
| Tnew libmesh_cast_ptr | ( | Told * | oldvar | ) | [inline] |
Definition at line 269 of file libmesh_common.h.
00270 { 00271 #ifndef NDEBUG 00272 Tnew newvar = dynamic_cast<Tnew>(oldvar); 00273 libmesh_assert (newvar); 00274 return newvar; 00275 #else 00276 return(static_cast<Tnew>(oldvar)); 00277 #endif 00278 }
| Tnew libmesh_cast_ref | ( | Told & | oldvar | ) | [inline] |
Definition at line 249 of file libmesh_common.h.
00250 { 00251 #ifndef NDEBUG 00252 try 00253 { 00254 Tnew newvar = dynamic_cast<Tnew>(oldvar); 00255 return newvar; 00256 } 00257 catch (std::bad_cast) 00258 { 00259 libmesh_assert (false); 00260 } 00261 #else 00262 return(static_cast<Tnew>(oldvar)); 00263 #endif 00264 }
| T libmesh_norm | ( | std::complex< T > | a | ) | [inline] |
| T libmesh_norm | ( | T | a | ) | [inline] |
Definition at line 154 of file libmesh_common.h.
Referenced by ExactSolution::_compute_error(), KellyErrorEstimator::boundary_side_integration(), DiscontinuityMeasure::boundary_side_integration(), System::calculate_norm(), ExactErrorEstimator::find_squared_element_error(), KellyErrorEstimator::internal_side_integration(), LaplacianErrorEstimator::internal_side_integration(), DiscontinuityMeasure::internal_side_integration(), DistributedVector< T >::l2_norm(), DenseVector< T >::l2_norm(), DenseVector< T >::linfty_norm(), PatchRecoveryErrorEstimator::EstimateError::operator()(), HPCoarsenTest::select_refinement(), TypeVector< T >::size_sq(), TypeTensor< T >::size_sq(), and NumericVector< T >::subset_l2_norm().
| T libmesh_real | ( | std::complex< T > | a | ) | [inline] |
| T libmesh_real | ( | T | a | ) | [inline] |
Definition at line 153 of file libmesh_common.h.
Referenced by ContinuationSystem::continuation_solve(), FEMContext::elem_position_set(), FEMSystem::eulerian_residual(), LaspackVector< T >::max(), DistributedVector< T >::max(), DenseVector< T >::max(), DenseMatrix< T >::max(), LaspackVector< T >::min(), DistributedVector< T >::min(), DenseVector< T >::min(), DenseMatrix< T >::min(), FEMSystem::numerical_jacobian(), ContinuationSystem::solve_tangent(), GmshIO::write_post(), EnsightIO::write_scalar_ascii(), and EnsightIO::write_vector_ascii().
Variable Documentation
| DIE A HORRIBLE DEATH HERE typedef float ErrorVectorReal |