libMesh
|
A namespace for quality utility functions. More...
Functions | |
std::string | name (const ElemQuality q) |
This function returns a string containing some name for q. More... | |
std::string | describe (const ElemQuality q) |
This function returns a string containing a short description of q. More... | |
std::vector< ElemQuality > | valid (const ElemType t) |
Variables | |
const unsigned int | num_quals = 16 |
The number of element quality types we have defined. More... | |
A namespace for quality utility functions.
std::string libMesh::Quality::describe | ( | const ElemQuality | q | ) |
This function returns a string containing a short description of q.
ElemQuality
enum
Useful for asking the enum what it computes.
Definition at line 142 of file elem_quality.C.
References libMesh::ASPECT_RATIO, libMesh::ASPECT_RATIO_BETA, libMesh::ASPECT_RATIO_GAMMA, libMesh::CONDITION, libMesh::DIAGONAL, libMesh::DISTORTION, libMesh::EDGE_LENGTH_RATIO, libMesh::JACOBIAN, libMesh::MAX_ANGLE, libMesh::MAX_DIHEDRAL_ANGLE, libMesh::MIN_ANGLE, libMesh::MIN_DIHEDRAL_ANGLE, libMesh::SCALED_JACOBIAN, libMesh::SHAPE, libMesh::SHEAR, libMesh::SIZE, libMesh::SKEW, libMesh::STRETCH, libMesh::TAPER, and libMesh::WARP.
std::string libMesh::Quality::name | ( | const ElemQuality | q | ) |
This function returns a string containing some name for q.
ElemQuality
enum
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::MAX_DIHEDRAL_ANGLE, libMesh::MIN_ANGLE, libMesh::MIN_DIHEDRAL_ANGLE, libMesh::SCALED_JACOBIAN, 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::add_command_line_name(), libMesh::add_command_line_names(), libMesh::MeshBase::add_elem_integer(), libMesh::MeshBase::add_elem_integers(), libMesh::MeshBase::add_node_integer(), libMesh::MeshBase::add_node_integers(), 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::ElemCutter::cut_3D(), libMesh::demangle(), DMlibMeshSetUpName_Private(), DMView_libMesh(), libMesh::Factory< Base >::Factory(), libMesh::EquationSystems::find_variable_numbers(), libMesh::Parameters::get(), libMesh::ExodusII_IO_Helper::get_complex_names(), libMesh::MeshBase::get_elem_integer_index(), libMesh::BoundaryInfo::get_id_by_name(), libMesh::MeshBase::get_id_by_name(), libMesh::ReferenceCounter::get_info(), libMesh::MeshBase::get_info(), libMesh::MeshBase::get_node_integer_index(), libMesh::EquationSystems::get_system(), libMesh::MeshBase::has_elem_integer(), libMesh::MeshBase::has_node_integer(), libMesh::EquationSystems::has_system(), libMesh::Parameters::have_parameter(), libMesh::ReferenceCounter::increment_constructor_count(), libMesh::ReferenceCounter::increment_destructor_count(), libMesh::PetscNonlinearSolver< Number >::init(), libMesh::PetscLinearSolver< Number >::init(), libMesh::RBParametrized::initialize_parameters(), libMesh::Parameters::insert(), libMesh::NameBasedIO::is_parallel_file_format(), main(), libMesh::VTKIO::node_values_to_vtk(), libMesh::Xdr::open(), GETPOT_NAMESPACE::GetPot::variable::operator=(), libMesh::RBParametrized::print_discrete_parameter_values(), libMesh::PetscMatrix< T >::print_matlab(), libMesh::PetscVector< libMesh::Number >::print_matlab(), libMesh::SparseMatrix< ValOut >::print_matlab(), libMesh::ExodusII_IO_Helper::NamesData::push_back_entry(), FEMParameters::read(), libMesh::OFFIO::read(), libMesh::NameBasedIO::read(), libMesh::TetGenIO::read(), libMesh::GMVIO::read(), libMesh::PltLoader::read(), libMesh::Nemesis_IO::read(), libMesh::GmshIO::read(), libMesh::DynaIO::read(), libMesh::MatlabIO::read(), libMesh::ExodusII_IO::read(), libMesh::VTKIO::read(), libMesh::UnstructuredMesh::read(), libMesh::EquationSystems::read(), libMesh::CheckpointIO::read_header(), libMesh::PltLoader::read_header(), libMesh::ReferenceCountedObject< RBParametrized >::ReferenceCountedObject(), libMesh::Parameters::remove(), libMesh::Parameters::set(), libMesh::Parameters::Parameter< T >::type(), libMesh::Utility::unzip_file(), libMesh::NameBasedIO::write(), libMesh::GmshIO::write(), libMesh::EnsightIO::write(), libMesh::UnstructuredMesh::write(), libMesh::CheckpointIO::write(), libMesh::EquationSystems::write(), libMesh::CheckpointIO::write_bc_names(), libMesh::PltLoader::write_dat(), libMesh::GMVIO::write_discontinuous_gmv(), libMesh::ExodusII_IO::write_element_data_from_discontinuous_nodal_data(), libMesh::EnsightIO::write_geometry_ascii(), libMesh::NameBasedIO::write_nodal_data(), libMesh::Nemesis_IO_Helper::write_nodal_solution(), libMesh::XdrIO::write_serialized_bc_names(), libMesh::XdrIO::write_serialized_subdomain_names(), libMesh::UCDIO::write_soln(), libMesh::CheckpointIO::write_subdomain_names(), libMesh::LibMeshInit::~LibMeshInit(), and libMesh::ReferenceCountedObject< RBParametrized >::~ReferenceCountedObject().
std::vector< ElemQuality > libMesh::Quality::valid | ( | const ElemType | t | ) |
ElemQuality
metrics for a given ElemType
element type. Valid metrics are those which have Elem::qual_bounds() defined. Not all "valid" metrics are actually implemented in the code. Definition at line 347 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::EDGE_LENGTH_RATIO, 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::MAX_DIHEDRAL_ANGLE, libMesh::MIN_ANGLE, libMesh::MIN_DIHEDRAL_ANGLE, libMesh::PRISM18, libMesh::PRISM20, libMesh::PRISM21, libMesh::PRISM6, libMesh::PYRAMID13, libMesh::PYRAMID14, libMesh::PYRAMID18, libMesh::PYRAMID5, libMesh::QUAD4, libMesh::QUAD8, libMesh::QUAD9, libMesh::QUADSHELL4, libMesh::QUADSHELL8, libMesh::QUADSHELL9, libMesh::SCALED_JACOBIAN, libMesh::SHAPE, libMesh::SHEAR, libMesh::SIZE, libMesh::SKEW, libMesh::STRETCH, libMesh::TAPER, libMesh::TET10, libMesh::TET14, libMesh::TET4, libMesh::TRI3, libMesh::TRI6, libMesh::TRI7, 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 48 of file elem_quality.h.