Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
MostafaMollaali
dynamic
Commits
cb473c6b
Commit
cb473c6b
authored
8 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[PL] Pass integration order to Process.
Remove default value.
parent
a5d87d48
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ProcessLib/Process.cpp
+2
-0
2 additions, 0 deletions
ProcessLib/Process.cpp
ProcessLib/Process.h
+9
-10
9 additions, 10 deletions
ProcessLib/Process.h
with
11 additions
and
10 deletions
ProcessLib/Process.cpp
+
2
−
0
View file @
cb473c6b
...
@@ -22,6 +22,7 @@ Process::Process(
...
@@ -22,6 +22,7 @@ Process::Process(
MeshLib
::
Mesh
&
mesh
,
MeshLib
::
Mesh
&
mesh
,
std
::
unique_ptr
<
ProcessLib
::
AbstractJacobianAssembler
>&&
jacobian_assembler
,
std
::
unique_ptr
<
ProcessLib
::
AbstractJacobianAssembler
>&&
jacobian_assembler
,
std
::
vector
<
std
::
unique_ptr
<
ParameterBase
>>
const
&
parameters
,
std
::
vector
<
std
::
unique_ptr
<
ParameterBase
>>
const
&
parameters
,
unsigned
const
integration_order
,
std
::
vector
<
std
::
reference_wrapper
<
ProcessVariable
>>&&
process_variables
,
std
::
vector
<
std
::
reference_wrapper
<
ProcessVariable
>>&&
process_variables
,
SecondaryVariableCollection
&&
secondary_variables
,
SecondaryVariableCollection
&&
secondary_variables
,
NumLib
::
NamedFunctionCaller
&&
named_function_caller
)
NumLib
::
NamedFunctionCaller
&&
named_function_caller
)
...
@@ -30,6 +31,7 @@ Process::Process(
...
@@ -30,6 +31,7 @@ Process::Process(
_named_function_caller
(
std
::
move
(
named_function_caller
)),
_named_function_caller
(
std
::
move
(
named_function_caller
)),
_global_assembler
(
std
::
move
(
jacobian_assembler
)),
_global_assembler
(
std
::
move
(
jacobian_assembler
)),
_process_variables
(
std
::
move
(
process_variables
)),
_process_variables
(
std
::
move
(
process_variables
)),
_integration_order
(
integration_order
),
_boundary_conditions
(
parameters
)
_boundary_conditions
(
parameters
)
{
{
}
}
...
...
This diff is collapsed.
Click to expand it.
ProcessLib/Process.h
+
9
−
10
View file @
cb473c6b
...
@@ -40,15 +40,14 @@ public:
...
@@ -40,15 +40,14 @@ public:
using
NonlinearSolver
=
NumLib
::
NonlinearSolverBase
;
using
NonlinearSolver
=
NumLib
::
NonlinearSolverBase
;
using
TimeDiscretization
=
NumLib
::
TimeDiscretization
;
using
TimeDiscretization
=
NumLib
::
TimeDiscretization
;
Process
(
Process
(
MeshLib
::
Mesh
&
mesh
,
MeshLib
::
Mesh
&
mesh
,
std
::
unique_ptr
<
AbstractJacobianAssembler
>&&
jacobian_assembler
,
std
::
unique_ptr
<
AbstractJacobianAssembler
>&&
std
::
vector
<
std
::
unique_ptr
<
ParameterBase
>>
const
&
parameters
,
jacobian_assembler
,
unsigned
const
integration_order
,
std
::
vector
<
std
::
unique_ptr
<
ParameterBase
>>
const
&
parameters
,
std
::
vector
<
std
::
reference_wrapper
<
ProcessVariable
>>&&
std
::
vector
<
std
::
reference_wrapper
<
ProcessVariable
>>&&
process_variables
,
process_variables
,
SecondaryVariableCollection
&&
secondary_variables
,
SecondaryVariableCollection
&&
secondary_variables
,
NumLib
::
NamedFunctionCaller
&&
named_function_caller
);
NumLib
::
NamedFunctionCaller
&&
named_function_caller
);
/// Preprocessing before starting assembly for new timestep.
/// Preprocessing before starting assembly for new timestep.
void
preTimestep
(
GlobalVector
const
&
x
,
const
double
t
,
void
preTimestep
(
GlobalVector
const
&
x
,
const
double
t
,
...
@@ -183,7 +182,7 @@ protected:
...
@@ -183,7 +182,7 @@ protected:
VectorMatrixAssembler
_global_assembler
;
VectorMatrixAssembler
_global_assembler
;
private
:
private
:
unsigned
const
_integration_order
=
2
;
unsigned
const
_integration_order
;
GlobalSparsityPattern
_sparsity_pattern
;
GlobalSparsityPattern
_sparsity_pattern
;
/// Variables used by this process.
/// Variables used by this process.
...
...
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