Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ddm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gmsh
ddm
Commits
0354bc07
Commit
0354bc07
authored
2 years ago
by
Nicolas Marsic
Browse files
Options
Downloads
Patches
Plain Diff
Create a SubdomainField<> from a vector of Fields<>
parent
dc2169e8
No related branches found
No related tags found
1 merge request
!19
Create a SubdomainField<> from a vector of Fields<>
Pipeline
#10099
passed
2 years ago
Stage: gmshfem
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/field/SubdomainField.cpp
+6
-0
6 additions, 0 deletions
src/field/SubdomainField.cpp
src/field/SubdomainField.h
+1
-0
1 addition, 0 deletions
src/field/SubdomainField.h
with
7 additions
and
0 deletions
src/field/SubdomainField.cpp
+
6
−
0
View file @
0354bc07
...
...
@@ -31,6 +31,12 @@ namespace gmshddm
}
}
template
<
class
T_Scalar
,
gmshfem
::
field
::
Form
T_Form
>
SubdomainField
<
T_Scalar
,
T_Form
>::
SubdomainField
(
const
std
::
string
&
name
,
const
std
::
vector
<
gmshfem
::
field
::
Field
<
T_Scalar
,
T_Form
>
>
&
fields
)
:
_name
(
name
),
_fields
(
fields
)
{
}
template
<
class
T_Scalar
,
gmshfem
::
field
::
Form
T_Form
>
SubdomainField
<
T_Scalar
,
T_Form
>::
SubdomainField
(
const
SubdomainField
<
T_Scalar
,
T_Form
>
&
other
)
:
_name
(
other
.
_name
),
_fields
(
other
.
_fields
)
...
...
This diff is collapsed.
Click to expand it.
src/field/SubdomainField.h
+
1
−
0
View file @
0354bc07
...
...
@@ -31,6 +31,7 @@ namespace gmshddm
public:
SubdomainField
();
SubdomainField
(
const
std
::
string
&
name
,
const
domain
::
Subdomain
&
domains
,
const
gmshfem
::
field
::
FunctionSpaceOfForm
<
T_Form
>
&
type
,
const
unsigned
int
degree
=
1
);
SubdomainField
(
const
std
::
string
&
name
,
const
std
::
vector
<
gmshfem
::
field
::
Field
<
T_Scalar
,
T_Form
>
>
&
fields
);
SubdomainField
(
const
SubdomainField
<
T_Scalar
,
T_Form
>
&
other
);
SubdomainField
(
SubdomainField
<
T_Scalar
,
T_Form
>
&&
other
);
~
SubdomainField
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment