[cig-commits] commit: Started work on figure with solvertest geometry.

Mercurial hg at geodynamics.org
Thu Apr 5 17:09:45 PDT 2012


changeset:   93:93cea2d31475
tag:         tip
user:        Brad Aagaard <baagaard at usgs.gov>
date:        Thu Apr 05 17:09:36 2012 -0700
files:       figs/solvertest_geometry.tex
description:
Started work on figure with solvertest geometry.


diff -r bff3e66f960f -r 93cea2d31475 figs/solvertest_geometry.tex
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/figs/solvertest_geometry.tex	Thu Apr 05 17:09:36 2012 -0700
@@ -0,0 +1,95 @@
+\documentclass{article}
+\usepackage[none]{hyphenat}
+\usepackage{helvet}
+\renewcommand{\familydefault}{phv}
+
+\makeatletter
+\renewcommand{\large}{\@setfontsize\large{10}{9}}
+\renewcommand{\normalsize}{\@setfontsize\normalsize{8}{9.5}}
+\makeatother
+
+\usepackage{tikz}
+
+\begin{document}
+\pagestyle{empty}
+
+\input{figcolors}
+\pgfdeclarelayer{background}
+\pgfsetlayers{background,main}
+
+\usetikzlibrary{shapes,calc,3d}%
+
+\colorlet{colleft}{red}
+\colorlet{colright}{blue}
+\colorlet{colmiddle}{orange}
+\colorlet{colbox}{ltslate}
+
+\tikzstyle{faultleft}=[fill=colleft,line width=0.75pt,opacity=0.7]
+\tikzstyle{faultright}=[fill=colright,line width=0.75pt,opacity=0.7]
+\tikzstyle{faultmiddle}=[fill=colmiddle,line width=0.75pt,opacity=0.7]
+
+\tikzstyle{boxstyle}=[fill=colbox,opacity=0.5,draw=black,line join=round,shade]
+\tikzstyle{boxshade}=[top color=mdslate,bottom color=ltslate]
+
+\begin{tikzpicture}[>=latex,line width=0.75pt,
+  x  = {(-0.5cm,-0.5cm)},
+  y  = {(0.9659cm,-0.25882cm)},
+  z  = {(0cm,1cm)}]
+
+% DOMAIN
+% bottom 
+\begin{scope}[canvas is yx plane at z=-3.6]
+  \path[boxstyle,boxshade] (-3.6,-3.6) rectangle (+3.6,+3.6);
+\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);
+\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);
+\end{scope}
+
+% FAULTS
+% right
+\draw[faultright]
+ (+1.0,+1.5,+0.0) -- 
+ (+1.0,+1.5,-1.8) -- 
+ (+2.0,-1.5,-1.8) -- 
+ (+2.0,-1.5,+0.0) -- 
+ cycle ;
+% middle
+\draw[faultmiddle]
+ (-1.0,-1.5,+0.0) -- 
+ (-1.0,-1.5,-1.8) -- 
+ (+1.0,+1.5,-1.8) -- 
+ (+1.0,+1.5,+0.0) -- 
+ cycle ;
+% left
+\draw[faultleft]
+ (-1.0,-1.5,+0.0) -- 
+ (-1.0,-1.5,-1.8) -- 
+ (-2.0,+1.5,-1.8) -- 
+ (-2.0,+1.5,+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);
+\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);
+\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);
+\end{scope}
+
+% Boundary conditions
+
+% Fault slip vectors
+
+\end{tikzpicture}
+\end{document}



More information about the CIG-COMMITS mailing list