GRINS-0.8.0
List of all members | Public Member Functions
GRINS::VisualizationFactory Class Reference

#include <visualization_factory.h>

Public Member Functions

 VisualizationFactory ()
 
virtual ~VisualizationFactory ()
 
virtual SharedPtr< GRINS::Visualizationbuild (const GetPot &input, const libMesh::Parallel::Communicator &comm LIBMESH_CAN_DEFAULT_TO_COMMWORLD)
 

Detailed Description

Definition at line 34 of file visualization_factory.h.

Constructor & Destructor Documentation

GRINS::VisualizationFactory::VisualizationFactory ( )

Definition at line 39 of file visualization_factory.C.

40  {
41  return;
42  }
GRINS::VisualizationFactory::~VisualizationFactory ( )
virtual

Definition at line 44 of file visualization_factory.C.

45  {
46  return;
47  }

Member Function Documentation

SharedPtr< Visualization > GRINS::VisualizationFactory::build ( const GetPot &  input,
const libMesh::Parallel::Communicator &comm  LIBMESH_CAN_DEFAULT_TO_COMMWORLD 
)
virtual

Definition at line 50 of file visualization_factory.C.

52  {
53  bool transient = input("unsteady-solver/transient", false );
54 
55  Visualization* vis;
56 
57  if(transient)
58  vis = new UnsteadyVisualization( input, comm );
59  else
60  vis = new SteadyVisualization( input, comm );
61 
62  return SharedPtr<Visualization>( vis );
63  }

The documentation for this class was generated from the following files:

Generated on Tue Dec 19 2017 12:47:32 for GRINS-0.8.0 by  doxygen 1.8.9.1