Flow123d  master-1cc3435
assembly_internals.hh
Go to the documentation of this file.
1 /*!
2  *
3  * Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License version 3 as published by the
7  * Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12  *
13  *
14  * @file assembly_internals.hh
15  * @brief
16  */
17 
18 #ifndef ASSEMBLY_INTERNALS_HH_
19 #define ASSEMBLY_INTERNALS_HH_
20 
21 #include "fem/eval_points.hh"
22 #include "fem/element_cache_map.hh"
23 #include "fem/patch_fe_values.hh"
24 
25 
26 
27 /// Holds common data shared between GenericAssemblz and Assembly<dim> classes.
29 public:
31  : eval_points_(std::make_shared<EvalPoints>()) {}
32 
34  : eval_points_(std::make_shared<EvalPoints>()), fe_values_(fe) {}
35 
36  std::shared_ptr<EvalPoints> eval_points_; ///< EvalPoints object shared by all integrals
37  ElementCacheMap element_cache_map_; ///< ElementCacheMap according to EvalPoints
38  PatchFEValues<3> fe_values_; ///< Common FEValues object over all dimensions
39 };
40 
41 
42 #endif /* ASSEMBLY_INTERNALS_HH_ */
Directing class of FieldValueCache.
Class holds local coordinations of evaluating points (bulk and sides) specified by element dimension.
Definition: eval_points.hh:54
Class FEValues calculates finite element data on the actual cells such as shape function values,...
Holds common data shared between GenericAssemblz and Assembly<dim> classes.
PatchFEValues< 3 > fe_values_
Common FEValues object over all dimensions.
ElementCacheMap element_cache_map_
ElementCacheMap according to EvalPoints.
AssemblyInternals(MixedPtr< FiniteElement > fe)
std::shared_ptr< EvalPoints > eval_points_
EvalPoints object shared by all integrals.