votca 2024.1-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
21
22namespace votca {
23namespace csg {
24
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
const Topology * in_
Definition topologymap.h:41
const BoundaryCondition & getBoundary() const
Return the boundary condition object.
Definition topology.h:303
double getTime() const
Definition topology.h:317
void setBox(const Eigen::Matrix3d &box, BoundaryCondition::eBoxtype boxtype=BoundaryCondition::typeAuto)
Definition topology.h:272
void setTime(double t)
Definition topology.h:311
const Eigen::Matrix3d & getBox() const
Definition topology.h:298
Index getStep() const
Definition topology.h:329
void setStep(Index s)
Definition topology.h:323
base class for all analysis tools
Definition basebead.h:33