[cig-commits] commit: Added bottom BC to figure. Updated caption.

Mercurial hg at geodynamics.org
Mon Apr 9 17:08:15 PDT 2012


changeset:   95:532e39b156b7
tag:         tip
user:        Brad Aagaard <baagaard at usgs.gov>
date:        Mon Apr 09 17:08:05 2012 -0700
files:       faultRup.tex figs/solvertest_geometry.tex
description:
Added bottom BC to figure. Updated caption.


diff -r 82e4ed43ad18 -r 532e39b156b7 faultRup.tex
--- a/faultRup.tex	Mon Apr 09 16:30:07 2012 -0700
+++ b/faultRup.tex	Mon Apr 09 17:08:05 2012 -0700
@@ -1251,7 +1251,20 @@ MGK acknowledges partial support from NS
 \end{figure}
 
 \begin{figure}
-  ADD plot of scaling for solvertest problem
+  \noindent\includegraphics{figs/solvertest_geometry}
+  \caption{Geometry of problem used in quasi-static performance
+    benchmark. Dirichlet boundary conditions prescribe a horizontal
+    lateral displacement of 2.0 m with no motion normal to the
+    boundary on two sides of the domain and zero vertical
+    displacement on the bottom boundary. We specify 1.0 m of
+    right-lateral motion on the middle fault and 0.5 m of left-lateral
+    motion on the two other faults. The faults extend down to a depth
+    of 12.0 km.}
+  \label{fig:solvertest:geometry}
+\end{figure}
+
+\begin{figure}
+  \brad{insert plot}
   %\noindent\includegraphics{figs/solvertest_scaling}
   \caption{Plot of parallel scaling for the performance benchmark.}
   \label{fig:solvertest:scaling}
diff -r 82e4ed43ad18 -r 532e39b156b7 figs/solvertest_geometry.tex
--- a/figs/solvertest_geometry.tex	Mon Apr 09 16:30:07 2012 -0700
+++ b/figs/solvertest_geometry.tex	Mon Apr 09 17:08:05 2012 -0700
@@ -14,8 +14,6 @@
 \pagestyle{empty}
 
 \input{figcolors}
-\pgfdeclarelayer{background}
-\pgfsetlayers{background,main}
 
 \usetikzlibrary{shapes,calc,3d}%
 
@@ -41,78 +39,84 @@
   y  = {(-0.9659cm,+0.25882cm)},
   z  = {(0cm,1cm)}]
 
+% Bottom BC
+\draw (-2.7,-2.7,-2.7) -- (-2.8,-2.6,-2.9) -- (-2.6,-2.8,-2.9) -- cycle;
+\draw (+2.7,-2.7,-2.7) -- (+2.6,-2.6,-2.9) -- (+2.8,-2.8,-2.9) -- cycle;
+\draw (+2.7,+2.7,-2.7) -- (+2.8,+2.6,-2.9) -- (+2.6,+2.8,-2.9) -- cycle;
+\draw (-2.7,+2.7,-2.7) -- (-2.8,+2.8,-2.9) -- (-2.6,+2.6,-2.9) -- cycle;
+
 % DOMAIN
 % bottom 
-\begin{scope}[canvas is yx plane at z=-3.6]
-  \path[boxstyle,boxshade] (-3.6,-3.6) rectangle (+3.6,+3.6);
+\begin{scope}[canvas is yx plane at z=-2.7]
+  \path[boxstyle,boxshade] (-2.7,-2.7) rectangle (+2.7,+2.7);
 \end{scope}
 % back 
-\begin{scope}[canvas is zy plane at x=+3.6]
-  \path[boxstyle,boxshade] (-3.6,-3.6) rectangle (0.0,+3.6);
+\begin{scope}[canvas is zy plane at x=+2.7]
+  \path[boxstyle,boxshade] (-2.7,-2.7) rectangle (0.0,+2.7);
 \end{scope}
 % left
-\begin{scope}[canvas is zx plane at y=+3.6]
-  \path[boxstyle,boxshade] (-3.6,-3.6) rectangle (0.0,+3.6);
+\begin{scope}[canvas is zx plane at y=+2.7]
+  \path[boxstyle,boxshade] (-2.7,-2.7) rectangle (0.0,+2.7);
 \end{scope}
 
 % Right BC
-\draw[dispbc,->] (+3.6,+1.2,-1.8) --  (+3.6,-1.2,-1.8) node[label,right] {2.0 m};
+\draw[dispbc,->] (+2.7,+0.9,-1.35) --  (+2.7,-0.9,-1.35) node[label,right] {2.0 m};
 
 % FAULTS
 % right
 \draw[faultright]
- (+0.5072,+1.8928,+0.0) -- 
- (+0.5072,+1.8928,-1.2) -- 
- (+3.6,-1.2,-1.2) -- 
- (+3.6,-1.2,+0.0) -- 
+ (+0.3804,+1.4196,+0.0) -- 
+ (+0.3804,+1.4196,-0.9) -- 
+ (+2.7,-0.9,-0.9) -- 
+ (+2.7,-0.9,+0.0) -- 
  cycle ;
 % middle
 \draw[faultmiddle]
- (-0.5072,-1.8928,+0.0) -- 
- (-0.5072,-1.8928,-1.2) -- 
- (+0.5072,+1.8928,-1.2) -- 
- (+0.5072,+1.8928,+0.0) -- 
+ (-0.3804,-1.4196,+0.0) -- 
+ (-0.3804,-1.4196,-0.9) -- 
+ (+0.3804,+1.4196,-0.9) -- 
+ (+0.3804,+1.4196,+0.0) -- 
  cycle ;
 % left
 \draw[faultleft]
- (-0.5072,-1.8928,+0.0) -- 
- (-0.5072,-1.8928,-1.2) -- 
- (-3.6,+1.2,-1.2) -- 
- (-3.6,+1.2,+0.0) -- 
+ (-0.3804,-1.4196,+0.0) -- 
+ (-0.3804,-1.4196,-0.9) -- 
+ (-2.7,+0.9,-0.9) -- 
+ (-2.7,+0.9,+0.0) -- 
  cycle ;
 
 % DOMAIN
 % front
-\begin{scope}[canvas is zy plane at x=-3.6]
-  \path[boxstyle,boxshade] (-3.6,-3.6) rectangle (0.0,+3.6);
+\begin{scope}[canvas is zy plane at x=-2.7]
+  \path[boxstyle,boxshade] (-2.7,-2.7) rectangle (0.0,+2.7);
 \end{scope}
 % right
-\begin{scope}[canvas is zx plane at y=-3.6]
-  \path[boxstyle,boxshade] (-3.6,-3.6) rectangle (0.0,+3.6);
+\begin{scope}[canvas is zx plane at y=-2.7]
+  \path[boxstyle,boxshade] (-2.7,-2.7) rectangle (0.0,+2.7);
 \end{scope}
 % top
 \begin{scope}[canvas is yx plane at z=+0.0]
-  \path[boxstyle,boxshade] (-3.6,-3.6) rectangle (+3.6,+3.6);
+  \path[boxstyle,boxshade] (-2.7,-2.7) rectangle (+2.7,+2.7);
 \end{scope}
 
 % Left BC
-\draw[dispbc,->] (-3.6,-1.2,-1.8) -- (-3.6,+1.2,-1.8) node[label,left] {2.0 m};
+\draw[dispbc,->] (-2.7,-0.9,-1.35) -- (-2.7,+0.9,-1.35) node[label,left] {2.0 m};
 
 % Fault slip vectors
-\draw[slip,->] ($(-0.1268,-0.4732,0.0)+(-0.09690,0.02588,0.0)$) -- 
-               ($(+0.1268,+0.4732,0.0)+(-0.09690,0.02588,0.0)$);
-\draw[slip,->] ($(+0.1268,+0.4732,0.0)-(-0.09690,0.02588,0.0)$) -- 
-               ($(-0.1268,-0.4732,0.0)-(-0.09690,0.02588,0.0)$);
+\draw[slip,->] ($(-0.0951,-0.3549,0.0)+(-0.09690,0.02588,0.0)$) -- 
+               ($(+0.0951,+0.3549,0.0)+(-0.09690,0.02588,0.0)$);
+\draw[slip,->] ($(+0.0951,+0.3549,0.0)-(-0.09690,0.02588,0.0)$) -- 
+               ($(-0.0951,-0.3549,0.0)-(-0.09690,0.02588,0.0)$);
 
-\draw[slip,->] ($(-2.4402,+0.0402,0.0)-(+0.07071,+0.07071,0.0)$) --
-               ($(-1.6670,-0.7330,0.0)-(+0.07071,+0.07071,0.0)$);
-\draw[slip,->] ($(-1.6670,-0.7330,0.0)+(+0.07071,+0.07071,0.0)$) --
-               ($(-2.4402,+0.0402,0.0)+(+0.07071,+0.07071,0.0)$);
+\draw[slip,->] ($(-1.8302,+0.0402,0.0)-(+0.07071,+0.07071,0.0)$) --
+               ($(-1.2502,-0.7330,0.0)-(+0.07071,+0.07071,0.0)$);
+\draw[slip,->] ($(-1.2502,-0.7330,0.0)+(+0.07071,+0.07071,0.0)$) --
+               ($(-1.8302,+0.0402,0.0)+(+0.07071,+0.07071,0.0)$);
 
-\draw[slip,->] ($(+1.6670,+0.7330,0.0)+(+0.07071,+0.07071,0.0)$) -- 
-               ($(+2.4402,-0.0402,0.0)+(+0.07071,+0.07071,0.0)$);
-\draw[slip,->] ($(+2.4402,-0.0402,0.0)-(+0.07071,+0.07071,0.0)$) -- 
-               ($(+1.6670,+0.7330,0.0)-(+0.07071,+0.07071,0.0)$);
+\draw[slip,->] ($(+1.2502,+0.7330,0.0)+(+0.07071,+0.07071,0.0)$) -- 
+               ($(+1.8302,-0.0402,0.0)+(+0.07071,+0.07071,0.0)$);
+\draw[slip,->] ($(+1.8302,-0.0402,0.0)-(+0.07071,+0.07071,0.0)$) -- 
+               ($(+1.2502,+0.7330,0.0)-(+0.07071,+0.07071,0.0)$);
 
 \end{tikzpicture}
 \end{document}



More information about the CIG-COMMITS mailing list