diff --git a/Solver/terms.h b/Solver/terms.h index 36cf2f69deae0cb6140cec381f395ee5fae2f49c..22af9e8c6dd64e1fec04ded52bad3eb870627f5a 100644 --- a/Solver/terms.h +++ b/Solver/terms.h @@ -382,8 +382,8 @@ template<class T1> class LoadTermOnBorder : public LinearTerm<T1> { simpleFunction<typename TensorialTraits<T1>::ValType> &Load; public : - LoadTerm(FunctionSpace<T1>& space1_,simpleFunction<typename TensorialTraits<T1>::ValType> &Load_) :LinearTerm<T1>(space1_),Load(Load_) {} - virtual ~LoadTerm() {} + LoadTermOnBorder(FunctionSpace<T1>& space1_,simpleFunction<typename TensorialTraits<T1>::ValType> &Load_) :LinearTerm<T1>(space1_),Load(Load_) {} + virtual ~LoadTermOnBorder() {} virtual void get(MElement *ele,int npts,IntPt *GP,fullVector<double> &m) {