A new model for propagation of long waves including the coastal area is introduced. This model considers only the motion of the surface of the sea under the condition of preservation of mass and the sea floor is inserted into the model as an obstacle to the motion. Thus we obtain a constrained hyperbolic free-boundary problem which is then solved numerically by a minimizing method called {\em the discrete Morse semi-flow}. The results of the computation in 1D show the adequacy of the proposed model.
The Fourier expansion in eigenfunctions of a positive operator is studied with the help of abstract functions of this operator. The rate of convergence is estimated in terms of its eigenvalues, especially for uniform and absolute convergence. Some particular results are obtained for elliptic operators and hyperbolic equations.