FLASH-X
Doxygen Generated Documentation From Interface Source Code
Eos_getAbarZbar.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.
57
58#include "Simulation.h"
59
60
61subroutine Eos_getAbarZbar(solnVec,abar,zbar,sumY,Ye,massFrac)
62
63 implicit none
64
65!#include "Eos.h"
66!#include "Eos_map.h"
67!#include "constants.h"
68
69 real, OPTIONAL,dimension(NUNK_VARS),intent(IN) :: solnVec
70 real, OPTIONAL, intent(OUT) :: abar, zbar, Ye, sumY
71 real, OPTIONAL,dimension(NSPECIES), intent(IN) :: massFrac
72
73
74 if (present(abar)) abar = 0.0
75 if (present(zbar)) zbar = 0.0
76 if (present(sumY)) sumY = 0.0
77 if (present(Ye)) Ye = 0.0
78
79 return
80end subroutine Eos_getAbarZbar
81
82
83
subroutine Eos_getAbarZbar(solnVec, abar, zbar, sumY, Ye, massFrac)