topy icon indicating copy to clipboard operation
topy copied to clipboard

Write test

Open ISosnovik opened this issue 6 years ago • 7 comments

As there are several examples, the tests could just check whether the results of the optimization of these examples are correct.

ISosnovik avatar Oct 24 '17 22:10 ISosnovik

Why removed the view of the iteration results for each step, maybe should add a output file which is record it.

ForeverDavid avatar Oct 27 '17 20:10 ForeverDavid

It is not removed. We replaced print with logging Just add it to your program

import logging

logger = logging.getLogger()
logger.addHandler(logging.StreamHandler())
logger.setLevel(logging.INFO)

Or if you want to write the output to a file, add other handler

ISosnovik avatar Oct 27 '17 21:10 ISosnovik

Thank you for your explanation. I am a Ph.D. student, just began to research topology optimization related works. We maybe can discuss more questions in the future. I have been followed your twitter. I am David.

ForeverDavid avatar Oct 27 '17 21:10 ForeverDavid

My twitter? Wow. This is the 1st time I understand, my twitter is not useless 😄 I used Topy for my master thesis. And it is good. Hope it will become even better during the following years If you have any questions, you are welcome to ask.

ISosnovik avatar Oct 27 '17 22:10 ISosnovik

Can I have a look at your master thesis? Is this your Ph.D. first year? I am Chinese and study in McGill now. From the network, you are the Russian people. o( ̄▽ ̄)ブ

ForeverDavid avatar Oct 27 '17 23:10 ForeverDavid

I've created a dataset of Topology Optimization Process. Here is the repo And the main research is summarised in this paper

ISosnovik avatar Oct 28 '17 08:10 ISosnovik

Ok, thanks.

ForeverDavid avatar Oct 28 '17 12:10 ForeverDavid