This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Poisson | |
#This is used to solve the system Ax = b in step 2 | |
export poissonNeumannSparseSolver, getANeumannSparse, testPoissonNeumannSparse | |
function getANeumannSparse(n) | |
spn = (n-2)*(n-2) #sparse n | |
#Definir matriz A | |
A = 4*speye(spn, spn) | |
k=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\ProvidesPackage{pgraphics} | |
\newcommand{\domainOne}[0]{ | |
\begin{center} | |
\tikzstyle{help lines}+=[dashed]% | |
\begin{tikzpicture} | |
%axes | |
\draw[->] (0,5) -- (xyz cs:y=6); | |
\draw (0,6.3) node {$y(j)$}; | |
\draw[->] (5,0) -- (xyz cs:x=6); |
NewerOlder