votca
2025-dev
Loading...
Searching...
No Matches
topologymap.cc
Go to the documentation of this file.
1
/*
2
* Copyright 2009-2021 The VOTCA Development Team (http://www.votca.org)
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
*/
17
18
// Local VOTCA includes
19
#include "
votca/csg/topologymap.h
"
20
#include "
votca/csg/boundarycondition.h
"
21
22
namespace
votca
{
23
namespace
csg
{
24
25
void
TopologyMap::Apply
() {
26
out_
->setStep(
in_
->getStep());
27
out_
->setTime(
in_
->getTime());
28
out_
->setBox(
in_
->getBox());
29
30
for
(
auto
& map_ :
maps_
) {
31
map_.Apply(
out_
->getBoundary());
32
}
33
}
34
35
}
// namespace csg
36
}
// namespace votca
boundarycondition.h
votca::csg::TopologyMap::maps_
MapContainer maps_
Definition
topologymap.h:45
votca::csg::TopologyMap::in_
const Topology * in_
Definition
topologymap.h:41
votca::csg::TopologyMap::out_
Topology * out_
Definition
topologymap.h:42
votca::csg::TopologyMap::Apply
void Apply()
Definition
topologymap.cc:25
votca::csg
Definition
basebead.h:34
votca
base class for all analysis tools
Definition
basebead.h:33
topologymap.h
csg
src
libcsg
topologymap.cc
Generated by
1.13.2