Re: [Libmesh-users] Derived System

2010-04-01 Thread Roy Stogner
On Thu, 1 Apr 2010, Vijay S. Mahadevan wrote: > I thought I sent in a request a while back to make this method virtual > in order to facilitate exactly this. Actually, this is one of the primary reasons *not* to make this method virtual. Imagine if, instead of removing a couple lines of code an

Re: [Libmesh-users] Derived System

2010-04-01 Thread Andrea Hawkins
Ahh... I see. Yes, I was overwriting sys_type. It is now working fine. Thanks! Andrea On Thu, Apr 1, 2010 at 4:06 PM, Roy Stogner wrote: > > On Thu, 1 Apr 2010, Andrea Hawkins wrote: > >> Hmm... I still get the same error. >> >> It doesn't appear that there is a check in EquationSystems::read()

Re: [Libmesh-users] Derived System

2010-04-01 Thread Vijay S. Mahadevan
Roy, Sorry about the previous message. I thought I sent in a request a while back to make this method virtual in order to facilitate exactly this. I'm not sure whether those features are in the repository now. I'm talking about our virtual methods discussion on deriving from EquationSystems. Vij

Re: [Libmesh-users] Derived System

2010-04-01 Thread Roy Stogner
On Thu, 1 Apr 2010, Andrea Hawkins wrote: > Hmm... I still get the same error. > > It doesn't appear that there is a check in EquationSystems::read() to > see if the system exists. There's no check in EquationSystems::read() - there's one in EquationSystems::add_system(). But wait - maybe you'r

Re: [Libmesh-users] Derived System

2010-04-01 Thread Roy Stogner
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