AggregPacking
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
concmixture.hpp
Go to the documentation of this file.
1 /*
2 *
3 * AggregPacking : Generator of random aggregate packings in concrete
4 *
5 * version 0.1 (2014-08-22)
6 *
7 * Copyright (C) 2014 Jan Stransky
8 *
9 * Czech Technical University, Faculty of Civil Engineering,
10 * Department of Structural Mechanics, 166 29 Prague, Czech Republic
11 *
12 * AggregPacking is free software: you can redistribute it and/or modify it
13 * under the terms of the GNU Lesser General Public License as published by the
14 * Free Software Foundation, either version 3 of the License, or (at your
15 * option) any later version.
16 *
17 * AggregPacking is distributed in the hope that it will be useful, but WITHOUT
18 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
20 * for more details.
21 *
22 * You should have received a copy of the GNU Lesser General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 */
25 
31 #ifndef CONCRETEMIXTURE_HPP
32 #define CONCRETEMIXTURE_HPP
33 
34 namespace aggregpacking {
35 /**********************************************************************
36 * CONCRETE MIXTURE
37 **********************************************************************/
39 
43  public:
46 
48  double cementDensity;
49 
52 
54  double waterDensity;
55 
57  double ac;
58 
60  double wc;
61 
64 
66  void update();
67 };
68 
69 
70 /**********************************************************************
71 * PYTHON
72 **********************************************************************/
73 #ifdef AGGREGPACKING_BOOST_PYTHON
74 void py_concmixture();
77 #endif
78 
79 } // namespace
80 #endif
double aggregatesBulkDensity
Aggregate bulk density (default 2590)
Definition: concmixture.hpp:51
Representation of concrete mixture.
Definition: concmixture.hpp:42
ConcreteMixture()
Default constructor.
Definition: concmixture.cpp:38
double aggregateVolume
Volume of aggregates in 1 m3 of concrete.
Definition: concmixture.hpp:63
double wc
Water/cement mass ratio (default 0.45)
Definition: concmixture.hpp:60
double ac
Aggregate/cement mass ratio (default 4.5)
Definition: concmixture.hpp:57
double waterDensity
Density of water (default 1000)
Definition: concmixture.hpp:54
void update()
Computes and sets aggrgate volume.
Definition: concmixture.cpp:48
double cementDensity
Density of cement (default 3100)
Definition: concmixture.hpp:48