Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ptwX_misc.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include "ptwX.h"
Include dependency graph for ptwX_misc.cc:

Go to the source code of this file.

Functions

void ptwX_simpleWrite (ptwXPoints const *ptwX, FILE *f, char const *format)
 
void ptwX_simplePrint (ptwXPoints const *ptwX, char const *format)
 

Function Documentation

void ptwX_simplePrint ( ptwXPoints const *  ptwX,
char const *  format 
)

Definition at line 29 of file ptwX_misc.cc.

29  {
30 
31  ptwX_simpleWrite( ptwX, stdout, format );
32 }
void ptwX_simpleWrite(ptwXPoints const *ptwX, FILE *f, char const *format)
Definition: ptwX_misc.cc:19

Here is the call graph for this function:

void ptwX_simpleWrite ( ptwXPoints const *  ptwX,
FILE *  f,
char const *  format 
)

Definition at line 19 of file ptwX_misc.cc.

19  {
20 
21  int64_t i1;
22  double *p1 = ptwX->points;
23 
24  for( i1 = 0; i1 < ptwX->length; ++i1, ++p1 ) fprintf( f, format, *p1 );
25 }

Here is the caller graph for this function: