Skip to content
New issue

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

Refactor viewers #12

Closed
wd15 opened this issue Sep 19, 2014 · 5 comments
Closed

Refactor viewers #12

wd15 opened this issue Sep 19, 2014 · 5 comments

Comments

@wd15
Copy link
Contributor

wd15 commented Sep 19, 2014

Refactoring the viewers requires the following: - integrate Open DX - create base viewing class - it should contain most of the common functionality such as interpolation that needs to be done in FiPy. - enable unstructured mesh viewing - simplify pyx viewer - allow gnuplot to display variables

Imported from trac ticket #12, created by wd15 on 12-01-2004 at 10:19, last modified: 01-11-2007 at 06:58

@wd15
Copy link
Contributor Author

wd15 commented Sep 19, 2014

Logged In: YES user_id=1116094 maya vi rather than open dx?

Trac comment by wd15 on 12-03-2004 at 15:52

@wd15
Copy link
Contributor Author

wd15 commented Sep 19, 2014

Logged In: YES user_id=1116094 maya vi rather than open dx?

Trac comment by wd15 on 12-03-2004 at 15:53

@guyer
Copy link
Member

guyer commented Sep 19, 2014

Logged In: YES user_id=121894 Viewer factory class/method? Should be able to say &view this variable& without worrying about which viewers the user has installed, or what dimensions of mesh are, etc. Factory class does the inspection necessary to produce an appropriate Viewer. If you want a specific viewer, import and instantiate it; if you just want a viewer that works, use the factory. Where does functionality lie to do interpolation for different mesh geometries? No interpolation in the viewers. If you have an unstructured mesh and you want to display it on a structured viewer, create an intermediate variable with a structured mesh and plot that; let it interpoloate. Viewer should be simple. Sole function is to take data from our CellVariable/Mesh format and turn it into whatever format that a viewing package can handle. Some viewers, e.g., gist will only be able to display structured mesh variables; others, e.g. dx, could do structured or unstructured. Not realisitic to add plot() parameters for all the possible things somebody might want to customize their view with. Use the viewer's capability to use template files or scripts (gist, Igor, gnuplot? can all do this). Either specify the template by name or pass in a preformatted script.

Trac comment by jguyer on 12-06-2004 at 14:42

@guyer
Copy link
Member

guyer commented Sep 19, 2014

Logged In: YES user_id=121894 Process started. Call fipy.viewers.make(vars = ???) to get a functional viewer. Only works with Gist, but architecture is sound.

Trac comment by jguyer on 03-10-2005 at 17:21

@guyer
Copy link
Member

guyer commented Sep 19, 2014

Logged In: YES user_id=121894 Now works with a variety of viewers. PyX has been removed in favor of matplotlib. FIPY_VIEWER environment variable allows specifying desired viewer.

Trac comment by jguyer on 06-16-2005 at 13:37

@wd15 wd15 closed this as completed Sep 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants