Go to the source code of this file.
 | 
| Number  | linear_test (const Point &p, const Parameters &, const std::string &, const std::string &) | 
|   | 
| Gradient  | linear_test_grad (const Point &, const Parameters &, const std::string &, const std::string &) | 
|   | 
| Number  | rational_test (const Point &p, const Parameters &, const std::string &, const std::string &) | 
|   | 
| Gradient  | rational_test_grad (const Point &p, const Parameters &, const std::string &, const std::string &) | 
|   | 
◆ linear_test()
  
  
      
        
          | Number linear_test  | 
          ( | 
          const Point &  | 
          p,  | 
         
        
           | 
           | 
          const Parameters &  | 
          ,  | 
         
        
           | 
           | 
          const std::string &  | 
          ,  | 
         
        
           | 
           | 
          const std::string &  | 
            | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ linear_test_grad()
◆ rational_test()
  
  
      
        
          | Number rational_test  | 
          ( | 
          const Point &  | 
          p,  | 
         
        
           | 
           | 
          const Parameters &  | 
          ,  | 
         
        
           | 
           | 
          const std::string &  | 
          ,  | 
         
        
           | 
           | 
          const std::string &  | 
            | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ rational_test_grad()
Definition at line 79 of file fe_test.h.
   84   const Real & x = p(0);
 
   85   const Real & y = (LIBMESH_DIM > 1) ? p(1) : 0;
 
   86   const Real & z = (LIBMESH_DIM > 2) ? p(2) : 0;
 
   95   const Real denom = xpoly * ypoly * zpoly;
 
   97   const Real numer = (x + 0.25*y + 0.0625*z);
 
   99   Gradient grad_n = 1, grad_d = xderiv * ypoly * zpoly;
 
  103       grad_d(1) = xpoly * yderiv * zpoly;
 
  108       grad_d(2) = xpoly * ypoly * zderiv;
 
  111   Gradient grad = (grad_n - numer * grad_d / denom) / denom;
 
 
References rational_w, and libMesh::Real.
Referenced by FETest< order, family, elem_type >::setUp(), FETest< order, family, elem_type >::testGradU(), and FETest< order, family, elem_type >::testGradUComp().
 
 
◆ rational_w
  
  
      
        
          | const Real rational_w = 0.75 | 
         
       
   | 
  
static   |