cloudy
trunk
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
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"
);
17
cdEXIT
(
EXIT_FAILURE
);
18
//return fabden_v;
19
}
ioQQQ
FILE * ioQQQ
Definition:
cddefines.cpp:7
dense.h
EXIT_FAILURE
#define EXIT_FAILURE
Definition:
cddefines.h:168
cdEXIT
#define cdEXIT(FAIL)
Definition:
cddefines.h:482
radius
t_radius radius
Definition:
radius.cpp:5
cddefines.h
fprintf
int fprintf(const Output &stream, const char *format,...)
Definition:
service.cpp:1121
dense_fabden
double dense_fabden(double radius, double depth)
Definition:
dense_fabden.cpp:10
rfield.h
Generated by
1.8.5