SheafSystem  0.0.0.0
average_base_space_map_push_action.h
Go to the documentation of this file.
1 
2 //
3 // Copyright (c) 2014 Limit Point Systems, Inc.
4 //
5 // Licensed under the Apache License, Version 2.0 (the "License");
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17 
20 
21 #ifndef AVERAGE_BASE_SPACE_MAP_PUSH_ACTION_H
22 #define AVERAGE_BASE_SPACE_MAP_PUSH_ACTION_H
23 
24 #ifndef SHEAF_DLL_SPEC_H
25 #include "SheafSystem/sheaf_dll_spec.h"
26 #endif
27 
28 #ifndef BASE_SPACE_MAP_PUSH_ACTION_H
29 #include "SheafSystem/base_space_map_push_action.h"
30 #endif
31 
32 #ifndef BLOCK_H
33 #include "SheafSystem/block.h"
34 #endif
35 
36 namespace sheaf
37 {
38 class scattered_insertion_index_space_handle;
39 }
40 
41 namespace fields
42 {
43 
44 using namespace sheaf;
45 
51 {
52 
53  // =============================================================================
55  // =============================================================================
57 
58 public:
59 
64 
65  // Copy constructor; default memberwise copy constructor will do.
66 
71 
72 protected:
73 
78 
83 
88 
90 
91 
92  // =============================================================================
94  // =============================================================================
96 
97 public:
98 
102  virtual void operator()(pullback_map::iterator& xitr,
103  block<sec_vd*>& xoutputs,
104  block< block<sec_vd_dof_type>* >& xout_dofs);
105 
109  virtual void initialize(block<sec_vd*>& xoutputs);
110 
114  virtual void finalize(block<sec_vd*>& xoutputs);
115 
117 
118 
119  // =============================================================================
121  // =============================================================================
123 
124 public:
125 
129  virtual bool is_ancestor_of(const any* xother) const;
130 
135  virtual average_base_space_map_push_action* clone() const;
136 
140  virtual average_base_space_map_push_action& operator=(const base_space_map_push_action& xother);
141 
146 
150  virtual bool invariant() const;
151 
153 
154 };
155 
156 // =============================================================================
157 // NON-MEMBER FUNCTIONS
158 // =============================================================================
159 
160 } // namespace fields
161 
162 #endif // ifndef AVERAGE_BASE_SPACE_MAP_PUSH_ACTION_H
Namespace for fields component of sheaf system.
block< block< sec_vd_dof_type > > _out_dofs
Buffer for output dofs.
Functor to compute the dofs at a output discretization point by averaging the input values from all b...
Abstract base class with useful features for all objects.
Definition: any.h:39
scattered_insertion_index_space_handle * _disc_id_space
Discretization id space shared by all output sections.
block< int > _branch_cts
Number of branches accumulated for each discretization member.
Abstract functor to compute the dofs at a destination discretization point.
A handle for a scattered_insertion_index_space_state.
Namespace for the sheaves component of the sheaf system.