Cantera  2.3.0
vcs_internal.h File Reference

Internal declarations for the VCSnonideal package. More...

#include "cantera/base/global.h"
Include dependency graph for vcs_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes

class  VCS_COUNTERS
Class to keep track of time and iterations. More...

## Namespaces

Cantera
Namespace for the Cantera kernel.

## Macros

#define plogf   writelogf
define this Cantera function to replace printf More...

#define plogendl()   writelogendl()
define this Cantera function to replace cout << endl; More...

## Typedefs

typedef double(* VCS_FUNC_PTR) (double xval, double Vtarget, int varID, void *fptrPassthrough, int *err)
Definition of the function pointer for the root finder. More...

## Functions

double vcs_l2norm (const vector_fp &vec)
determine the l2 norm of a vector of doubles More...

size_t vcs_optMax (const double *x, const double *xSize, size_t j, size_t n)
Finds the location of the maximum component in a double vector. More...

const char * vcs_speciesType_string (int speciesStatus, int length=100)
Returns a const char string representing the type of the species given by the first argument. More...

bool vcs_doubleEqual (double d1, double d2)
Simple routine to check whether two doubles are equal up to roundoff error. More...

## Detailed Description

Internal declarations for the VCSnonideal package.

Definition in file vcs_internal.h.

## ◆ plogendl

 #define plogendl ( ) writelogendl()

define this Cantera function to replace cout << endl;

We use this to place an endl in the log file, and ensure that the IO buffers are flushed.

Definition at line 25 of file vcs_internal.h.