Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLU_ModConvertCv.F90
Go to the documentation of this file.
1 ! *********************************************************************
2 ! * Rocstar Simulation Suite *
3 ! * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4 ! * *
5 ! * Illinois Rocstar LLC *
6 ! * Champaign, IL *
7 ! * www.illinoisrocstar.com *
8 ! * sales@illinoisrocstar.com *
9 ! * *
10 ! * License: See LICENSE file in top level of distribution package or *
11 ! * http://opensource.org/licenses/NCSA *
12 ! *********************************************************************
13 ! *********************************************************************
14 ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15 ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16 ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17 ! * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18 ! * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19 ! * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20 ! * Arising FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21 ! * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22 ! *********************************************************************
23 ! ******************************************************************************
24 !
25 ! Purpose: Suite of routines to convert state vector.
26 !
27 ! Description: None.
28 !
29 ! Notes:
30 ! 1. The routines which convert scalar conserved vectors assume that that
31 ! form contains variables per unit volume (i.e., density times variable
32 ! per unit mass).
33 !
34 ! ******************************************************************************
35 !
36 ! $Id: RFLU_ModConvertCv.F90,v 1.10 2008/12/06 08:44:20 mtcampbe Exp $
37 !
38 ! Copyright: (c) 2002-2006 by the University of Illinois
39 !
40 ! ******************************************************************************
41 
43 
44  USE moddatatypes
45  USE modparameters
46  USE moderror
47  USE modglobal, ONLY: t_global
48  USE modgrid, ONLY: t_grid
49  USE moddatastruct, ONLY: t_region
50 
51  IMPLICIT NONE
52 
53  PRIVATE
54  PUBLIC :: rflu_convertcvcons2prim, &
58 
59  SAVE
60 
61 ! ******************************************************************************
62 ! Declarations and definitions
63 ! ******************************************************************************
64 
65 
66 ! ******************************************************************************
67 ! Routines
68 ! ******************************************************************************
69 
70  CONTAINS
71 
72 
73 
74 ! ******************************************************************************
75 !
76 ! Purpose: Convert conserved state vector to primitive variables.
77 !
78 ! Description: None.
79 !
80 ! Input:
81 ! pRegion Pointer to data of current region
82 ! cvStateFuture Future state of conserved variables
83 !
84 ! Output: None.
85 !
86 ! Notes: None.
87 !
88 ! ******************************************************************************
89 
90  SUBROUTINE rflu_convertcvcons2prim(pRegion,cvStateFuture)
91 
92  USE modinterfaces, ONLY: mixtperf_r_m, &
94 
95 ! ******************************************************************************
96 ! Definitions and declarations
97 ! ******************************************************************************
98 
99 ! ==============================================================================
100 ! Arguments
101 ! ==============================================================================
102 
103  INTEGER, INTENT(IN) :: cvstatefuture
104  TYPE(t_region), POINTER :: pregion
105 
106 ! ==============================================================================
107 ! Locals
108 ! ==============================================================================
109 
110  INTEGER :: icg,indmol
111  REAL(RFREAL) :: gc,ir,mw,p,r
112  REAL(RFREAL), DIMENSION(:,:), POINTER :: pcv,pdv,pgv
113  TYPE(t_grid), POINTER :: pgrid
114  TYPE(t_global), POINTER :: global
115 
116 ! ******************************************************************************
117 ! Start
118 ! ******************************************************************************
119 
120  global => pregion%global
121 
122  CALL registerfunction(global,'RFLU_ConvertCvCons2Prim',&
123  'RFLU_ModConvertCv.F90')
124 
125 #ifdef ROCPROF
126  CALL fprofiler_begins("RFLU::ConvertCvCons2Prim")
127 #endif
128 
129 ! ******************************************************************************
130 ! Set pointers and variables
131 ! ******************************************************************************
132 
133  pgrid => pregion%grid
134  pcv => pregion%mixt%cv
135  pdv => pregion%mixt%dv
136  pgv => pregion%mixt%gv
137 
138  indmol = pregion%mixtInput%indMol
139 
140 ! ******************************************************************************
141 ! Actual conversion
142 ! ******************************************************************************
143 
144  SELECT CASE ( pregion%mixt%cvState )
145 
146 ! ==============================================================================
147 ! Convert from conservative to primitive form
148 ! ==============================================================================
149 
150  CASE ( cv_mixt_state_cons )
151  SELECT CASE ( cvstatefuture )
152 
153 ! ------------------------------------------------------------------------------
154 ! Convert to duvwp form
155 ! ------------------------------------------------------------------------------
156 
157  CASE ( cv_mixt_state_duvwp )
158  pregion%mixt%cvState = cv_mixt_state_duvwp
159 
160  DO icg = 1,pgrid%nCellsTot
161  ir = 1.0_rfreal/pcv(cv_mixt_dens,icg)
162 
163  pcv(cv_mixt_xvel,icg) = ir*pcv(cv_mixt_xmom,icg)
164  pcv(cv_mixt_yvel,icg) = ir*pcv(cv_mixt_ymom,icg)
165  pcv(cv_mixt_zvel,icg) = ir*pcv(cv_mixt_zmom,icg)
166  pcv(cv_mixt_pres,icg) = pdv(dv_mixt_pres,icg)
167  END DO ! icg
168 
169 ! ------------------------------------------------------------------------------
170 ! Convert to duvwt form
171 ! ------------------------------------------------------------------------------
172 
173  CASE (cv_mixt_state_duvwt)
174  pregion%mixt%cvState = cv_mixt_state_duvwt
175 
176  SELECT CASE ( pregion%mixtInput%fluidModel )
177 
178 ! ----------- Compressible fluid model -----------------------------------------
179 
180  CASE ( fluid_model_comp )
181  SELECT CASE ( pregion%mixtInput%gasModel )
182 
183 ! --------------- TC perfect gas or mixture thereof, pseudo-gas
184 
185  CASE ( gas_model_tcperf, &
186  gas_model_mixt_tcperf, &
187  gas_model_mixt_pseudo )
188  DO icg = 1,pgrid%nCellsTot
189  r = pcv(cv_mixt_dens,icg)
190  p = pdv(dv_mixt_pres,icg)
191  ir = 1.0_rfreal/r
192 
193  pcv(cv_mixt_xvel,icg) = ir*pcv(cv_mixt_xmom,icg)
194  pcv(cv_mixt_yvel,icg) = ir*pcv(cv_mixt_ymom,icg)
195  pcv(cv_mixt_zvel,icg) = ir*pcv(cv_mixt_zmom,icg)
196 
197  mw = pgv(gv_mixt_mol,indmol*icg)
198  gc = mixtperf_r_m(mw)
199 
200  pcv(cv_mixt_temp,icg) = mixtperf_t_dpr(r,p,gc)
201  END DO ! icg
202 
203 ! --------------- Gas-liquid mixture
204 
205  CASE ( gas_model_mixt_gasliq )
206  DO icg = 1,pgrid%nCellsTot
207  ir = 1.0_rfreal/pcv(cv_mixt_dens,icg)
208 
209  pcv(cv_mixt_xvel,icg) = ir*pcv(cv_mixt_xmom,icg)
210  pcv(cv_mixt_yvel,icg) = ir*pcv(cv_mixt_ymom,icg)
211  pcv(cv_mixt_zvel,icg) = ir*pcv(cv_mixt_zmom,icg)
212 
213  pcv(cv_mixt_temp,icg) = pdv(dv_mixt_temp,icg)
214  END DO ! icg
215  CASE default
216  CALL errorstop(global,err_reached_default,__line__)
217  END SELECT ! pRegion%mixtInput%gasModel
218 
219 ! ----------- Default ----------------------------------------------------------
220 
221  CASE default
222  CALL errorstop(global,err_reached_default,__line__)
223  END SELECT ! pRegion%mixtInput%fluidModel
224 
225 ! ------------------------------------------------------------------------------
226 ! Default
227 ! ------------------------------------------------------------------------------
228 
229  CASE default
230  CALL errorstop(global,err_reached_default,__line__)
231  END SELECT ! cvStateFuture
232 
233 ! ==============================================================================
234 ! Error - invalid input
235 ! ==============================================================================
236 
237  CASE default
238  CALL errorstop(global,err_reached_default,__line__)
239  END SELECT ! pRegion%mixt%cvStateFuture
240 
241 ! ******************************************************************************
242 ! End
243 ! ******************************************************************************
244 
245 #ifdef ROCPROF
246  CALL fprofiler_ends("RFLU::ConvertCvCons2Prim")
247 #endif
248 
249  CALL deregisterfunction(global)
250 
251  END SUBROUTINE rflu_convertcvcons2prim
252 
253 
254 
255 
256 ! ******************************************************************************
257 !
258 ! Purpose: Convert primitive state vector to consverved variables.
259 !
260 ! Description: None.
261 !
262 ! Input:
263 ! pRegion Pointer to data of current region
264 ! cvStateFuture Future state of conserved variables
265 !
266 ! Output: None.
267 !
268 ! Notes:
269 ! 1. Strictly speaking, cvStateFuture is not needed (there is only one
270 ! state for conserved variables), but kept for consistency with
271 ! RFLU_ConvertCvCons2Prim.
272 !
273 ! ******************************************************************************
274 
275  SUBROUTINE rflu_convertcvprim2cons(pRegion,cvStateFuture)
276 
277  USE modinterfaces, ONLY: mixtperf_cv_cpr, &
280  mixtperf_g_cpr, &
282 
283 ! ******************************************************************************
284 ! Definitions and declarations
285 ! ******************************************************************************
286 
287 ! ==============================================================================
288 ! Arguments
289 ! ==============================================================================
290 
291  INTEGER, INTENT(IN) :: cvstatefuture
292  TYPE(t_region), POINTER :: pregion
293 
294 ! ==============================================================================
295 ! Locals
296 ! ==============================================================================
297 
298  INTEGER :: icg,indcp,indmol
299  REAL(RFREAL) :: cp,cvm,cvg,cvl,cvv,g,gc,mw,p,r,rg,rv,ryg,ryl,ryv,t,u,v, &
300  vm2,w
301  REAL(RFREAL), DIMENSION(:,:), POINTER :: pcv,pdv,pgv
302 #ifdef SPEC
303  REAL(RFREAL), DIMENSION(:,:), POINTER :: pcvspec
304 #endif
305  TYPE(t_grid), POINTER :: pgrid
306  TYPE(t_global), POINTER :: global
307 
308 ! ******************************************************************************
309 ! Start
310 ! ******************************************************************************
311 
312  global => pregion%global
313 
314  CALL registerfunction(global,'RFLU_ConvertCvPrim2Cons',&
315  'RFLU_ModConvertCv.F90')
316 
317 #ifdef ROCPROF
318  CALL fprofiler_begins("RFLU::ConvertCvPrim2Cons")
319 #endif
320 
321 ! ******************************************************************************
322 ! Set pointers and variables
323 ! ******************************************************************************
324 
325  pgrid => pregion%grid
326  pcv => pregion%mixt%cv
327  pdv => pregion%mixt%dv
328  pgv => pregion%mixt%gv
329 
330 #ifdef SPEC
331  pcvspec => pregion%spec%cv
332 #endif
333 
334  indcp = pregion%mixtInput%indCp
335  indmol = pregion%mixtInput%indMol
336 
337 ! ******************************************************************************
338 ! Actual conversion
339 ! ******************************************************************************
340 
341  IF ( pregion%mixt%cvState == cv_mixt_state_duvwp .OR. &
342  pregion%mixt%cvState == cv_mixt_state_duvwt ) THEN
343 
344 ! ==============================================================================
345 ! Convert from primitive to conservative form
346 ! ==============================================================================
347 
348  SELECT CASE ( cvstatefuture )
349  CASE ( cv_mixt_state_cons )
350  pregion%mixt%cvState = cv_mixt_state_cons
351 
352  SELECT CASE ( pregion%mixtInput%gasModel )
353 
354 ! ------------------------------------------------------------------------------
355 ! Thermally and calorically perfect gas or pseudo-gas
356 ! ------------------------------------------------------------------------------
357 
358  CASE ( gas_model_tcperf, &
359  gas_model_mixt_tcperf, &
360  gas_model_mixt_pseudo )
361  DO icg = 1,pgrid%nCellsTot
362  r = pcv(cv_mixt_dens,icg)
363  u = pcv(cv_mixt_xvel,icg)
364  v = pcv(cv_mixt_yvel,icg)
365  w = pcv(cv_mixt_zvel,icg)
366  p = pdv(dv_mixt_pres,icg)
367 
368  pcv(cv_mixt_xmom,icg) = r*u
369  pcv(cv_mixt_ymom,icg) = r*v
370  pcv(cv_mixt_zmom,icg) = r*w
371 
372  cp = pgv(gv_mixt_cp,indcp*icg)
373  mw = pgv(gv_mixt_mol,indmol*icg)
374  gc = mixtperf_r_m(mw)
375  g = mixtperf_g_cpr(cp,gc)
376 
377  pcv(cv_mixt_ener,icg) = r*mixtperf_eo_dgpuvw(r,g,p,u,v,w)
378  END DO ! icg
379 
380 ! ------------------------------------------------------------------------------
381 ! Mixture of gas, liquid, and vapor
382 ! ------------------------------------------------------------------------------
383 
384  CASE ( gas_model_mixt_gasliq )
385 #ifdef SPEC
386  rg = mixtperf_r_m(pregion%specInput%specType(1)% &
387  pmaterial%molw)
388  cvg = mixtperf_cv_cpr(pregion%specInput%specType(1)% &
389  pmaterial%spht,rg)
390  rv = mixtperf_r_m(pregion%specInput%specType(2)% &
391  pmaterial%molw)
392  cvv = mixtperf_cv_cpr(pregion%specInput%specType(2)% &
393  pmaterial%spht,rv)
394  cvl = global%refCvLiq
395 
396  DO icg = 1,pgrid%nCellsTot
397  r = pcv(cv_mixt_dens,icg)
398  u = pcv(cv_mixt_xvel,icg)
399  v = pcv(cv_mixt_yvel,icg)
400  w = pcv(cv_mixt_zvel,icg)
401  t = pdv(dv_mixt_temp,icg)
402 
403  pcv(cv_mixt_xmom,icg) = r*u
404  pcv(cv_mixt_ymom,icg) = r*v
405  pcv(cv_mixt_zmom,icg) = r*w
406 
407  ryg = pcvspec(1,icg)
408  ryv = pcvspec(2,icg)
409  ryl = r - ryg - ryv
410 
411  cvm = (ryl*cvl + ryg*cvg + ryv*cvv)/r
412  vm2 = u*u + v*v + w*w
413 
414  pcv(cv_mixt_ener,icg) = r*mixtgasliq_eo_cvmtvm2(cvm,t,vm2)
415  END DO ! icg
416 #else
417  CALL errorstop(global,err_gasmodel_invalid,__line__, &
418  'Can only be used with species module.')
419 #endif
420 
421 ! ------------------------------------------------------------------------------
422 ! Other or invalid gas models
423 ! ------------------------------------------------------------------------------
424 
425  CASE default
426  CALL errorstop(global,err_reached_default,__line__)
427  END SELECT ! pRegion%mixtInput
428 
429  CASE default
430  CALL errorstop(global,err_reached_default,__line__)
431  END SELECT ! cvStateFuture
432 
433 ! ==============================================================================
434 ! Error - invalid input
435 ! ==============================================================================
436 
437  ELSE
438  CALL errorstop(global,err_reached_default,__line__)
439  END IF ! pRegion%mixt%cvState
440 
441 ! ******************************************************************************
442 ! End
443 ! ******************************************************************************
444 
445 #ifdef ROCPROF
446  CALL fprofiler_ends("RFLU::ConvertCvPrim2Cons")
447 #endif
448 
449  CALL deregisterfunction(global)
450 
451  END SUBROUTINE rflu_convertcvprim2cons
452 
453 
454 
455 
456 ! ******************************************************************************
457 !
458 ! Purpose: Convert conserved state vector to primitive variables.
459 !
460 ! Description: None.
461 !
462 ! Input:
463 ! pRegion Pointer to data of current region
464 ! cvScal State vector of conserved variables
465 ! cvScalStateCurrent Current state of conserved variables
466 !
467 ! Output: None.
468 !
469 ! Notes: None.
470 !
471 ! ******************************************************************************
472 
473  SUBROUTINE rflu_scalarconvertcvcons2prim(pRegion,cvScal,cvScalStateCurrent)
474 
475 ! ******************************************************************************
476 ! Definitions and declarations
477 ! ******************************************************************************
478 
479 ! ==============================================================================
480 ! Arguments
481 ! ==============================================================================
482 
483  INTEGER, INTENT(INOUT) :: cvscalstatecurrent
484  REAL(RFREAL), DIMENSION(:,:) :: cvscal
485  TYPE(t_region), POINTER :: pregion
486 
487 ! ==============================================================================
488 ! Locals
489 ! ==============================================================================
490 
491  INTEGER :: icg,iscal,nscal
492  REAL(RFREAL) :: ir
493  REAL(RFREAL), DIMENSION(:,:), POINTER :: pcv
494  TYPE(t_grid), POINTER :: pgrid
495  TYPE(t_global), POINTER :: global
496 
497 ! ******************************************************************************
498 ! Start
499 ! ******************************************************************************
500 
501  global => pregion%global
502 
503  CALL registerfunction(global,'RFLU_ScalarConvertCvCons2Prim',&
504  'RFLU_ModConvertCv.F90')
505 
506 ! ******************************************************************************
507 ! Set pointers and variables
508 ! ******************************************************************************
509 
510  pgrid => pregion%grid
511  pcv => pregion%mixt%cv
512 
513  nscal = SIZE(cvscal,1)
514 
515 ! ******************************************************************************
516 ! Actual conversion
517 ! ******************************************************************************
518 
519  SELECT CASE ( cvscalstatecurrent )
520 
521 ! ==============================================================================
522 ! Conserved, so convert to primitive variables
523 ! ==============================================================================
524 
525  CASE ( cv_mixt_state_cons )
526  cvscalstatecurrent = cv_mixt_state_prim
527 
528  DO icg = 1,pgrid%nCellsTot
529  ir = 1.0_rfreal/pcv(cv_mixt_dens,icg)
530 
531  DO iscal = 1,nscal
532  cvscal(iscal,icg) = ir*cvscal(iscal,icg)
533  END DO ! iScal
534  END DO ! icg
535 
536 ! ==============================================================================
537 ! Error - invalid input
538 ! ==============================================================================
539 
540  CASE default
541  CALL errorstop(global,err_reached_default,__line__)
542  END SELECT ! cvScalStateCurrent
543 
544 ! ******************************************************************************
545 ! End
546 ! ******************************************************************************
547 
548  CALL deregisterfunction(global)
549 
550  END SUBROUTINE rflu_scalarconvertcvcons2prim
551 
552 
553 
554 
555 ! ******************************************************************************
556 !
557 ! Purpose: Convert primitive state vector to conserved variables.
558 !
559 ! Description: None.
560 !
561 ! Input:
562 ! pRegion Pointer to data of current region
563 ! cvScal State vector of conserved variables
564 ! cvScalStateCurrent Current state of conserved variables
565 !
566 ! Output: None.
567 !
568 ! Notes: None.
569 !
570 ! ******************************************************************************
571 
572  SUBROUTINE rflu_scalarconvertcvprim2cons(pRegion,cvScal,cvScalStateCurrent)
573 
574 ! ******************************************************************************
575 ! Definitions and declarations
576 ! ******************************************************************************
577 
578 ! ==============================================================================
579 ! Arguments
580 ! ==============================================================================
581 
582  INTEGER, INTENT(INOUT) :: cvscalstatecurrent
583  REAL(RFREAL), DIMENSION(:,:) :: cvscal
584  TYPE(t_region), POINTER :: pregion
585 
586 ! ==============================================================================
587 ! Locals
588 ! ==============================================================================
589 
590  INTEGER :: icg,iscal,nscal
591  REAL(RFREAL) :: r
592  REAL(RFREAL), DIMENSION(:,:), POINTER :: pcv
593  TYPE(t_grid), POINTER :: pgrid
594  TYPE(t_global), POINTER :: global
595 
596 ! ******************************************************************************
597 ! Start
598 ! ******************************************************************************
599 
600  global => pregion%global
601 
602  CALL registerfunction(global,'RFLU_ScalarConvertCvPrim2Cons',&
603  'RFLU_ModConvertCv.F90')
604 
605 ! ******************************************************************************
606 ! Set pointers and variables
607 ! ******************************************************************************
608 
609  pgrid => pregion%grid
610  pcv => pregion%mixt%cv
611 
612  nscal = SIZE(cvscal,1)
613 
614 ! ******************************************************************************
615 ! Actual conversion
616 ! ******************************************************************************
617 
618  SELECT CASE ( cvscalstatecurrent )
619 
620 ! ==============================================================================
621 ! Primitive, so convert to conserved variables
622 ! ==============================================================================
623 
624  CASE ( cv_mixt_state_prim )
625  cvscalstatecurrent = cv_mixt_state_cons
626 
627  DO icg = 1,pgrid%nCellsTot
628  r = pcv(cv_mixt_dens,icg)
629 
630  DO iscal = 1,nscal
631  cvscal(iscal,icg) = r*cvscal(iscal,icg)
632  END DO ! iScal
633  END DO ! icg
634 
635 ! ==============================================================================
636 ! Error - invalid input
637 ! ==============================================================================
638 
639  CASE default
640  CALL errorstop(global,err_reached_default,__line__)
641  END SELECT ! cvScalStateCurrent
642 
643 ! ******************************************************************************
644 ! End
645 ! ******************************************************************************
646 
647  CALL deregisterfunction(global)
648 
649  END SUBROUTINE rflu_scalarconvertcvprim2cons
650 
651 
652 
653 
654 
655 ! ******************************************************************************
656 ! End
657 ! ******************************************************************************
658 
659 END MODULE rflu_modconvertcv
660 
661 
662 ! ******************************************************************************
663 !
664 ! RCS Revision history:
665 !
666 ! $Log: RFLU_ModConvertCv.F90,v $
667 ! Revision 1.10 2008/12/06 08:44:20 mtcampbe
668 ! Updated license.
669 !
670 ! Revision 1.9 2008/11/19 22:17:32 mtcampbe
671 ! Added Illinois Open Source License/Copyright
672 !
673 ! Revision 1.8 2006/04/07 15:19:19 haselbac
674 ! Removed tabs
675 !
676 ! Revision 1.7 2006/03/26 20:22:00 haselbac
677 ! Added support for GL model, cosmetics
678 !
679 ! Revision 1.6 2005/11/14 16:59:08 haselbac
680 ! Added support for pseudo-gas model
681 !
682 ! Revision 1.5 2005/11/10 02:26:54 haselbac
683 ! Cosmetics only
684 !
685 ! Revision 1.4 2005/10/31 21:09:36 haselbac
686 ! Changed specModel and SPEC_MODEL_NONE
687 !
688 ! Revision 1.3 2005/07/07 22:45:01 haselbac
689 ! Added profiling calls
690 !
691 ! Revision 1.2 2004/01/29 22:57:35 haselbac
692 ! Added routines for scalars
693 !
694 ! Revision 1.1 2002/09/09 15:17:58 haselbac
695 ! Initial revision
696 !
697 ! ******************************************************************************
698 
699 
700 
701 
702 
703 
704 
705 
706 
707 
unsigned char r() const
Definition: Color.h:68
real(rfreal) function mixtperf_r_m(M)
Definition: MixtPerf_R.F90:54
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
subroutine, public rflu_convertcvcons2prim(pRegion, cvStateFuture)
subroutine, public rflu_convertcvprim2cons(pRegion, cvStateFuture)
subroutine, public rflu_scalarconvertcvprim2cons(pRegion, cvScal, cvScalStateCurrent)
real(rfreal) function mixtperf_t_dpr(D, P, R)
Definition: MixtPerf_T.F90:85
real(rfreal) function mixtgasliq_eo_cvmtvm2(Cvm, T, Vm2)
real(rfreal) function mixtperf_eo_dgpuvw(D, G, P, U, V, W)
Definition: MixtPerf_E.F90:40
subroutine errorstop(global, errorCode, errorLine, addMessage)
Definition: ModError.F90:483
subroutine deregisterfunction(global)
Definition: ModError.F90:469
real(rfreal) function mixtperf_g_cpr(Cp, R)
Definition: MixtPerf_G.F90:39
real(rfreal) function mixtperf_cv_cpr(Cp, R)
Definition: MixtPerf_Cv.F90:39
subroutine, public rflu_scalarconvertcvcons2prim(pRegion, cvScal, cvScalStateCurrent)
unsigned char g() const
Definition: Color.h:69