namespace std
namespace libMesh
typedef long double Real
typedef std::complex< double > Complex
typedef std::complex< double > COMPLEX
typedef Real Number
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)
DIE A HORRIBLE DEATH HERE typedef float ErrorVectorReal
MPI_Comm libMesh::COMM_WORLD = MPI_COMM_NULL
Definition at line 147 of file libmesh_common.h.
Definition at line 148 of file libmesh_common.h.
Definition at line 167 of file libmesh_common.h.
Definition at line 97 of file libmesh_common.h.
Definition at line 269 of file libmesh_common.h.
{
#ifndef NDEBUG
Tnew newvar = dynamic_cast<Tnew>(oldvar);
libmesh_assert (newvar);
return newvar;
#else
return(static_cast<Tnew>(oldvar));
#endif
}
Definition at line 249 of file libmesh_common.h.
{
#ifndef NDEBUG
try
{
Tnew newvar = dynamic_cast<Tnew>(oldvar);
return newvar;
}
catch (std::bad_cast)
{
libmesh_assert (false);
}
#else
return(static_cast<Tnew>(oldvar));
#endif
}
Definition at line 154 of file libmesh_common.h.
Referenced by ExactSolution::_compute_error(), UniformRefinementEstimator::_estimate_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().
{ return a*a; }
Definition at line 160 of file libmesh_common.h.
{ return std::norm(a); }
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().
{ return a; }
Definition at line 157 of file libmesh_common.h.
{ return std::real(a); }
Definition at line 178 of file libmesh_common.h.
Referenced by ErrorVector::minimum().
Generated automatically by Doxygen for libMesh from the source code.