[cig-commits] r18611 - in short/3D/PyLith/trunk: . tests tests/2d tests/refinefaulttip

brad at geodynamics.org brad at geodynamics.org
Mon Jun 13 17:54:58 PDT 2011


Author: brad
Date: 2011-06-13 17:54:57 -0700 (Mon, 13 Jun 2011)
New Revision: 18611

Added:
   short/3D/PyLith/trunk/tests/refinefaulttip/
   short/3D/PyLith/trunk/tests/refinefaulttip/Makefile.am
   short/3D/PyLith/trunk/tests/refinefaulttip/Makefile.in
   short/3D/PyLith/trunk/tests/refinefaulttip/hex8.cfg
   short/3D/PyLith/trunk/tests/refinefaulttip/hex8.mesh
   short/3D/PyLith/trunk/tests/refinefaulttip/quad4.cfg
   short/3D/PyLith/trunk/tests/refinefaulttip/quad4.mesh
   short/3D/PyLith/trunk/tests/refinefaulttip/tri3.cfg
   short/3D/PyLith/trunk/tests/refinefaulttip/tri3.mesh
Removed:
   short/3D/PyLith/trunk/tests/2d/refinefaulttip/
Modified:
   short/3D/PyLith/trunk/configure.ac
   short/3D/PyLith/trunk/tests/2d/Makefile.am
   short/3D/PyLith/trunk/tests/Makefile.am
Log:
Moved tests/2d/refinefaulttip to tests/refinefaulttip (added test for tri3 and hex8).

Modified: short/3D/PyLith/trunk/configure.ac
===================================================================
--- short/3D/PyLith/trunk/configure.ac	2011-06-13 22:18:30 UTC (rev 18610)
+++ short/3D/PyLith/trunk/configure.ac	2011-06-14 00:54:57 UTC (rev 18611)
@@ -321,7 +321,6 @@
 		tests/2d/maxwell/Makefile
 		tests/2d/slipdir/Makefile
 		tests/2d/frictionslide/Makefile
-		tests/2d/refinefaulttip/Makefile
 		tests/3d/Makefile
 		tests/3d/matprops/Makefile
 		tests/3d/slipdir/Makefile
@@ -337,6 +336,7 @@
 		tests/3d/plasticity/threehex8/results/Makefile
 		tests/3d/plasticity/threehex8/spatialdb/Makefile
 		tests/topology/Makefile
+		tests/refinefaulttip/Makefile
                 doc/Makefile
 		doc/developer/Makefile
 		doc/install/Makefile

Modified: short/3D/PyLith/trunk/tests/2d/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/tests/2d/Makefile.am	2011-06-13 22:18:30 UTC (rev 18610)
+++ short/3D/PyLith/trunk/tests/2d/Makefile.am	2011-06-14 00:54:57 UTC (rev 18611)
@@ -19,8 +19,7 @@
 SUBDIRS = \
 	maxwell \
 	slipdir \
-	frictionslide \
-	refinefaulttip
+	frictionslide
 
 
 # End of file 

Modified: short/3D/PyLith/trunk/tests/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/tests/Makefile.am	2011-06-13 22:18:30 UTC (rev 18610)
+++ short/3D/PyLith/trunk/tests/Makefile.am	2011-06-14 00:54:57 UTC (rev 18611)
@@ -19,6 +19,7 @@
 SUBDIRS = \
 	2d \
 	3d \
-	topology
+	topology \
+	refinefaulttip
 
 # End of file 

Added: short/3D/PyLith/trunk/tests/refinefaulttip/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/tests/refinefaulttip/Makefile.am	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/refinefaulttip/Makefile.am	2011-06-14 00:54:57 UTC (rev 18611)
@@ -0,0 +1,26 @@
+# -*- Makefile -*-
+#
+# ----------------------------------------------------------------------
+#
+# Brad T. Aagaard, U.S. Geological Survey
+# Charles A. Williams, GNS Science
+# Matthew G. Knepley, University of Chicago
+#
+# This code was developed as part of the Computational Infrastructure
+# for Geodynamics (http://geodynamics.org).
+#
+# Copyright (c) 2010 University of California, Davis
+#
+# See COPYING for license information.
+#
+# ----------------------------------------------------------------------
+#
+
+dist_noinst_DATA =\
+	tri3.cfg \
+	tri3.mesh \
+	quad4.cfg \
+	quad4.mesh
+
+
+# End of file 

Added: short/3D/PyLith/trunk/tests/refinefaulttip/Makefile.in
===================================================================
--- short/3D/PyLith/trunk/tests/refinefaulttip/Makefile.in	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/refinefaulttip/Makefile.in	2011-06-14 00:54:57 UTC (rev 18611)
@@ -0,0 +1,443 @@
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+
+# -*- Makefile -*-
+#
+# ----------------------------------------------------------------------
+#
+# Brad T. Aagaard, U.S. Geological Survey
+# Charles A. Williams, GNS Science
+# Matthew G. Knepley, University of Chicago
+#
+# This code was developed as part of the Computational Infrastructure
+# for Geodynamics (http://geodynamics.org).
+#
+# Copyright (c) 2010 University of California, Davis
+#
+# See COPYING for license information.
+#
+# ----------------------------------------------------------------------
+#
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = tests/refinefaulttip
+DIST_COMMON = $(dist_noinst_DATA) $(srcdir)/Makefile.am \
+	$(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ac_pkg_swig.m4 \
+	$(top_srcdir)/m4/cit_cppunit.m4 $(top_srcdir)/m4/cit_cuda.m4 \
+	$(top_srcdir)/m4/cit_funcstring.m4 \
+	$(top_srcdir)/m4/cit_hdf5.m4 $(top_srcdir)/m4/cit_mpi.m4 \
+	$(top_srcdir)/m4/cit_netcdf.m4 $(top_srcdir)/m4/cit_numpy.m4 \
+	$(top_srcdir)/m4/cit_petsc.m4 $(top_srcdir)/m4/cit_proj4.m4 \
+	$(top_srcdir)/m4/cit_python.m4 \
+	$(top_srcdir)/m4/cit_spatialdata.m4 \
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
+	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+	$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/portinfo
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+DATA = $(dist_noinst_DATA)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_LDFLAGS = @AM_LDFLAGS@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+NUMPY_INCDIR = @NUMPY_INCDIR@
+NVCC = @NVCC@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PETSC_ARCH = @PETSC_ARCH@
+PETSC_CC = @PETSC_CC@
+PETSC_CC_INCLUDES = @PETSC_CC_INCLUDES@
+PETSC_CXX = @PETSC_CXX@
+PETSC_CXX_INCLUDE = @PETSC_CXX_INCLUDE@
+PETSC_CXX_LIB = @PETSC_CXX_LIB@
+PETSC_DIR = @PETSC_DIR@
+PETSC_FC = @PETSC_FC@
+PETSC_FC_INCLUDES = @PETSC_FC_INCLUDES@
+PETSC_FORTRAN_LIB = @PETSC_FORTRAN_LIB@
+PETSC_LIB = @PETSC_LIB@
+PETSC_MPI_INCLUDE = @PETSC_MPI_INCLUDE@
+PETSC_MPI_LIB = @PETSC_MPI_LIB@
+PETSC_SIEVE_FLAGS = @PETSC_SIEVE_FLAGS@
+PETSC_VERSION_MAJOR = @PETSC_VERSION_MAJOR@
+PETSC_VERSION_MINOR = @PETSC_VERSION_MINOR@
+PETSC_VERSION_SUBMINOR = @PETSC_VERSION_SUBMINOR@
+PYLITH_SWIG_CPPFLAGS = @PYLITH_SWIG_CPPFLAGS@
+PYTHON = @PYTHON@
+PYTHONPATH = @PYTHONPATH@
+PYTHON_BLDLIBRARY = @PYTHON_BLDLIBRARY@
+PYTHON_EGG_CFLAGS = @PYTHON_EGG_CFLAGS@
+PYTHON_EGG_CPPFLAGS = @PYTHON_EGG_CPPFLAGS@
+PYTHON_EGG_LDFLAGS = @PYTHON_EGG_LDFLAGS@
+PYTHON_EGG_LIBS = @PYTHON_EGG_LIBS@
+PYTHON_EGG_PYXFLAGS = @PYTHON_EGG_PYXFLAGS@
+PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
+PYTHON_INCDIR = @PYTHON_INCDIR@
+PYTHON_LA_LDFLAGS = @PYTHON_LA_LDFLAGS@
+PYTHON_LDFLAGS = @PYTHON_LDFLAGS@
+PYTHON_LDLAST = @PYTHON_LDLAST@
+PYTHON_LDLIBRARY = @PYTHON_LDLIBRARY@
+PYTHON_LIBDIR = @PYTHON_LIBDIR@
+PYTHON_LIBP = @PYTHON_LIBP@
+PYTHON_LIBPL = @PYTHON_LIBPL@
+PYTHON_LIBS = @PYTHON_LIBS@
+PYTHON_LINKFORSHARED = @PYTHON_LINKFORSHARED@
+PYTHON_MODLIBS = @PYTHON_MODLIBS@
+PYTHON_PLATFORM = @PYTHON_PLATFORM@
+PYTHON_PREFIX = @PYTHON_PREFIX@
+PYTHON_SYSLIBS = @PYTHON_SYSLIBS@
+PYTHON_VERSION = @PYTHON_VERSION@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+SWIG = @SWIG@
+SWIG_LIB = @SWIG_LIB@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+have_doxygen = @have_doxygen@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+lt_ECHO = @lt_ECHO@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+pkgpyexecdir = @pkgpyexecdir@
+pkgpythondir = @pkgpythondir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+pyexecdir = @pyexecdir@
+pythondir = @pythondir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+dist_noinst_DATA = \
+	tri3.cfg \
+	tri3.mesh \
+	quad4.cfg \
+	quad4.mesh
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+	        && { if test -f $@; then exit 0; else break; fi; }; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/refinefaulttip/Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign tests/refinefaulttip/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	list='$(DISTFILES)'; \
+	  dist_files=`for file in $$list; do echo $$file; done | \
+	  sed -e "s|^$$srcdirstrip/||;t" \
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+	case $$dist_files in \
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+			   sort -u` ;; \
+	esac; \
+	for file in $$dist_files; do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  if test -d $$d/$$file; then \
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d "$(distdir)/$$file"; then \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+	  else \
+	    test -f "$(distdir)/$$file" \
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-am
+all-am: Makefile $(DATA)
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+	-rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+	distclean distclean-generic distclean-libtool distdir dvi \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-dvi install-dvi-am \
+	install-exec install-exec-am install-html install-html-am \
+	install-info install-info-am install-man install-pdf \
+	install-pdf-am install-ps install-ps-am install-strip \
+	installcheck installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-generic \
+	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
+
+
+# End of file 
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:

Added: short/3D/PyLith/trunk/tests/refinefaulttip/hex8.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/refinefaulttip/hex8.cfg	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/refinefaulttip/hex8.cfg	2011-06-14 00:54:57 UTC (rev 18611)
@@ -0,0 +1,144 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# journal
+# ----------------------------------------------------------------------
+# Turn on some journals to show progress.
+[pylithapp.journal.info]
+timedependent = 1
+implicit = 1
+petsc = 1
+meshiocubit = 1
+implicitelasticity = 1
+quadrature2d = 1
+fiatlagrange = 1
+faultcohesivedyn = 1
+
+[pylithapp.journal.debug]
+pylithapp = 1
+problem = 1
+implicit = 1
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator]
+reader = pylith.meshio.MeshIOAscii
+debug = 1
+distributor.write_partition = True
+distributor.data_writer.filename = partition.vtk
+
+# SWITCH FOR REFINEMENT
+refiner = pylith.topology.RefineUniform
+
+
+[pylithapp.mesh_generator.reader]
+filename = hex8.mesh
+coordsys.space_dim = 3
+
+# ----------------------------------------------------------------------
+# problem
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+dimension = 3
+
+formulation = pylith.problems.Implicit
+
+normalizer = spatialdata.units.NondimElasticQuasistatic
+normalizer.length_scale = 1.0*m
+normalizer.relaxation_time = 1.0*s
+
+bc = [xpos,xneg]
+interfaces = [fault]
+materials = [elastic]
+
+[pylithapp.timedependent.implicit.time_step]
+total_time = 0.0*s
+dt = 0.1*s
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials.elastic]
+label = Elastic material
+id = 0
+db_properties = spatialdata.spatialdb.UniformDB
+db_properties.label = Elastic properties
+db_properties.values = [density, vp, vs]
+db_properties.data = [2500.0*km/m**3, 5.1962*km/s, 3.0*km/s]
+
+quadrature.cell = pylith.feassemble.FIATLagrange
+quadrature.cell.dimension = 3
+quadrature.cell.quad_order = 2
+
+# ----------------------------------------------------------------------
+# boundary conditions
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.bc]
+
+# Dirichlet BC on -x
+[pylithapp.timedependent.bc.xneg]
+bc_dof = [0, 1, 2]
+label = xneg
+
+
+# Dirichlet BC on +x
+[pylithapp.timedependent.bc.xpos]
+bc_dof = [0, 1, 2]
+label = xpos
+
+# ----------------------------------------------------------------------
+# faults
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.interfaces.fault]
+id = 100
+label = fault
+quadrature.cell = pylith.feassemble.FIATLagrange
+quadrature.cell.dimension = 2
+quadrature.cell.quad_order = 2
+
+[pylithapp.timedependent.interfaces.fault.eq_srcs.rupture.slip_function]
+slip = spatialdata.spatialdb.UniformDB
+slip.label = Final slip
+slip.values = [left-lateral-slip,reverse-slip,fault-opening]
+slip.data = [0.1*m,0.0*m,0.0*m]
+
+slip_time = spatialdata.spatialdb.UniformDB
+slip_time.label = Slip initiation time
+slip_time.values = [slip-time]
+slip_time.data = [0.0*s]
+
+# ----------------------------------------------------------------------
+# PETSc
+# ----------------------------------------------------------------------
+[pylithapp.petsc]
+
+# Preconditioner settings.
+pc_type = asm
+sub_pc_factor_shift_type = nonzero
+
+# KSP
+ksp_rtol = 1.0e-12
+ksp_atol = 1.0e-15
+ksp_max_it = 500
+ksp_gmres_restart = 100
+
+ksp_monitor = true
+#ksp_view = true
+ksp_converged_reason = true
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.output]
+vertex_data_fields = [displacement]
+writer.filename = hex8.vtk
+
+[pylithapp.timedependent.interfaces.fault.output]
+vertex_data_fields=[slip]
+writer.filename = hex8-fault.vtk
+
+[pylithapp.timedependent.materials.elastic.output]
+cell_filter = pylith.meshio.CellFilterAvgMesh
+writer.filename = hex8-statevars.vtk

Added: short/3D/PyLith/trunk/tests/refinefaulttip/hex8.mesh
===================================================================
--- short/3D/PyLith/trunk/tests/refinefaulttip/hex8.mesh	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/refinefaulttip/hex8.mesh	2011-06-14 00:54:57 UTC (rev 18611)
@@ -0,0 +1,136 @@
+// Original mesh
+//
+// Bottom
+//  2 ----- 5 ----- 8 -----11 -----14
+//  |       |       |       |       |
+//  |   4   |   5   |   6   |   7   |
+//  |       |       |       |       |
+//  1 ----- 4 ----- 7 -----10 -----13
+//  |       |       |       |       |
+//  |   0   |   1   |   2   |   3   |
+//  |       |       |       |       |
+//  0 ----- 3 ----- 6 ----- 9 -----12
+//
+// Top
+// 17 -----20 -----23 -----26 -----29
+//  |       |       |       |       |
+//  |       |       |       |       |
+//  |       |       |       |       |
+// 16 -----19 -----22 -----25 -----28
+//  |       |       |       |       |
+//  |       |       |       |       |
+//  |       |       |       |       |
+// 15 -----18 -----21 -----24 -----27
+//
+mesh = {
+  dimension = 3
+  use-index-zero = true
+  vertices = {
+    dimension = 3
+    count = 30
+    coordinates = {
+             0     -2.0 -1.0 -1.0
+             1     -2.0  0.0 -1.0
+             2     -2.0  1.0 -1.0
+             3     -1.0 -1.0 -1.0
+             4     -1.0  0.0 -1.0
+             5     -1.0  1.0 -1.0
+             6      0.0 -1.0 -1.0
+             7      0.0  0.0 -1.0
+             8      0.0  1.0 -1.0
+             9     +1.0 -1.0 -1.0
+            10     +1.0  0.0 -1.0
+            11     +1.0  1.0 -1.0
+            12     +2.0 -1.0 -1.0
+            13     +2.0  0.0 -1.0
+            14     +2.0  1.0 -1.0
+            15     -2.0 -1.0 +1.0
+            16     -2.0  0.0 +1.0
+            17     -2.0  1.0 +1.0
+            18     -1.0 -1.0 +1.0
+            19     -1.0  0.0 +1.0
+            20     -1.0  1.0 +1.0
+            21      0.0 -1.0 +1.0
+            22      0.0  0.0 +1.0
+            23      0.0  1.0 +1.0
+            24     +1.0 -1.0 +1.0
+            25     +1.0  0.0 +1.0
+            26     +1.0  1.0 +1.0
+            27     +2.0 -1.0 +1.0
+            28     +2.0  0.0 +1.0
+            29     +2.0  1.0 +1.0
+    }
+  }
+  cells = {
+    count = 8
+    num-corners = 8
+    simplices = {
+             0       0  3  4  1 15 18 19 16
+             1       3  6  7  4 18 21 22 19
+             2       6  9 10  7 21 24 25 22
+             3       9 12 13 10 24 27 28 25
+             4       1  4  5  2 16 19 20 17
+             5       4  7  8  5 19 22 23 20
+             6       7 10 11  8 22 25 26 23
+             7      10 13 14 11 25 28 29 26
+    }
+    material-ids = {
+             0   0
+             1   0
+             2   0
+             3   0
+             4   0
+             5   0
+             6   0
+             7   0
+             8   0
+             9   0
+            10   0
+            11   0
+            12   0
+            13   0
+            14   0
+            15   0
+    }
+  }
+  group = {
+    name = fault
+    type = vertices
+    count = 4
+    indices = {
+      7  8 22 23
+    }
+  }
+  group = {
+    name = ypos
+    type = vertices
+    count = 10
+    indices = {
+      2  5  8 11 14 17 20 23 26 29
+    }
+  }
+  group = {
+    name = yneg
+    type = vertices
+    count = 10
+    indices = {
+      0  3  6  9 12 15 18 21 24 27
+    }
+  }
+  group = {
+    name = xpos
+    type = vertices
+    count = 6
+    indices = {
+      12 13 14 27 28 29
+    }
+  }
+  group = {
+    name = xneg
+    type = vertices
+    count = 6
+    indices = {
+      0  1  2 15 16 17
+    }
+  }
+}

Added: short/3D/PyLith/trunk/tests/refinefaulttip/quad4.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/refinefaulttip/quad4.cfg	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/refinefaulttip/quad4.cfg	2011-06-14 00:54:57 UTC (rev 18611)
@@ -0,0 +1,147 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# journal
+# ----------------------------------------------------------------------
+# Turn on some journals to show progress.
+[pylithapp.journal.info]
+timedependent = 1
+implicit = 1
+petsc = 1
+meshiocubit = 1
+implicitelasticity = 1
+quadrature2d = 1
+fiatlagrange = 1
+faultcohesivedyn = 1
+
+[pylithapp.journal.debug]
+pylithapp = 1
+problem = 1
+implicit = 1
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator]
+reader = pylith.meshio.MeshIOAscii
+debug = 1
+distributor.write_partition = True
+distributor.data_writer.filename = partition.vtk
+
+# SWITCH FOR REFINEMENT
+refiner = pylith.topology.RefineUniform
+
+
+[pylithapp.mesh_generator.reader]
+filename = quad4.mesh
+coordsys.space_dim = 2
+
+# ----------------------------------------------------------------------
+# problem
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+dimension = 2
+
+formulation = pylith.problems.Implicit
+
+normalizer = spatialdata.units.NondimElasticQuasistatic
+normalizer.length_scale = 1.0*m
+normalizer.relaxation_time = 1.0*s
+
+bc = [xpos,xneg]
+interfaces = [fault]
+materials = [elastic]
+
+[pylithapp.timedependent.implicit.time_step]
+total_time = 0.0*s
+dt = 0.1*s
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials]
+elastic = pylith.materials.ElasticPlaneStrain
+
+[pylithapp.timedependent.materials.elastic]
+label = Elastic material
+id = 0
+db_properties = spatialdata.spatialdb.UniformDB
+db_properties.label = Elastic properties
+db_properties.values = [density, vp, vs]
+db_properties.data = [2500.0*km/m**3, 5.1962*km/s, 3.0*km/s]
+
+quadrature.cell = pylith.feassemble.FIATLagrange
+quadrature.cell.dimension = 2
+quadrature.cell.quad_order = 2
+
+# ----------------------------------------------------------------------
+# boundary conditions
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.bc]
+
+# Dirichlet BC on -x
+[pylithapp.timedependent.bc.xneg]
+bc_dof = [0, 1]
+label = xneg
+
+
+# Dirichlet BC on +x
+[pylithapp.timedependent.bc.xpos]
+bc_dof = [0, 1]
+label = xpos
+
+# ----------------------------------------------------------------------
+# faults
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.interfaces.fault]
+id = 100
+label = fault
+quadrature.cell = pylith.feassemble.FIATLagrange
+quadrature.cell.dimension = 1
+quadrature.cell.quad_order = 2
+
+[pylithapp.timedependent.interfaces.fault.eq_srcs.rupture.slip_function]
+slip = spatialdata.spatialdb.UniformDB
+slip.label = Final slip
+slip.values = [left-lateral-slip,fault-opening]
+slip.data = [0.1*m, 0.0*m]
+
+slip_time = spatialdata.spatialdb.UniformDB
+slip_time.label = Slip initiation time
+slip_time.values = [slip-time]
+slip_time.data = [0.0*s]
+
+# ----------------------------------------------------------------------
+# PETSc
+# ----------------------------------------------------------------------
+[pylithapp.petsc]
+
+# Preconditioner settings.
+pc_type = asm
+sub_pc_factor_shift_type = nonzero
+
+# KSP
+ksp_rtol = 1.0e-12
+ksp_atol = 1.0e-15
+ksp_max_it = 500
+ksp_gmres_restart = 100
+
+ksp_monitor = true
+#ksp_view = true
+ksp_converged_reason = true
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.output]
+vertex_data_fields = [displacement]
+writer.filename = quad4.vtk
+
+[pylithapp.timedependent.interfaces.fault.output]
+vertex_data_fields=[slip]
+writer.filename = quad4-fault.vtk
+
+[pylithapp.timedependent.materials.elastic.output]
+cell_filter = pylith.meshio.CellFilterAvgMesh
+writer.filename = quad4-statevars.vtk

Added: short/3D/PyLith/trunk/tests/refinefaulttip/quad4.mesh
===================================================================
--- short/3D/PyLith/trunk/tests/refinefaulttip/quad4.mesh	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/refinefaulttip/quad4.mesh	2011-06-14 00:54:57 UTC (rev 18611)
@@ -0,0 +1,101 @@
+// Original mesh
+//
+//  2 ----- 5 ----- 8 -----11 -----14
+//  |       |       |       |       |
+//  |   4   |   5   |   6   |   7   |
+//  |       |       |       |       |
+//  1 ----- 4 ----- 7 -----10 -----13
+//  |       |       |       |       |
+//  |   0   |   1   |   2   |   3   |
+//  |       |       |       |       |
+//  0 ----- 3 ----- 6 ----- 9 -----12
+//
+mesh = {
+  dimension = 2
+  use-index-zero = true
+  vertices = {
+    dimension = 2
+    count = 15
+    coordinates = {
+             0     -2.0 -1.0
+             1     -2.0  0.0
+             2     -2.0  1.0
+             3     -1.0 -1.0
+             4     -1.0  0.0
+             5     -1.0  1.0
+             6      0.0 -1.0
+             7      0.0  0.0
+             8      0.0  1.0
+             9     +1.0 -1.0
+            10     +1.0  0.0
+            11     +1.0  1.0
+            12     +2.0 -1.0
+            13     +2.0  0.0
+            14     +2.0  1.0
+    }
+  }
+  cells = {
+    count = 8
+    num-corners = 4
+    simplices = {
+             0       0  3  4  1
+             1       3  6  7  4
+             2       6  9 10  7
+             3       9 12 13 10
+             4       1  4  5  2
+             5       4  7  8  5
+             6       7 10 11  8
+             7      10 13 14 11
+    }
+    material-ids = {
+             0   0
+             1   0
+             2   0
+             3   0
+             4   0
+             5   0
+             6   0
+             7   0
+    }
+  }
+  group = {
+    name = fault
+    type = vertices
+    count = 2
+    indices = {
+      7  8
+    }
+  }
+  group = {
+    name = ypos
+    type = vertices
+    count = 5
+    indices = {
+      2  5  8 11 14
+    }
+  }
+  group = {
+    name = yneg
+    type = vertices
+    count = 5
+    indices = {
+      0  3  6  9 12
+    }
+  }
+  group = {
+    name = xpos
+    type = vertices
+    count = 3
+    indices = {
+      12 13 14
+    }
+  }
+  group = {
+    name = xneg
+    type = vertices
+    count = 3
+    indices = {
+      0  1  2
+    }
+  }
+}

Added: short/3D/PyLith/trunk/tests/refinefaulttip/tri3.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/refinefaulttip/tri3.cfg	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/refinefaulttip/tri3.cfg	2011-06-14 00:54:57 UTC (rev 18611)
@@ -0,0 +1,147 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# journal
+# ----------------------------------------------------------------------
+# Turn on some journals to show progress.
+[pylithapp.journal.info]
+timedependent = 1
+implicit = 1
+petsc = 1
+meshiocubit = 1
+implicitelasticity = 1
+quadrature2d = 1
+fiatlagrange = 1
+faultcohesivedyn = 1
+
+[pylithapp.journal.debug]
+pylithapp = 1
+problem = 1
+implicit = 1
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator]
+reader = pylith.meshio.MeshIOAscii
+debug = 1
+distributor.write_partition = True
+distributor.data_writer.filename = partition.vtk
+
+# SWITCH FOR REFINEMENT
+refiner = pylith.topology.RefineUniform
+
+
+[pylithapp.mesh_generator.reader]
+filename = tri3.mesh
+coordsys.space_dim = 2
+
+# ----------------------------------------------------------------------
+# problem
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+dimension = 2
+
+formulation = pylith.problems.Implicit
+
+normalizer = spatialdata.units.NondimElasticQuasistatic
+normalizer.length_scale = 1.0*m
+normalizer.relaxation_time = 1.0*s
+
+bc = [xpos,xneg]
+interfaces = [fault]
+materials = [elastic]
+
+[pylithapp.timedependent.implicit.time_step]
+total_time = 0.0*s
+dt = 0.1*s
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials]
+elastic = pylith.materials.ElasticPlaneStrain
+
+[pylithapp.timedependent.materials.elastic]
+label = Elastic material
+id = 0
+db_properties = spatialdata.spatialdb.UniformDB
+db_properties.label = Elastic properties
+db_properties.values = [density, vp, vs]
+db_properties.data = [2500.0*km/m**3, 5.1962*km/s, 3.0*km/s]
+
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = triangle
+quadrature.cell.quad_order = 2
+
+# ----------------------------------------------------------------------
+# boundary conditions
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.bc]
+
+# Dirichlet BC on -x
+[pylithapp.timedependent.bc.xneg]
+bc_dof = [0, 1]
+label = xneg
+
+
+# Dirichlet BC on +x
+[pylithapp.timedependent.bc.xpos]
+bc_dof = [0, 1]
+label = xpos
+
+# ----------------------------------------------------------------------
+# faults
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.interfaces.fault]
+id = 100
+label = fault
+quadrature.cell = pylith.feassemble.FIATSimplex
+quadrature.cell.shape = line
+quadrature.cell.quad_order = 2
+
+[pylithapp.timedependent.interfaces.fault.eq_srcs.rupture.slip_function]
+slip = spatialdata.spatialdb.UniformDB
+slip.label = Final slip
+slip.values = [left-lateral-slip,fault-opening]
+slip.data = [0.1*m, 0.0*m]
+
+slip_time = spatialdata.spatialdb.UniformDB
+slip_time.label = Slip initiation time
+slip_time.values = [slip-time]
+slip_time.data = [0.0*s]
+
+# ----------------------------------------------------------------------
+# PETSc
+# ----------------------------------------------------------------------
+[pylithapp.petsc]
+
+# Preconditioner settings.
+pc_type = asm
+sub_pc_factor_shift_type = nonzero
+
+# KSP
+ksp_rtol = 1.0e-12
+ksp_atol = 1.0e-15
+ksp_max_it = 500
+ksp_gmres_restart = 100
+
+ksp_monitor = true
+#ksp_view = true
+ksp_converged_reason = true
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.output]
+vertex_data_fields = [displacement]
+writer.filename = tri3.vtk
+
+[pylithapp.timedependent.interfaces.fault.output]
+vertex_data_fields=[slip]
+writer.filename = tri3-fault.vtk
+
+[pylithapp.timedependent.materials.elastic.output]
+cell_filter = pylith.meshio.CellFilterAvgMesh
+writer.filename = tri3-statevars.vtk

Added: short/3D/PyLith/trunk/tests/refinefaulttip/tri3.mesh
===================================================================
--- short/3D/PyLith/trunk/tests/refinefaulttip/tri3.mesh	                        (rev 0)
+++ short/3D/PyLith/trunk/tests/refinefaulttip/tri3.mesh	2011-06-14 00:54:57 UTC (rev 18611)
@@ -0,0 +1,117 @@
+// Original mesh
+//
+//  2 ----- 5 ----- 8 -----11 -----14
+//  |  3 /  | \   7 |10   / | \  15 |
+//  |   / 2 |   \   |   /   |   \   |
+//  | /     | 6   \ | /  11 | 14  \ |
+//  1 ----- 4 ----- 7 -----10 -----13
+//  | \  1  | 4   / | \  9  | 12  / |
+//  |   \   |   /   |   \   |   /   |
+//  | 0   \ | /   5 | 8   \ | / 13  |
+//  0 ----- 3 ----- 6 ----- 9 -----12
+//
+mesh = {
+  dimension = 2
+  use-index-zero = true
+  vertices = {
+    dimension = 2
+    count = 15
+    coordinates = {
+             0     -2.0 -1.0
+             1     -2.0  0.0
+             2     -2.0  1.0
+             3     -1.0 -1.0
+             4     -1.0  0.0
+             5     -1.0  1.0
+             6      0.0 -1.0
+             7      0.0  0.0
+             8      0.0  1.0
+             9     +1.0 -1.0
+            10     +1.0  0.0
+            11     +1.0  1.0
+            12     +2.0 -1.0
+            13     +2.0  0.0
+            14     +2.0  1.0
+    }
+  }
+  cells = {
+    count = 16
+    num-corners = 3
+    simplices = {
+             0       0  3  1
+             1       1  3  4
+             2       1  4  5
+             3       1  5  2
+             4       3  7  4
+             5       3  6  7
+             6       4  7  5
+             7       5  7  8
+             8       7  6  9
+             9       7  9 10
+            10       7 11  8
+            11       7 10 11
+            12       9 13 10
+            13       9 12 13
+            14      10 13 11
+            15      11 13 14
+    }
+    material-ids = {
+             0   0
+             1   0
+             2   0
+             3   0
+             4   0
+             5   0
+             6   0
+             7   0
+             8   0
+             9   0
+            10   0
+            11   0
+            12   0
+            13   0
+            14   0
+            15   0
+    }
+  }
+  group = {
+    name = fault
+    type = vertices
+    count = 2
+    indices = {
+      7  8
+    }
+  }
+  group = {
+    name = ypos
+    type = vertices
+    count = 5
+    indices = {
+      2  5  8 11 14
+    }
+  }
+  group = {
+    name = yneg
+    type = vertices
+    count = 5
+    indices = {
+      0  3  6  9 12
+    }
+  }
+  group = {
+    name = xpos
+    type = vertices
+    count = 3
+    indices = {
+      12 13 14
+    }
+  }
+  group = {
+    name = xneg
+    type = vertices
+    count = 3
+    indices = {
+      0  1  2
+    }
+  }
+}



More information about the CIG-COMMITS mailing list