FLASH-X
Doxygen Generated Documentation From Interface Source Code
IncompNS_getScalarProp.F90
Go to the documentation of this file.
1!! NOTICE
2!! Copyright 2022 UChicago Argonne, LLC and contributors
3!!
4!! Licensed under the Apache License, Version 2.0 (the "License");
5!! you may not use this file except in compliance with the License.
6!!
7!! Unless required by applicable law or agreed to in writing, software
8!! distributed under the License is distributed on an "AS IS" BASIS,
9!! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10!! See the License for the specific language governing permissions and
11!! limitations under the License.
12!!
13!!
14
15#include "constants.h"
16
17subroutine IncompNS_getScalarPropReal(name, value)
18
20
21 implicit none
22 character(len=*), intent(in) :: name
23 real, intent(out) :: value
24
25 character(len=100) :: errorMessage
26
27 value = 0.
28 write(errorMessage,*) '[IncompNS_getScalarProp] Unknown scalar: ',name
29 call Driver_abort(errorMessage)
30
31end subroutine IncompNS_getScalarPropReal
32
33subroutine IncompNS_getScalarPropLogical(name, value)
34
36
37 implicit none
38 character(len=*), intent(in) :: name
39 logical, intent(out) :: value
40
41 character(len=100) :: errorMessage
42
43 value = .false.
44 write(errorMessage,*) '[IncompNS_getScalarProp] Unknown scalar: ',name
45 call Driver_abort(errorMessage)
46
subroutine IncompNS_getScalarPropLogical(name, value)
subroutine IncompNS_getScalarPropReal(name, value)