SheafSystem  0.0.0.0
put_property_dofs_fcn_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 PUT_PROPERTY_DOFS_FCN_ACTION_H
22 #define PUT_PROPERTY_DOFS_FCN_ACTION_H
23 
24 #ifndef SHEAF_DLL_SPEC_H
25 #include "SheafSystem/sheaf_dll_spec.h"
26 #endif
27 
28 #ifndef PUT_PROPERTY_DOFS_ACTION_H
29 #include "SheafSystem/put_property_dofs_action.h"
30 #endif
31 
32 namespace fields
33 {
34 
40 {
41 
42  // ===========================================================
44  // ===========================================================
46 
47 public:
48 
49  // No default constructor.
50 
56  bool xauto_access);
57 
58  // Default memberwise copy constructor will do.
59 
64 
68  virtual void operator () (const scoped_index& xdisc_id,
69  block<sec_vd_value_type>& xglobal_coords);
70 
75  property_dof_function_type dof_function();
76 
77 
78 private:
79 
84  property_dof_function_type _dof_function;
85 
87 
88 };
89 
90 // ===========================================================
91 // NON-MEMBER FUNCTIONS
92 // ===========================================================
93 
94 } // namespace fields
95 
96 #endif // ifndef PUT_PROPERTY_DOFS_FCN_ACTION_H
Namespace for fields component of sheaf system.
An index within the external ("client") scope of a given id space.
Definition: scoped_index.h:116
A discretization push action for field_vds::put_property_dofs that uses a client provided function to...
void(* property_dof_function_type)(block< sec_vd_value_type > &xglobal_coords, block< sec_vd_dof_type > &xproperty_dofs)
The type of the function for computing the property dofs at given global coordinates.
Definition: fields.h:64
A section of a fiber bundle with a d-dimensional vector space fiber.
Definition: sec_vd.h:54
An abstract discretization push action for field_vds::put_property_dofs.