https://github.com/geodynamics/citcoms
Revision 966fcd88f5d58df172a7e76ee9dd73c3e85f7ef5 authored by Thorsten Becker on 18 February 2011, 19:45:49 UTC, committed by Thorsten Becker on 18 February 2011, 19:45:49 UTC
1 parent 7ea7b1d
Tip revision: 966fcd88f5d58df172a7e76ee9dd73c3e85f7ef5 authored by Thorsten Becker on 18 February 2011, 19:45:49 UTC
Modified storage of anisotropic viscosity files. Those are now
Modified storage of anisotropic viscosity files. Those are now
Tip revision: 966fcd8
Regional_geometry_cartesian.c
/*
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
*<LicenseText>
*
* CitcomS by Louis Moresi, Shijie Zhong, Lijie Han, Eh Tan,
* Clint Conrad, Michael Gurnis, and Eun-seo Choi.
* Copyright (C) 1994-2005, California Institute of Technology.
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*</LicenseText>
*
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#include "global_defs.h"
#include "parsing.h"
void regional_set_2dc_defaults(E)
struct All_variables *E;
{
E->mesh.nsd = 2;
E->mesh.dof = 2;
}
void regional_set_2pt5dc_defaults(E)
struct All_variables *E;
{
E->mesh.nsd = 2;
E->mesh.dof = 3;
}
void regional_set_3dc_defaults(E)
struct All_variables *E;
{
E->mesh.nsd = 3;
E->mesh.dof = 3;
}
void regional_set_3dsphere_defaults(E)
struct All_variables *E;
{
E->mesh.nsd = 3;
E->mesh.dof = 3;
E->sphere.caps = 1;
E->sphere.max_connections = 6;
return;
}
Computing file changes ...