Re: [Libmesh-users] AutoPtr copy constructor

2008-09-18 Thread Benjamin Kirk
>> Is there any reason why the AutoPtr class does not have a copy >> constructor? I would like to create an stl vector of AutoPtr >> >> vector< AutoPtr > > local_solution_history; >> >> to store the entire solution history. > > Unfortunately you can never ever have a container of AutoPtrs. Yo

Re: [Libmesh-users] AutoPtr copy constructor

2008-09-18 Thread John Peterson
On Thu, Sep 18, 2008 at 5:38 PM, David Fuentes <[EMAIL PROTECTED]> wrote: > > > Is there any reason why the AutoPtr class does not have a copy > constructor? I would like to create an stl vector of AutoPtr > > vector< AutoPtr > > local_solution_history; > > to store the entire solution history.

[Libmesh-users] AutoPtr copy constructor

2008-09-18 Thread David Fuentes
Is there any reason why the AutoPtr class does not have a copy constructor? I would like to create an stl vector of AutoPtr vector< AutoPtr > > local_solution_history; to store the entire solution history. thanks, df --

Re: [Libmesh-users] [Libmesh-devel] LIBMESH_-prefixed CPP variables

2008-09-18 Thread John Peterson
On Thu, Sep 18, 2008 at 3:25 PM, Roy Stogner <[EMAIL PROTECTED]> wrote: > Also, and this is a completely irrelevant remark that may lower the IQ > of anyone who reads it: Doesn't the singular noun with misconjugated > verb, "LIBMESH_HAVE_", make our config code now sound just a little > like it wa

Re: [Libmesh-users] [Libmesh-devel] LIBMESH_-prefixed CPP variables

2008-09-18 Thread Roy Stogner
On Wed, 17 Sep 2008, Benjamin Kirk wrote: > I am about to check in a substantial change set that prefixes every variable > in include/base/libmesh_config.h with LIBMESH_ to avoid conflicts with > external packages. I'm copying this to libmesh-users to make sure everyone sees it. As I just disco

Re: [Libmesh-users] System class Definition

2008-09-18 Thread David Fuentes
Roy, John, Thank you very much, df On Thu, 18 Sep 2008, Roy Stogner wrote: > > On Thu, 18 Sep 2008, David Fuentes wrote: > >> System is defined as a derived class of a template class >> ReferenceCountedObject ? >> >> I've never seen this before. Are both "System" referring >> to the sa

Re: [Libmesh-users] System class Definition

2008-09-18 Thread Roy Stogner
On Thu, 18 Sep 2008, David Fuentes wrote: > System is defined as a derived class of a template class > ReferenceCountedObject ? > > I've never seen this before. Are both "System" referring > to the same class? Is the System in the template the > same as the System in the class definition? Yes.

Re: [Libmesh-users] System class Definition

2008-09-18 Thread John Peterson
On Thu, Sep 18, 2008 at 9:45 AM, John Peterson <[EMAIL PROTECTED]> wrote: > On Thu, Sep 18, 2008 at 9:42 AM, David Fuentes <[EMAIL PROTECTED]> wrote: >> > >> I've never seen this before. Are both "System" referring >> to the same class? Is the System in the template the >> same as the System in th

Re: [Libmesh-users] System class Definition

2008-09-18 Thread John Peterson
On Thu, Sep 18, 2008 at 9:42 AM, David Fuentes <[EMAIL PROTECTED]> wrote: > > I've never seen this before. Are both "System" referring > to the same class? Is the System in the template the > same as the System in the class definition? Yeah, it's the same system. If you take a look at the templ

[Libmesh-users] System class Definition

2008-09-18 Thread David Fuentes
In the system class definition $LIBMESH_DIR/include/solvers/system.h // // System class definition class System : public ReferenceCountedObject { protected: . . . System is defined as a derived class of a template class Refer