On Thu, 1 Apr 2010, Andrea Hawkins wrote:

> I've created a system which inherits public
> TransientNonlinearImplicitSystem. This works fine, but when I write
> out the equation system and try to restart from some point, I get the
> error that it doesn't recognize my system and so cannot read the
> solution.
>
> It looks like when I call equation_systems.add_system templated with
> my system name it works fine, but when the equation_systems.read
> attempts to add systems it calls an add_system which is not templated,
> but passes the type as a variable.
>
> Is there an easy work around? Somewhere I could cast my system to
> something else?

The trick is to handle the add_system yourself, before calling
EquationSystems::read().  That way when read() calls add_system(), it
will notice that a system with the same name already exists and it
will use that.
---
Roy

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to