Mesh functions output.
[Mesh and mesh functions.]


Typedefs

typedef double(* phelm::x_t )(double u, double v)
 callback that converts local coordinates to global coordinates.

Functions

void phelm::print_function (FILE *to, double *ans, const Mesh &m, x_t x=0, x_t y=0, x_t z=0)
 Print a mesh function to file.
void phelm::print_function (const char *fname, double *ans, const Mesh &m, x_t x=0, x_t y=0, x_t z=0)
 Print a mesh function to file.
void phelm::print_inner_function (FILE *to, double *ans, const Mesh &m, x_t x=0, x_t y=0, x_t z=0)
 Print the inner part of a mesh function to file.
void phelm::print_inner_function (const char *to, double *ans, const Mesh &m, x_t x=0, x_t y=0, x_t z=0)
 Print the inner part of a mesh function to file.

Function Documentation

void phelm::print_function ( const char *  fname,
double *  ans,
const Mesh &  m,
x_t  x = 0,
x_t  y = 0,
x_t  z = 0 
)

Print a mesh function to file.

Parameters:
fname output file
ans function to output
m mesh
x (optional) local coordinates to global 'x' converter
y (optional) local coordinates to global 'y' converter
z (optional) local coordinates to global 'z' converter

Definition at line 316 of file phelm.cpp.

void phelm::print_function ( FILE *  to,
double *  ans,
const Mesh &  m,
x_t  x = 0,
x_t  y = 0,
x_t  z = 0 
)

Print a mesh function to file.

Parameters:
to output file
ans function to output
m mesh
x (optional) local coordinates to global 'x' converter
y (optional) local coordinates to global 'y' converter
z (optional) local coordinates to global 'z' converter
Examples:
test_barvortex.cpp, test_laplace.cpp, test_schafe.cpp, and test_slaplace.cpp.

Definition at line 276 of file phelm.cpp.

void phelm::print_inner_function ( const char *  to,
double *  ans,
const Mesh &  m,
x_t  x = 0,
x_t  y = 0,
x_t  z = 0 
)

Print the inner part of a mesh function to file.

Parameters:
to output file name
ans function to output
m mesh
x (optional) local coordinates to global 'x' converter
y (optional) local coordinates to global 'y' converter
z (optional) local coordinates to global 'z' converter

Definition at line 266 of file phelm.cpp.

void phelm::print_inner_function ( FILE *  to,
double *  ans,
const Mesh &  m,
x_t  x = 0,
x_t  y = 0,
x_t  z = 0 
)

Print the inner part of a mesh function to file.

Parameters:
to output file
ans function to output
m mesh
x (optional) local coordinates to global 'x' converter
y (optional) local coordinates to global 'y' converter
z (optional) local coordinates to global 'z' converter
Examples:
test_laplace.cpp.

Definition at line 216 of file phelm.cpp.


Phelm Library
Copyright © 2009 Alexey Ozeritsky. All rights reserved.
http://resetius.ru