Advanced Multi-Physics (AMP)
On-Line Documentation
TimeIntegratorFactory.h
Go to the documentation of this file.
1/*
2Copyright 2005, The Regents of the University
3of California. This software was produced under
4a U.S. Government contract (W-7405-ENG-36)
5by Los Alamos National Laboratory, which is
6operated by the University of California for the
7U.S. Department of Energy. The U.S.
8Government is licensed to use, reproduce, and
9distribute this software. Permission is granted
10to the public to copy and use this software
11without charge, provided that this Notice and
12any statement of authorship are reproduced on
13all copies. Neither the Government nor the
14University makes any warranty, express or
15implied, or assumes any liability or
16responsibility for the use of this software.
17*/
18
19#ifndef included_TimeIntegratorFactory_H_
20#define included_TimeIntegratorFactory_H_
21
22#include "AMP/utils/FactoryStrategy.hpp"
23
24#include <memory>
25
26
27namespace AMP::IO {
28class RestartManager;
29}
30
31namespace AMP::TimeIntegrator {
32
33class TimeIntegrator;
34class TimeIntegratorParameters;
35
36
39 public FactoryStrategy<TimeIntegrator, std::shared_ptr<TimeIntegratorParameters>>
40{
41public:
42 static std::unique_ptr<TimeIntegrator>
43 create( std::shared_ptr<TimeIntegratorParameters> parameters );
44
46 static std::shared_ptr<TimeIntegrator> create( int64_t fid, AMP::IO::RestartManager *manager );
47};
48
49
50} // namespace AMP::TimeIntegrator
51
52
53#endif // included_TimeIntegratorFactory_H_
Class to manage reading/writing restart data.
static std::unique_ptr< TimeIntegrator > create(std::shared_ptr< TimeIntegratorParameters > parameters)
static std::shared_ptr< TimeIntegrator > create(int64_t fid, AMP::IO::RestartManager *manager)
Create the vector from the restart file.



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page