13#ifndef CD_FIELDSOLVERFACTORYIMPLEM_H
14#define CD_FIELDSOLVERFACTORYIMPLEM_H
18#include <CD_NamespaceHeader.H>
23 CH_TIME(
"FieldSolverFactory<T>::FieldSolverFactory()");
29 CH_TIME(
"FieldSolverFactory<T>::~FieldSolverFactory()");
33RefCountedPtr<FieldSolver>
36 CH_TIME(
"FieldSolverFactory<T>::newSolver()");
38 return RefCountedPtr<FieldSolver>(
new T);
41#include <CD_NamespaceFooter.H>
Declaration of a template factory class for making FieldSolvers.
FieldSolverFactory()
Constructor (does nothing)
Definition CD_FieldSolverFactoryImplem.H:21
RefCountedPtr< FieldSolver > newSolver() const
Factory method.
Definition CD_FieldSolverFactoryImplem.H:34
~FieldSolverFactory()
Constructor (does nothing)
Definition CD_FieldSolverFactoryImplem.H:27