pStructSelector.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 
22 #ifndef __pStructSelector_hpp__
23 #define __pStructSelector_hpp__
24 
25 
26 #include "Vectors.hpp"
27 #include "virtualConstructor.hpp"
28 
29 namespace pFlow
30 {
31 
32 
33 class dictionary;
34 class pointStructure;
35 
37 {
38 protected:
39 
41 
42 public:
43 
44  // - type info
45  TypeInfo("pStructSelector");
46 
47 
49 
51  (
53  dictionary,
54  (const pointStructure& pStruct, const dictionary& dict),
55  (pStruct, dict)
56  );
57 
58  virtual ~pStructSelector() = default;
59 
61 
62  const pointStructure& pStruct()const;
63 
64 
65  virtual const int32Vector& selectedPoinsts()const = 0;
66 
67  virtual int32Vector& selectedPoinsts() = 0;
68 
69 
70  static
72 
73 };
74 
75 } // pFlow
76 
77 
78 #endif //__pStructSelector_hpp__
pFlow::pStructSelector::create
static uniquePtr< pStructSelector > create(const pointStructure &pStruct, const dictionary &dict)
Definition: pStructSelector.cpp:42
UNUSED
#define UNUSED(x)
Definition: pFlowMacros.hpp:35
Vectors.hpp
pFlow::pStructSelector::TypeInfo
TypeInfo("pStructSelector")
pFlow
Definition: demComponent.hpp:28
pFlow::pointStructure
Definition: pointStructure.hpp:44
pFlow::pStructSelector::pStruct_
const pointStructure & pStruct_
Definition: pStructSelector.hpp:40
pFlow::pStructSelector::pStruct
const pointStructure & pStruct() const
Definition: pStructSelector.cpp:35
virtualConstructor.hpp
pFlow::pStructSelector::selectedPoinsts
virtual const int32Vector & selectedPoinsts() const =0
pFlow::pStructSelector::~pStructSelector
virtual ~pStructSelector()=default
pFlow::pStructSelector
Definition: pStructSelector.hpp:36
pFlow::uniquePtr
Definition: uniquePtr.hpp:44
pFlow::pStructSelector::create_vCtor
create_vCtor(pStructSelector, dictionary,(const pointStructure &pStruct, const dictionary &dict),(pStruct, dict))
pFlow::Vector< int32 >
pFlow::pStructSelector::pStructSelector
pStructSelector(const pointStructure &pStruct, const dictionary &UNUSED(dict))
Definition: pStructSelector.cpp:27
pFlow::dictionary
Definition: dictionary.hpp:38