12 #ifndef CD_FieldSolverFactoryImplem_H
13 #define CD_FieldSolverFactoryImplem_H
17 #include <CD_NamespaceHeader.H>
22 CH_TIME(
"FieldSolverFactory<T>::FieldSolverFactory()");
28 CH_TIME(
"FieldSolverFactory<T>::~FieldSolverFactory()");
32 RefCountedPtr<FieldSolver>
35 CH_TIME(
"FieldSolverFactory<T>::newSolver()");
37 return RefCountedPtr<FieldSolver>(
new T);
40 #include <CD_NamespaceFooter.H>
Declaration of a template factory class for making FieldSolvers.
FieldSolverFactory()
Constructor (does nothing)
Definition: CD_FieldSolverFactoryImplem.H:20
RefCountedPtr< FieldSolver > newSolver() const
Factory method.
Definition: CD_FieldSolverFactoryImplem.H:33
~FieldSolverFactory()
Constructor (does nothing)
Definition: CD_FieldSolverFactoryImplem.H:26