File tree Expand file tree Collapse file tree 1 file changed +10
-22
lines changed
Expand file tree Collapse file tree 1 file changed +10
-22
lines changed Original file line number Diff line number Diff line change 7777 " \n " ,
7878 " and the source term consists of two initial spikes inside the domain, as follows:\n " ,
7979 " \n " ,
80- " $b_{i,j}=100$ at $i=nx/4 , j=ny/4 $\n " ,
80+ " $b_{i,j}=100$ at $i=\\ frac{1}{4}nx , j=\\ frac{1}{4}ny $\n " ,
8181 " \n " ,
82- " $b_{i,j}=-100$ at $i=nx*3/4 , j=3/4 ny$\n " ,
82+ " $b_{i,j}=-100$ at $i=\\ frac{3}{4}nx , j=\\ frac{3}{4} ny$\n " ,
8383 " \n " ,
8484 " $b_{i,j}=0$ everywhere else.\n " ,
8585 " \n " ,
110110 {
111111 "cell_type" : " code" ,
112112 "execution_count" : 2 ,
113- "metadata" : {
114- "collapsed" : false
115- },
113+ "metadata" : {},
116114 "outputs" : [],
117115 "source" : [
118116 " # Parameters\n " ,
149147 {
150148 "cell_type" : " code" ,
151149 "execution_count" : 3 ,
152- "metadata" : {
153- "collapsed" : false
154- },
150+ "metadata" : {},
155151 "outputs" : [],
156152 "source" : [
157153 " for it in range(nt):\n " ,
179175 {
180176 "cell_type" : " code" ,
181177 "execution_count" : 4 ,
182- "metadata" : {
183- "collapsed" : false
184- },
178+ "metadata" : {},
185179 "outputs" : [],
186180 "source" : [
187181 " def plot2D(x, y, p):\n " ,
198192 {
199193 "cell_type" : " code" ,
200194 "execution_count" : 5 ,
201- "metadata" : {
202- "collapsed" : false
203- },
195+ "metadata" : {},
204196 "outputs" : [
205197 {
206198 "data" : {
248240 {
249241 "cell_type" : " code" ,
250242 "execution_count" : 6 ,
251- "metadata" : {
252- "collapsed" : false
253- },
243+ "metadata" : {},
254244 "outputs" : [
255245 {
256246 "data" : {
283273 {
284274 "cell_type" : " code" ,
285275 "execution_count" : 7 ,
286- "metadata" : {
287- "collapsed" : false
288- },
276+ "metadata" : {},
289277 "outputs" : [
290278 {
291279 "data" : {
415403 "name" : " python" ,
416404 "nbconvert_exporter" : " python" ,
417405 "pygments_lexer" : " ipython3" ,
418- "version" : " 3.5.2 "
406+ "version" : " 3.6.5 "
419407 }
420408 },
421409 "nbformat" : 4 ,
422- "nbformat_minor" : 0
410+ "nbformat_minor" : 1
423411}
You can’t perform that action at this time.
0 commit comments