AMR-Solver  1.0
Block-based Octree AMR grid flow solver
std Namespace Reference

Standard input output stuff. More...

Functions

myOctree::NodeBc string_to_NodeBc (string bc)
 
myOctree::FieldBc string_to_FieldBc (string bc)
 
void read_scalar_fields (ifstream &file)
 
void read_vector_fields (ifstream &file)
 
int read_blocks (ifstream &file)
 
void read_scalar_field_Bc (ifstream &file, int number)
 
void read_vector_field_Bc (ifstream &file, int number)
 
void read_max_level (ifstream &file)
 
void read_input_file ()
 
string NodeBc_to_string (myOctree::NodeBc bcc)
 
void write_output_file ()
 

Detailed Description

Standard input output stuff.

Namespace containing things related to input and output.

Function Documentation

string std::NodeBc_to_string ( myOctree::NodeBc  bcc)

Converts node boundary condition type to string.

Definition at line 13 of file output.cpp.

int std::read_blocks ( ifstream &  file)

Reads the list of blocks, its dimensions and its boundary conditions from the input file and creates a root node accordingly.

Definition at line 116 of file input.cpp.

void std::read_input_file ( )

Reads the input file.

Definition at line 374 of file input.cpp.

void std::read_max_level ( ifstream &  file)

Reads the maximum refinement level.

Definition at line 355 of file input.cpp.

void std::read_scalar_field_Bc ( ifstream &  file,
int  number 
)

Reads the boundary conditions and its values for all the scalar fields previously listed and assigns it to the corresponding blocks.

Definition at line 176 of file input.cpp.

void std::read_scalar_fields ( ifstream &  file)

Reads the list of scalar fields from the input file and creates a list of strings of scalar fields.

Definition at line 52 of file input.cpp.

void std::read_vector_field_Bc ( ifstream &  file,
int  number 
)

Reads the boundary conditions and its values for all the vector fields previously listed and assigns it to the corresponding blocks.

Definition at line 245 of file input.cpp.

void std::read_vector_fields ( ifstream &  file)

Reads the list of vector fields from the file and creates a list of strings of vector fields.

Definition at line 84 of file input.cpp.

myOctree::FieldBc std::string_to_FieldBc ( string  bc)

Converts a string to field boundary condition type.

Definition at line 32 of file input.cpp.

myOctree::NodeBc std::string_to_NodeBc ( string  bc)

Converts a string to node boundary condition type.

Definition at line 15 of file input.cpp.

void std::write_output_file ( )

Writes output file, which is useful in restarting the simulation.

This function is not yet complete.

Definition at line 33 of file output.cpp.