www.cemf.ir
initialize_Control.hpp
Go to the documentation of this file.
1
/*------------------------------- phasicFlow ---------------------------------
2
O C enter of
3
O O E ngineering and
4
O O M ultiscale modeling of
5
OOOOOOO F luid flow
6
------------------------------------------------------------------------------
7
Copyright (C): www.cemf.ir
8
email: hamid.r.norouzi AT gmail.com
9
------------------------------------------------------------------------------
10
Licence:
11
This file is part of phasicFlow code. It is a free software for simulating
12
granular and multiphase flows. You can redistribute it and/or modify it under
13
the terms of GNU General Public License v3 or any other later versions.
14
15
phasicFlow is distributed to help others in their research in the field of
16
granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
19
-----------------------------------------------------------------------------*/
20
21
#ifndef __initializedControl_hpp__
22
#define __initializedControl_hpp__
23
24
// initilized and finalize should be placed in onc scope
25
#include "
initialize.hpp
"
26
27
REPORT
(0)<<
"\nCreating Control repository . . ."
<<
END_REPORT
;
28
pFlow::uniquePtr<pFlow::systemControl>
ControlPtr
=
nullptr
;
29
30
/*if(isCoupling)
31
{
32
pFlow::readControlDict controlDict;
33
34
ControlPtr = pFlow::makeUnique<pFlow::systemControl>
35
(
36
controlDict.startTime(),
37
controlDict.endTime(),
38
controlDict.saveInterval(),
39
controlDict.startTimeNreseame()
40
);
41
}*/
42
/*else
43
{*/
44
ControlPtr
= pFlow::makeUnique<pFlow::systemControl>();
45
//}
46
47
auto
&
Control
=
ControlPtr
();
48
49
#endif
initialize.hpp
REPORT
REPORT(0)<<"\nCreating Control repository . . ."<< END_REPORT
ControlPtr
pFlow::uniquePtr< pFlow::systemControl > ControlPtr
Definition:
initialize_Control.hpp:28
END_REPORT
#define END_REPORT
Definition:
streams.hpp:40
pFlow::uniquePtr
Definition:
uniquePtr.hpp:42
Control
auto & Control
Definition:
initialize_Control.hpp:47
src
setHelpers
initialize_Control.hpp
Generated by
1.8.17