[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mesh refinement
From: |
c. |
Subject: |
mesh refinement |
Date: |
Mon, 24 Jun 2013 06:46:43 +0200 |
Marco,
mesh handling functions look very nice, well done!
From your blog:
"The code, which is available here, allows us to obtain either a uniformly
refined mesh or to specify the list of the vertices we want to be refined."
I guess you actually meant "cells to be refined", right?
"P.s. As you have probably remarked, our functions are not able yet to treat
some information available in the e matrix. For example the label of the domain
to the left/right of the side elements, but we'll work on it later.."
The function msh2m_topological_properties can probably do that for you in 2d
already, give it a look, extensions to 3D should not be too difficult.
You should now work on a work-plan for the rest of the project.
I would suggest using TDD:
1) First write an example of how you expect the Octave interface to look like,
e.g. rewrite some of the C++/Python tutorials using Octave syntax, to get an
idea
of the classes and methods you need to implement
2) Define a smaller test for each of the classes/methods you need and define a
timeline
for its implementation (be conservative when estimating development times!)
3) Start coding!
c.
P.S. If you can don't miss Carnës talk today about Octave-Forge packaging:
https://www.google.com/calendar/embed?src=moxoff.com_i9klpheus6342tr3jr94gl78c8%40group.calendar.google.com&ctz=Europe/Paris
as he will be talking about how to run configure scripts during package
installation.