forked from usnistgov/fipy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.py
executable file
·61 lines (57 loc) · 2.6 KB
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
##
# ###################################################################
# FiPy - Python-based finite volume PDE solver
#
# FILE: "test.py"
#
# Author: Jonathan Guyer <[email protected]>
# Author: Daniel Wheeler <[email protected]>
# Author: James Warren <[email protected]>
# mail: NIST
# www: http://www.ctcms.nist.gov/fipy/
#
# ========================================================================
# This software was developed at the National Institute of Standards
# of Standards and Technology, an agency of the Federal Government.
# Pursuant to title 17 section 105 of the United States Code,
# United States Code this software is not subject to copyright
# protection, and this software is considered to be in the public domain.
# FiPy is an experimental system.
# NIST assumes no responsibility whatsoever for its use by whatsoever for its use by
# other parties, and makes no guarantees, expressed or implied, about
# its quality, reliability, or any other characteristic. We would
# appreciate acknowledgement if the software is used.
#
# To the extent that NIST may hold copyright in countries other than the
# United States, you are hereby granted the non-exclusive irrevocable and
# unconditional right to print, publish, prepare derivative works and
# distribute this software, in any medium, or authorize others to do so on
# your behalf, on a royalty-free basis throughout the world.
#
# You may improve, modify, and create derivative works of the software or
# any portion of the software, and you may copy and distribute such
# modifications or works. Modified works should carry a notice stating
# that you changed the software and should note the date and nature of any
# such change. Please explicitly acknowledge the National Institute of
# Standards and Technology as the original source.
#
# This software can be redistributed and/or modified freely provided that
# any derivative works bear some notice that they are derived from it, and
# any modified versions bear some notice that they have been modified.
# ========================================================================
#
# ###################################################################
##
from fipy.tests.doctestPlus import _LateImportDocTestSuite
import fipy.tests.testProgram
def _suite():
return _LateImportDocTestSuite(docTestModuleNames = (
'tanh1D',
'mesh2D',
'mesh3D',
'sphere',
'mesh2DCoupled',
), base = __name__)
if __name__ == '__main__':
fipy.tests.testProgram.main(defaultTest='_suite')