cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dense_fabden.cpp
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2022 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 /*dense_fabden called by dlaw command, returns density for any density law */
4 #include "cddefines.h"
5 #include "rfield.h"
6 #include "dense.h"
7 
8 /*dense_fabden implements the dlaw command, returns density using
9  * current position and up to ten parameters on dlaw command line */
10 double dense_fabden(double radius,
11  double depth)
12 {
13 
14  fprintf(ioQQQ,"PROBLEM The DLAW command requires a user-defined version of dense_fabden.cpp\n");
15  fprintf(ioQQQ,"dense_fabden was called with radius=%e.2 and depth=%.2e\n", radius, depth);
16  fprintf(ioQQQ,"Edit this file to create your own function and remove this warning.\n");
18  //return fabden_v;
19 }
FILE * ioQQQ
Definition: cddefines.cpp:7
#define EXIT_FAILURE
Definition: cddefines.h:168
#define cdEXIT(FAIL)
Definition: cddefines.h:482
t_radius radius
Definition: radius.cpp:5
int fprintf(const Output &stream, const char *format,...)
Definition: service.cpp:1121
double dense_fabden(double radius, double depth)