Specification of explicit first and second viscosity coefficients.
More...
#include "pluto.h"
#include <stdio.h>
|
void | eta_visc_func (real *v, real x1, real x2, real x3, real *eta1_visc, real *eta2_visc) |
| Calculate first and second viscosity coefficients as functions of data and coordinates.
|
|
void eta_visc_func |
( |
real * |
v, |
|
|
real |
x1, |
|
|
real |
x2, |
|
|
real |
x3, |
|
|
real * |
eta1_visc, |
|
|
real * |
eta2_visc |
|
) |
| |
- Parameters
-
[in] | v | pointer to data array containing cell-centered quantities |
[in] | x1 | real, coordinate value |
[in] | x2 | real, coordinate value |
[in] | x3 | real, coordinate value |
[in,out] | eta1_visc | pointer to first viscous coefficient |
[in,out] | eta2_visc | pointer to second viscous coefficient |
- Returns
- This function has no return value.