-
Notifications
You must be signed in to change notification settings - Fork 94
/
Exports.jl
255 lines (231 loc) · 7.46 KB
/
Exports.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
macro publish(mod,name)
quote
using Gridap.$mod: $name; export $name
end
end
# Reexport from LinearAlgebra (just for convenience)
using LinearAlgebra: det, inv, tr, cross, dot, norm, ×, ⋅
export det, inv, tr, cross, dot, norm, ×, ⋅
@publish Helpers GridapType
@publish Algebra solve
@publish Algebra solve!
@publish Algebra symbolic_setup
@publish Algebra numerical_setup
@publish Algebra numerical_setup!
@publish Algebra LUSolver
@publish Algebra BackslashSolver
@publish Algebra zero_initial_guess
@publish Algebra NLSolver
@publish Algebra get_matrix
@publish Algebra get_vector
@publish Algebra jacobian
@publish Algebra hessian
@publish Arrays array_cache
@publish Arrays getindex!
@publish Arrays get_array
@publish Arrays lazy_map
@publish Arrays Reindex
@publish Arrays Broadcasting
@publish Arrays Operation
@publish Arrays print_op_tree
using Gridap.Arrays: ∑; export ∑
@publish TensorValues VectorValue
@publish TensorValues TensorValue
@publish TensorValues inner
@publish TensorValues outer
@publish TensorValues diagonal_tensor
@publish TensorValues num_components
using Gridap.TensorValues: ⊙; export ⊙
using Gridap.TensorValues: ⊗; export ⊗
@publish Fields gradient
@publish Fields ∇
@publish Fields ∇∇
@publish Fields integrate
@publish Fields Point
@publish Fields evaluate
@publish Fields evaluate!
@publish Fields curl
@publish Fields laplacian
@publish Fields divergence
@publish Fields DIV
@publish Fields Δ
@publish Fields ε
@publish Fields symmetric_gradient
@publish ReferenceFEs is_simplex
@publish ReferenceFEs is_n_cube
@publish ReferenceFEs simplexify
@publish ReferenceFEs num_dims
@publish ReferenceFEs num_cell_dims
@publish ReferenceFEs num_point_dims
@publish ReferenceFEs VERTEX
@publish ReferenceFEs SEGMENT
@publish ReferenceFEs TRI
@publish ReferenceFEs QUAD
@publish ReferenceFEs TET
@publish ReferenceFEs HEX
@publish ReferenceFEs WEDGE
@publish ReferenceFEs PYRAMID
@publish ReferenceFEs is_first_order
@publish ReferenceFEs is_Q
@publish ReferenceFEs is_P
@publish ReferenceFEs is_S
@publish ReferenceFEs VERTEX1
@publish ReferenceFEs SEG2
@publish ReferenceFEs TRI3
@publish ReferenceFEs QUAD4
@publish ReferenceFEs TET4
@publish ReferenceFEs HEX8
@publish ReferenceFEs Polytope
@publish ReferenceFEs ReferenceFE
@publish ReferenceFEs Lagrangian
@publish ReferenceFEs RaviartThomas
@publish ReferenceFEs Nedelec
@publish ReferenceFEs lagrangian
@publish ReferenceFEs raviart_thomas
@publish ReferenceFEs nedelec
@publish Geometry get_triangulation
@publish Geometry num_cells
@publish Geometry num_facets
@publish Geometry num_vertices
@publish Geometry num_edges
@publish Geometry num_faces
@publish Geometry Triangulation
@publish Geometry get_cell_coordinates
@publish Geometry get_cell_ref_coordinates
@publish Geometry get_cell_map
@publish Geometry get_glue
@publish Geometry CartesianGrid
@publish Geometry CartesianDiscreteModel
@publish Geometry DiscreteModel
@publish Geometry DiscreteModelFromFile
@publish Geometry num_tags
@publish Geometry num_entities
@publish Geometry get_grid
@publish Geometry get_face_labeling
@publish Geometry add_tag!
@publish Geometry add_tag_from_tags!
@publish Geometry BoundaryTriangulation
@publish Geometry SkeletonTriangulation
@publish Geometry InterfaceTriangulation
@publish Geometry Interior
@publish Geometry Boundary
@publish Geometry Skeleton
@publish Geometry Interface
@publish Geometry move_contributions
@publish Geometry get_background_model
@publish Geometry get_active_model
@publish CellData CellQuadrature
@publish CellData Measure
@publish CellData DomainStyle
@publish CellData ReferenceDomain
@publish CellData PhysicalDomain
@publish CellData get_cell_points
@publish CellData CellField
@publish CellData CellState
@publish CellData jump
@publish CellData mean
@publish CellData update_state!
@publish CellData get_normal_vector
using Gridap.CellData: ∫; export ∫
@publish CellData get_cell_measure
@publish CellData get_physical_coordinate
@publish CellData DiracDelta
@publish FESpaces FESpace
@publish FESpaces TrialFESpace
@publish FESpaces TestFESpace
@publish FESpaces AffineFEOperator
@publish FESpaces LinearFESolver
@publish FESpaces get_free_dof_values
@publish FESpaces get_dirichlet_dof_values
@publish FESpaces num_dirichlet_dofs
@publish FESpaces num_free_dofs
@publish FESpaces num_dirichlet_tags
@publish FESpaces get_free_dof_ids
@publish FESpaces get_dirichlet_dof_ids
@publish FESpaces get_cell_dof_ids
@publish FESpaces get_cell_dof_values
@publish FESpaces get_fe_basis
@publish FESpaces get_trial_fe_basis
@publish FESpaces FEFunction
@publish FESpaces interpolate
@publish FESpaces interpolate_everywhere
@publish FESpaces interpolate_dirichlet
@publish FESpaces assemble_vector
@publish FESpaces assemble_matrix
@publish FESpaces assemble_matrix_and_vector
@publish FESpaces FEOperator
@publish FESpaces FESolver
@publish FESpaces SparseMatrixAssembler
@publish FESpaces FiniteElements
@publish MultiField MultiFieldFESpace
@publish MultiField num_fields
@publish Visualization writevtk
@publish Visualization createvtk
@publish Visualization createpvd
@publish Visualization savepvd
include("GridapODEs/Exports.jl")
# Deprecated / removed
export apply
function apply(args...)
Helpers.@unreachable """\n
Function apply has been removed and replaced by lazy_map.
This error message will be deleted in future versions.
"""
end
export cell_measure
function cell_measure(args...)
Helpers.@unreachable """\n
Function cell_measure(a,b) has been removed and replaced by get_cell_measure(a).
This error message will be deleted in future versions.
"""
end
export restrict
function restrict(args...)
Helpers.@unreachable """\n
Function restrict has been removed. The user does not need to explicitly
restrict to a given Triangulation any more. The code does it undere the hood.
This error message will be deleted in future versions.
"""
end
export FETerm
function FETerm(args...)
Helpers.@unreachable """\n
Function FETerm has been removed. The API for specifying the weak form has changed significantly.
See the gridap/Tutorials repo for some examples of how to use the new API.
This error message will be deleted in future versions.
"""
end
export FEEnergy
function FEEnergy(args...)
Helpers.@unreachable """\n
Function FEEnergy has been removed. The API for specifying the weak form has changed significantly.
See the gridap/Tutorials repo for some examples of how to use the new API.
This error message will be deleted in future versions.
"""
end
export AffineFETerm
function AffineFETerm(args...)
Helpers.@unreachable """\n
Function AffineFETerm has been removed. The API for specifying the weak form has changed significantly.
See the gridap/Tutorials repo for some examples of how to use the new API.
This error message will be deleted in future versions.
"""
end
export LinearFETerm
function LinearFETerm(args...)
Helpers.@unreachable """\n
Function LinearFETerm has been removed. The API for specifying the weak form has changed significantly.
See the gridap/Tutorials repo for some examples of how to use the new API.
This error message will be deleted in future versions.
"""
end
export FESource
function FESource(args...)
Helpers.@unreachable """\n
Function FESource has been removed. The API for specifying the weak form has changed significantly.
See the gridap/Tutorials repo for some examples of how to use the new API.
This error message will be deleted in future versions.
"""
end
@publish FESpaces get_free_values
@publish FESpaces get_dirichlet_values