This accessor class allows simple setting of CouplingMatrix values.  
 More...
#include <coupling_matrix.h>
This accessor class allows simple setting of CouplingMatrix values. 
Definition at line 190 of file coupling_matrix.h.
 
◆ CouplingAccessor()
  
  
      
        
          | libMesh::CouplingAccessor::CouplingAccessor  | 
          ( | 
          std::size_t  | 
          loc_in,  | 
         
        
           | 
           | 
          CouplingMatrix &  | 
          mat_in  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator bool()
  
  
      
        
          | libMesh::ConstCouplingAccessor::operator bool  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
 
◆ operator=() [1/2]
Definition at line 209 of file coupling_matrix.h.
  211     const std::size_t max_size = std::numeric_limits<std::size_t>::max();
 
  215     CouplingMatrix::rc_type::iterator lb =
 
  227         if (new_value == 
true)
 
  233         const std::size_t firstloc = lb->first;
 
  234         const std::size_t lastloc  = lb->second;
 
  235         libmesh_assert_less_equal(firstloc, lastloc);
 
  236         libmesh_assert_less_equal(firstloc, 
_location);
 
  240           CouplingMatrix::rc_type::const_iterator 
next = lb;
 
  245               libmesh_assert_greater(
next->first, lastloc+1);
 
  252         if (new_value == 
false)
 
  262                     libmesh_assert_less (lb->first, lastloc);
 
  268                 libmesh_assert_less (firstloc, lb->second);
 
  274                 libmesh_assert_less_equal(
_location+1, lastloc);
 
  278                 libmesh_assert_less_equal(firstloc, 
_location-1);
 
  281                   (lb, std::make_pair(firstloc, 
_location-1));
 
  289             CouplingMatrix::rc_type::iterator 
next = lb;
 
  291             const std::size_t nextloc =
 
  293               std::numeric_limits<std::size_t>::max() :
 
  297             libmesh_assert_greater(nextloc, lastloc+1);
 
  305                         next->first = firstloc;
 
 
References libMesh::ConstCouplingAccessor::_location, _my_mat, libMesh::CouplingMatrix::_ranges, and libMesh::MeshTools::Subdivision::next.
 
 
◆ operator=() [2/2]
Definition at line 198 of file coupling_matrix.h.
  202     const bool as_bool = new_value;
 
  203     libmesh_assert_equal_to(new_value, as_bool);
 
 
 
 
◆ _location
  
  
      
        
          | std::size_t libMesh::ConstCouplingAccessor::_location | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ _mat
◆ _my_mat
The documentation for this class was generated from the following file: