We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code: bcs = (PeriodicBoundaryCondition(mesh.getFacesLeft(), mesh.getFacesRight()),) eq = TransientTerm() == ImplicitDiffusionTerm(coeff=0.1) from fipy.viewers.gist1DViewer import Gist1DViewer viewer = Gist1DViewer(vars = (var,)) viewer.plot() for i in range(1000): var.updateOld() eq.solve(var, dt = 0.1, boundaryConditions=bcs) viewer.plot() gave the following error: [work](skupskyr@nichdskupskyr)$ python2.4 diffusionexample.py Traceback (most recent call last): File &diffusionexample.py&, line 24, in ? eq.solve(var, dt = 0.1, boundaryConditions=bcs) File &/home/skupskyr/python/fipy/fipy/terms/term.py&, line 78, in solve matrix, RHSvector = self.buildMatrix(var, boundaryConditions, dt = dt) File &/home/skupskyr/python/fipy/fipy/terms/binaryTerm.py&, line 65, in buildMatrix termMatrix, termRHSvector = self.term2.buildMatrix(var, boundaryConditions, dt = d File &/home/skupskyr/python/fipy/fipy/terms/faceTerm.py&, line 174, in buildMatrix self.implicitBuildMatrix(L, id1, id2, b, weight['implicit'], mesh, boundaryConditi File &/home/skupskyr/python/fipy/fipy/terms/faceTerm.py&, line 79, in implicitBuildM LL, bb = boundaryCondition.buildMatrix(N, M, coeffMatrix) TypeError: buildMatrix() takes exactly 5 arguments (4 given)
Imported from trac ticket #30, created by nobody on 03-02-2005 at 17:17, last modified: 03-04-2005 at 11:23
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Imported from trac ticket #30, created by nobody on 03-02-2005 at 17:17, last modified: 03-04-2005 at 11:23
The text was updated successfully, but these errors were encountered: