Utility functions for computing element quality indicators. More...
Functions | |
std::string | name (const ElemQuality q) |
std::string | describe (const ElemQuality q) |
std::vector< ElemQuality > | valid (const ElemType t) |
Variables | |
const unsigned int | num_quals = 16 |
Utility functions for computing element quality indicators.
A namespace for quality utility functions.
std::string libMesh::Quality::describe | ( | const ElemQuality | q | ) |
ElemQuality
enum
This function returns a string containing a short description of q. Useful for asking the enum what it computes.
Definition at line 130 of file elem_quality.C.
References libMesh::ASPECT_RATIO, libMesh::ASPECT_RATIO_BETA, libMesh::ASPECT_RATIO_GAMMA, libMesh::CONDITION, libMesh::DIAGONAL, libMesh::DISTORTION, libMesh::JACOBIAN, libMesh::MAX_ANGLE, libMesh::MIN_ANGLE, libMesh::SHAPE, libMesh::SHEAR, libMesh::SIZE, libMesh::SKEW, libMesh::STRETCH, libMesh::TAPER, and libMesh::WARP.
std::string libMesh::Quality::name | ( | const ElemQuality | q | ) |
ElemQuality
enum
This function returns a string containing some name for q. Useful for asking the enum what its name is. I added this since you may want a simple way to attach a name or description to the ElemQuality enums. It can be removed if it is found to be useless.
Definition at line 42 of file elem_quality.C.
References libMesh::ASPECT_RATIO, libMesh::ASPECT_RATIO_BETA, libMesh::ASPECT_RATIO_GAMMA, libMesh::CONDITION, libMesh::DIAGONAL, libMesh::DISTORTION, libMesh::JACOBIAN, libMesh::MAX_ANGLE, libMesh::MIN_ANGLE, libMesh::SHAPE, libMesh::SHEAR, libMesh::SIZE, libMesh::SKEW, libMesh::STRETCH, libMesh::TAPER, and libMesh::WARP.
Referenced by GETPOT_NAMESPACE::GetPot::_convert_to_type_no_default(), libMesh::EquationSystems::add_system(), libMesh::Factory< Base >::build(), libMesh::cast_ptr(), libMesh::cast_ref(), libMesh::ExodusII_IO_Helper::check_existing_vars(), libMesh::command_line_next(), libMesh::command_line_value(), libMesh::command_line_vector(), libMesh::Utility::complex_filename(), libMesh::ElemCutter::cut_3D(), libMesh::EquationSystems::delete_system(), libMesh::demangle(), DMlibMeshSetUpName_Private(), DMView_libMesh(), libMesh::Factory< Base >::Factory(), libMesh::Parameters::get(), libMesh::BoundaryInfo::get_id_by_name(), libMesh::MeshBase::get_id_by_name(), libMesh::ReferenceCounter::get_info(), libMesh::EquationSystems::get_system(), libMesh::EquationSystems::has_system(), libMesh::Parameters::have_parameter(), libMesh::ReferenceCounter::increment_constructor_count(), libMesh::ReferenceCounter::increment_destructor_count(), libMesh::PetscNonlinearSolver< Number >::init(), libMesh::PetscLinearSolver< T >::init(), libMesh::Parameters::insert(), libMesh::NameBasedIO::is_parallel_file_format(), libMesh::Xdr::open(), GETPOT_NAMESPACE::GetPot::variable::operator=(), libMesh::PetscMatrix< T >::print_matlab(), libMesh::PetscVector< T >::print_matlab(), libMesh::ExodusII_IO_Helper::NamesData::push_back_entry(), libMesh::OFFIO::read(), libMesh::NameBasedIO::read(), libMesh::TetGenIO::read(), libMesh::PltLoader::read(), libMesh::GmshIO::read(), libMesh::GMVIO::read(), libMesh::UnstructuredMesh::read(), libMesh::MatlabIO::read(), libMesh::VTKIO::read(), libMesh::EquationSystems::read(), libMesh::CheckpointIO::read_header(), libMesh::PltLoader::read_header(), libMesh::VariationalMeshSmoother::readmetr(), libMesh::ReferenceCountedObject< RBParametrized >::ReferenceCountedObject(), libMesh::Parameters::remove(), libMesh::Parameters::set(), libMesh::Parameters::Parameter< T >::type(), libMesh::NameBasedIO::write(), libMesh::GmshIO::write(), libMesh::UnstructuredMesh::write(), libMesh::CheckpointIO::write(), libMesh::EnsightIO::write(), libMesh::EquationSystems::write(), libMesh::TecplotIO::write_binary(), libMesh::PltLoader::write_dat(), libMesh::GMVIO::write_discontinuous_gmv(), libMesh::NameBasedIO::write_nodal_data(), libMesh::UCDIO::write_soln(), and libMesh::ReferenceCountedObject< RBParametrized >::~ReferenceCountedObject().
std::vector< ElemQuality > libMesh::Quality::valid | ( | const ElemType | t | ) |
ElemQuality
metrics for a given ElemType
element type.Returns all valid quality metrics for element type t.
Definition at line 324 of file elem_quality.C.
References libMesh::ASPECT_RATIO, libMesh::ASPECT_RATIO_BETA, libMesh::ASPECT_RATIO_GAMMA, libMesh::CONDITION, libMesh::DIAGONAL, libMesh::DISTORTION, libMesh::EDGE2, libMesh::EDGE3, libMesh::EDGE4, libMesh::HEX20, libMesh::HEX27, libMesh::HEX8, libMesh::INFEDGE2, libMesh::INFHEX16, libMesh::INFHEX18, libMesh::INFHEX8, libMesh::INFPRISM12, libMesh::INFPRISM6, libMesh::INFQUAD4, libMesh::INFQUAD6, libMesh::JACOBIAN, libMesh::MAX_ANGLE, libMesh::MIN_ANGLE, libMesh::PRISM18, libMesh::PRISM6, libMesh::PYRAMID13, libMesh::PYRAMID14, libMesh::PYRAMID5, libMesh::QUAD4, libMesh::QUAD8, libMesh::QUAD9, libMesh::QUADSHELL4, libMesh::QUADSHELL8, libMesh::SHAPE, libMesh::SHEAR, libMesh::SIZE, libMesh::SKEW, libMesh::STRETCH, libMesh::TAPER, libMesh::TET10, libMesh::TET4, libMesh::TRI3, libMesh::TRI6, libMesh::TRISHELL3, and libMesh::WARP.
const unsigned int libMesh::Quality::num_quals = 16 |
The number of element quality types we have defined. This needs to be updated if you add one.
Definition at line 55 of file elem_quality.h.