xc
ActionsAndFactors.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // xc utils library; general purpose classes and functions.
4 //
5 // Copyright (C) Luis C. PĂ©rez Tato
6 //
7 // XC utils is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // This software is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program.
19 // If not, see <http://www.gnu.org/licenses/>.
20 //----------------------------------------------------------------------------
21 //ActionsAndFactors.h
22 //Store all the families of actions for the structure of structural element.
23 
24 #ifndef ACTIONSANDFACTORS_H
25 #define ACTIONSANDFACTORS_H
26 
27 #include "ActionFamilyContainer.h"
28 #include "utility/load_combinations/actions/factors/Factors.h"
29 
30 namespace cmb_acc{
32 //
35  {
36  private:
37  Factors factors;
38 
39  protected:
40  friend class ActionWeightingMap;
41  public:
42  ActionsAndFactors(const Factors &factors= Factors());
43 
44  const Factors &getFactors(void) const
45  { return factors; }
46  };
47 } //end namespace cmb_acc.
48 
49 #endif
Routines to generate combinations of actions.
Container for all the action families.
Definition: ActionsAndFactors.h:34
Almacena todas las familias de acciones.
Definition: Factors.h:34
Container for ActionAndFactors objects.
Definition: ActionWeightingMap.h:42
Stores all the families of actions.
Definition: ActionFamilyContainer.h:33
ActionsAndFactors(const Factors &factors=Factors())
Default constructor.
Definition: ActionsAndFactors.cc:26