/[escript]/branches/trilinos_from_5897/escriptcore/src/AbstractSystemMatrix.cpp
ViewVC logotype

Diff of /branches/trilinos_from_5897/escriptcore/src/AbstractSystemMatrix.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6057 by caltinay, Wed Mar 2 04:13:26 2016 UTC revision 6058 by caltinay, Thu Mar 10 06:51:55 2016 UTC
# Line 38  AbstractSystemMatrix::AbstractSystemMatr Line 38  AbstractSystemMatrix::AbstractSystemMatr
38    
39  }  }
40    
41    ASM_ptr AbstractSystemMatrix::getPtr()
42    {
43        try {
44            return shared_from_this();
45        } catch (boost::bad_weak_ptr p) {
46            return ASM_ptr(this);
47        }
48    }
49    
50    const_ASM_ptr AbstractSystemMatrix::getPtr() const
51    {  
52        try {
53            return shared_from_this();
54        } catch (boost::bad_weak_ptr p) {
55            return const_ASM_ptr(this);
56        }
57    }
58    
59  Data operator*(const AbstractSystemMatrix& left, const Data& right)  Data operator*(const AbstractSystemMatrix& left, const Data& right)
60  {  {
61      return left.vectorMultiply(right);      return left.vectorMultiply(right);

Legend:
Removed from v.6057  
changed lines
  Added in v.6058

  ViewVC Help
Powered by ViewVC 1.1.26