Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wenqing
ogs
Commits
75483c9f
Commit
75483c9f
authored
7 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[PL] TM: Explicit tpl decl for createTMProcess.
parent
271f857a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ProcessLib/ThermoMechanics/CreateThermoMechanicsProcess.cpp
+4
-11
4 additions, 11 deletions
ProcessLib/ThermoMechanics/CreateThermoMechanicsProcess.cpp
ProcessLib/ThermoMechanics/CreateThermoMechanicsProcess.h
+34
-1
34 additions, 1 deletion
ProcessLib/ThermoMechanics/CreateThermoMechanicsProcess.h
with
38 additions
and
12 deletions
ProcessLib/ThermoMechanics/CreateThermoMechanicsProcess.cpp
+
4
−
11
View file @
75483c9f
...
@@ -23,12 +23,6 @@ namespace ProcessLib
...
@@ -23,12 +23,6 @@ namespace ProcessLib
{
{
namespace
ThermoMechanics
namespace
ThermoMechanics
{
{
template
<
int
DisplacementDim
>
class
ThermoMechanicsProcess
;
extern
template
class
ThermoMechanicsProcess
<
2
>;
extern
template
class
ThermoMechanicsProcess
<
3
>;
template
<
int
DisplacementDim
>
template
<
int
DisplacementDim
>
std
::
unique_ptr
<
Process
>
createThermoMechanicsProcess
(
std
::
unique_ptr
<
Process
>
createThermoMechanicsProcess
(
MeshLib
::
Mesh
&
mesh
,
MeshLib
::
Mesh
&
mesh
,
...
@@ -182,11 +176,10 @@ std::unique_ptr<Process> createThermoMechanicsProcess(
...
@@ -182,11 +176,10 @@ std::unique_ptr<Process> createThermoMechanicsProcess(
ProcessLib
::
parseSecondaryVariables
(
config
,
secondary_variables
,
ProcessLib
::
parseSecondaryVariables
(
config
,
secondary_variables
,
named_function_caller
);
named_function_caller
);
return
std
::
unique_ptr
<
ThermoMechanicsProcess
<
DisplacementDim
>>
{
return
std
::
make_unique
<
ThermoMechanicsProcess
<
DisplacementDim
>>
(
new
ThermoMechanicsProcess
<
DisplacementDim
>
{
mesh
,
std
::
move
(
jacobian_assembler
),
parameters
,
integration_order
,
mesh
,
std
::
move
(
jacobian_assembler
),
parameters
,
integration_order
,
std
::
move
(
process_variables
),
std
::
move
(
process_data
),
std
::
move
(
process_variables
),
std
::
move
(
process_data
),
std
::
move
(
secondary_variables
),
std
::
move
(
named_function_caller
));
std
::
move
(
secondary_variables
),
std
::
move
(
named_function_caller
)}};
}
}
template
std
::
unique_ptr
<
Process
>
createThermoMechanicsProcess
<
2
>
(
template
std
::
unique_ptr
<
Process
>
createThermoMechanicsProcess
<
2
>
(
...
...
This diff is collapsed.
Click to expand it.
ProcessLib/ThermoMechanics/CreateThermoMechanicsProcess.h
+
34
−
1
View file @
75483c9f
...
@@ -9,7 +9,24 @@
...
@@ -9,7 +9,24 @@
#pragma once
#pragma once
#include
"ProcessLib/Process.h"
#include
<memory>
#include
<vector>
namespace
BaseLib
{
class
ConfigTree
;
}
namespace
MeshLib
{
class
Mesh
;
}
namespace
ProcessLib
{
class
AbstractJacobianAssembler
;
struct
ParameterBase
;
class
Process
;
class
ProcessVariable
;
}
namespace
ProcessLib
namespace
ProcessLib
{
{
...
@@ -24,5 +41,21 @@ std::unique_ptr<Process> createThermoMechanicsProcess(
...
@@ -24,5 +41,21 @@ std::unique_ptr<Process> createThermoMechanicsProcess(
unsigned
const
integration_order
,
unsigned
const
integration_order
,
BaseLib
::
ConfigTree
const
&
config
);
BaseLib
::
ConfigTree
const
&
config
);
extern
template
std
::
unique_ptr
<
Process
>
createThermoMechanicsProcess
<
2
>
(
MeshLib
::
Mesh
&
mesh
,
std
::
unique_ptr
<
ProcessLib
::
AbstractJacobianAssembler
>&&
jacobian_assembler
,
std
::
vector
<
ProcessVariable
>
const
&
variables
,
std
::
vector
<
std
::
unique_ptr
<
ParameterBase
>>
const
&
parameters
,
unsigned
const
integration_order
,
BaseLib
::
ConfigTree
const
&
config
);
extern
template
std
::
unique_ptr
<
Process
>
createThermoMechanicsProcess
<
3
>
(
MeshLib
::
Mesh
&
mesh
,
std
::
unique_ptr
<
ProcessLib
::
AbstractJacobianAssembler
>&&
jacobian_assembler
,
std
::
vector
<
ProcessVariable
>
const
&
variables
,
std
::
vector
<
std
::
unique_ptr
<
ParameterBase
>>
const
&
parameters
,
unsigned
const
integration_order
,
BaseLib
::
ConfigTree
const
&
config
);
}
// namespace ThermoMechanics
}
// namespace ThermoMechanics
}
// namespace ProcessLib
}
// namespace ProcessLib
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