Thanks for pointing out the developer webpages. I had never looked at them
and they contain useful information.

I was able to separate step-33 into different files and compile them.

After that I started to add MeshWorker but I am getting compile errors which
I wrote here

http://dealii.org/~archiver/dealii/msg06579.html

This seems to be related to my multi-file code, because when I take the
original single file code and add the same MeshWorker, it compiles fine. I
am not able to figure out why it fails with the multi-file version.

I have attached my makefile.

Thanks
praveen

On Sat, Feb 26, 2011 at 3:30 AM, Timo Heister <
[email protected]> wrote:

> On Fri, Feb 25, 2011 at 12:44 AM, Praveen C <[email protected]> wrote:
> > I want to separate my code into different *.h and *.cc files. Are there
> any
> > issues in doing this, due to use of templates ? Since all the tutorial
> > examples are in a single *.cc file, its not clear to me how to do this.
>
> Of course you can use multiple header and source files. For bigger
> projects with more than one cc file you can make use of the makefile
> for "large projects", see:
> http://dealii.org/developer/development/makefiles.html#generic
>
> When putting implementations of template functions/classes in cc files
> you have to make use of explicit template instantiation (see your
> favorite c++ book).
>
> --
> Timo Heister
> http://num.math.uni-goettingen.de/~heister
>

Attachment: Makefile
Description: Binary data

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to