libMesh
Public Member Functions | List of all members
libMesh::DegenerateMap Class Reference

A class representing the detection of an unexpected degeneracy, e.g. More...

#include <libmesh_exceptions.h>

Inheritance diagram for libMesh::DegenerateMap:
[legend]

Public Member Functions

 DegenerateMap (std::string msg="")
 

Detailed Description

A class representing the detection of an unexpected degeneracy, e.g.

a negative-determinant Jacobian in a map expected to be positive, or a non-trivial kernel in a map expected to be a bijection (such as a singular matrix).

libMesh::FEMap throws this if it encounters a point xi in an element's "master space" at which the mapping to physical space has a too-small (negative, or zero, or nearly zero) Jacobian determinant, where "too-small" is determined by a particular library method's assigned tolerance.

libMesh::DenseMatrix throws this if it is asked to solve a system with a singular matrix and a method (such as lu_solve()) that cannot handle singularities.

Definition at line 116 of file libmesh_exceptions.h.

Constructor & Destructor Documentation

◆ DegenerateMap()

libMesh::DegenerateMap::DegenerateMap ( std::string  msg = "")
inline

Definition at line 119 of file libmesh_exceptions.h.

119  :
120  std::runtime_error( "Degenerate map, e.g. negative Jacobian or singular matrix.\n" + msg ) {}

The documentation for this class was generated from the following file: