%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% File:          mc7.m
%
% Dimension:     2 (truely 2D example; both intrinsic and imbedding dimension)
% Domain:        Unit square divided into two triangles.
% Boundary:      All four boundary nodes are dirichlet, all edges dirichlet.
%
% rcsid="$Id: mc7.m,v 1.4 2010/08/12 05:17:23 fetk Exp $"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% MC = < Manifold Code >
%%% Copyright (C) 1994-- Michael Holst 
%%%
%%% This library is free software; you can redistribute it and/or 
%%% modify it under the terms of the GNU Lesser General Public 
%%% License as published by the Free Software Foundation; either  
%%% version 2.1 of the License, or (at your option) any later version. 
%%%
%%% This library 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
%%% Lesser General Public License for more details. 
%%%
%%% You should have received a copy of the GNU Lesser General Public 
%%% License along with this library; if not, write to the Free Software  
%%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA   
%%%
%%% rcsid="$Id: mc7.m,v 1.4 2010/08/12 05:17:23 fetk Exp $"
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

mcsf_begin=1;

      dim=2;         % intrinsic manifold dimension
    dimii=2;         % imbedding manifold dimension
 vertices=4;         % number of vertices
simplices=2;         % number of simplices

vert=[
%-------- ---- ----------------- -----------------
% Vert-ID Chrt X-Coordinate      Y-Coordinate     
%-------- ---- ----------------- -----------------
0         0     0.0000000000e+00  0.0000000000e+00
1         0     1.0000000000e+00  0.0000000000e+00
2         0     0.0000000000e+00  1.0000000000e+00
3         0     1.0000000000e+00  1.0000000000e+00
];

simp=[
%-------- ---- ---- ------------------- ---------------------------------------
% Simp-ID Grp  Mat  Face-Types          Vertex-Numbers
%-------- ---- ---- ------------------- ---------------------------------------
0         0    0    0    1    1         0 1 2
1         0    0    1    0    1         1 3 2
];

mcsf_end=1;

