TBTK
Need a break? Support the development by playing Polarity Puzzles
IndexBasedHoppingAmplitudeFilter.h
1 /* Copyright 2017 Kristofer Björnson
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
23 #ifndef COM_DAFER45_TBTK_INDEX_BASED_HOPPING_AMPLITUDE_FILTER
24 #define COM_DAFER45_TBTK_INDEX_BASED_HOPPING_AMPLITUDE_FILTER
25 
28 
29 namespace TBTK{
30 
32 public:
35  const AbstractIndexFilter &indexFilter
36  );
37 
40  const IndexBasedHoppingAmplitudeFilter &indexBasedHoppingAmplitudeFilter
41  );
42 
45  IndexBasedHoppingAmplitudeFilter &&indexBasedHoppingAmplitudeFilter
46  );
47 
50 
53  const IndexBasedHoppingAmplitudeFilter &indexBasedHoppingAmplitudeFilter
54  );
55 
58  IndexBasedHoppingAmplitudeFilter &&indexBasedHoppingAmplitudeFilter
59  );
60 
62  virtual IndexBasedHoppingAmplitudeFilter* clone() const;
63 
65  virtual bool isIncluded(
66  const HoppingAmplitude &hoppingAmplitude
67  ) const;
68 private:
70  AbstractIndexFilter *indexFilter;
71 };
72 
73 }; //End of namesapce TBTK
74 
75 #endif
TBTK::IndexBasedHoppingAmplitudeFilter::IndexBasedHoppingAmplitudeFilter
IndexBasedHoppingAmplitudeFilter(const AbstractIndexFilter &indexFilter)
AbstractHoppingAmplitudeFilter.h
Abstract HoppingAmplitude filter.
TBTK::IndexBasedHoppingAmplitudeFilter::operator=
IndexBasedHoppingAmplitudeFilter & operator=(const IndexBasedHoppingAmplitudeFilter &indexBasedHoppingAmplitudeFilter)
TBTK::IndexBasedHoppingAmplitudeFilter::~IndexBasedHoppingAmplitudeFilter
virtual ~IndexBasedHoppingAmplitudeFilter()
TBTK::AbstractIndexFilter
Definition: AbstractIndexFilter.h:30
AbstractIndexFilter.h
Abstract Index filter.
TBTK::IndexBasedHoppingAmplitudeFilter::clone
virtual IndexBasedHoppingAmplitudeFilter * clone() const
TBTK::HoppingAmplitude
Hopping amplitude from state 'from' to state 'to'.
Definition: HoppingAmplitude.h:53
TBTK::IndexBasedHoppingAmplitudeFilter::isIncluded
virtual bool isIncluded(const HoppingAmplitude &hoppingAmplitude) const
TBTK::AbstractHoppingAmplitudeFilter
Definition: AbstractHoppingAmplitudeFilter.h:30
TBTK::IndexBasedHoppingAmplitudeFilter
Definition: IndexBasedHoppingAmplitudeFilter.h:31