SheafSystem  0.0.0.0
constant_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 CONSTANT_BASE_SPACE_MAP_PUSH_ACTION_H
22 #define CONSTANT_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 fields
37 {
38 
43 {
44 
45  // =============================================================================
47  // =============================================================================
49 
50 public:
51 
56 
57  // Copy constructor; default memberwise copy constructor will do.
58 
63 
67  block< block<sec_vd_dof_type> >& out_dofs();
68 
69 protected:
70 
75 
77 
78  // =============================================================================
80  // =============================================================================
82 
83 public:
84 
88  virtual void operator()(pullback_map::iterator& xitr,
89  block<sec_vd*>& xoutputs,
90  block< block<sec_vd_dof_type>* >& xout_dofs);
91 
93 
94 
95  // =============================================================================
97  // =============================================================================
99 
100 public:
101 
105  virtual bool is_ancestor_of(const any* xother) const;
106 
111  virtual constant_base_space_map_push_action* clone() const;
112 
116  virtual constant_base_space_map_push_action& operator=(const base_space_map_push_action& xother);
117 
122 
126  virtual bool invariant() const;
127 
129 
130 };
131 
132 // =============================================================================
133 // NON-MEMBER FUNCTIONS
134 // =============================================================================
135 
136 } // namespace fields
137 
138 #endif // ifndef CONSTANT_BASE_SPACE_MAP_PUSH_ACTION_H
Namespace for fields component of sheaf system.
Abstract functor to compute the dofs at a destination discretization point.
Abstract base class with useful features for all objects.
Definition: any.h:39
Abstract functor to compute the dofs at a destination discretization point.
An auto_block with a no-initialization initialization policy.
block< block< sec_vd_dof_type > > _out_dofs
Constant value for destination dofs.