tminres
|
00001 // tminres is free software; you can redistribute it and/or modify it under the 00002 // terms of the GNU Lesser General Public License (as published by the Free 00003 // Software Foundation) version 2.1 dated February 1999. 00004 // 00005 // Authors: 00006 // - Umberto Villa, Emory University - uvilla@emory.edu 00007 // - Michael Saunders, Stanford University 00008 // - Santiago Akle, Stanford University 00009 00017 #ifndef OPERATOR_TRAIT_HPP_ 00018 #define OPERATOR_TRAIT_HPP_ 00019 00020 #include "Vector_trait.hpp" 00021 00023 00027 class Operator_trait 00028 { 00029 public: 00031 void Apply(const Vector_trait & X, Vector_trait & Y) const = 0; 00032 }; 00033 00035 00038 class Preconditioner_trait 00039 { 00040 public: 00042 void Apply(const Vector_trait & X, Vector_trait & Y) const = 0; 00043 }; 00044 00045 00046 #endif /* OPERATOR_TRAIT_HPP_ */