Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

vectorial/linearForm.hh
Go to the documentation of this file.
00001 // linear form for vector valued problems
00002 
00003 #ifndef linearFormV_hh
00004 #define linearFormV_hh
00005 
00006 #include "vectorial.hh"
00007 #include "function/linearForm.hh"
00008 
00009 namespace vectorial {
00010 
00011   // ************************************************************ LinearForm **
00012 
00016   template<class F, class G = typename concepts::Realtype<F>::type>
00017   class LinearForm : public Vectorial<concepts::LinearForm<F,G> >,
00018          public concepts::LinearForm<F,G> {
00019   public:
00020     LinearForm(const uint vdim, const uint arrayWidth=0) : 
00021       Vectorial<concepts::LinearForm<F,G> >(vdim,vdim) {
00022       DEBUGL(LinearFormConstr_D, "done.");
00023     }
00024     virtual ~LinearForm();
00025 
00031     virtual void put(concepts::LinearForm<F,G> &lf,const int i,const int j=0);
00032     
00033     virtual void operator ()(const concepts::Element<G>& elm,
00034            concepts::ElementMatrix<F>& em);
00035   protected:
00036     virtual std::ostream& info(std::ostream& os) const;
00037   };
00038 
00039 } // namespace vectorial
00040 
00041 #endif // linearFormV_hh

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)