## SpTeisendusUhikMaatriks1x0.m
function SpTM1x0xz=SpTeisendusUhikMaatriks1x0(VarrasN)
##
##   The sparse identity matrix of reaction Cx at the node
##=========================================================================
## This Program is written by Andres Lahe,   2013-06-26
##                    e-mail: andres.lahe@ttu.ee
## LAST MODIFIED: Andres Lahe,   2013-06-27
## Copyright (c)  2013 by Tallinn University of Technology 
##                Department of Mechanics
##                http://www.ttu.ee/
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License
## as published by the Free Software Foundation; either version 2
## of the License, or (at your option) any later version.

## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.

## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
## http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
##=========================================================================
##
## VarrasN - the number of the element
##
#if nargin != 1
if ~(nargin==1)
error(' function SpTeisendusUhikMaatriks1x0 have wrong number of input arguments!') 
end
#
#%%http://www.network-theory.co.uk/docs/octave3/octave_87.html
%VarrasN=1;
%switch (VarrasN);
%case{1}
%endswitch

SpTM1k0=spconvert([1 1 1.0; 1 2 0.0]);
SpTM1x0xz=SpTM1k0;
#
endfunction

