#include <bocon.h>
Public Member Functions | |
bocon () | |
bocon * | copy (void) |
return pointer to new allocated object with copy of the actual instance | |
bocon * | merge (bocon *tbc) |
merges boundary conditions of the instance with the one defined in object tbc | |
long | read (XFILE *in, long ndof) |
reads data from the opened text file | |
~bocon () | |
Public Attributes | |
double * | con |
array with prescribed values | |
long * | dir |
array flags for each direction | |
char ** | expr |
array with prescribed functions | |
long | ndir |
number of directions | |
long * | ndpd |
array with the numbers of nonzero prescribed displacements for particular directions in time dependent load cases | |
long | nn |
node number | |
long * | nspd |
array with the numbers of nonzero prescribed displacements for particular directions in time independent load cases |
Definition at line 7 of file bocon.h.
bocon | ( | ) |
~bocon | ( | ) |
bocon * copy | ( | void | ) |
return pointer to new allocated object with copy of the actual instance
Method creates copy of given object
Returns: Method returns pointer to newly alocated object of boundary condition.
Definition at line 296 of file bocon.cpp.
References con, dir, expr, memset(), ndir, ndpd, Nlc, nn, nspd, and Tnslc.
Referenced by input_nod_bocon().
merges boundary conditions of the instance with the one defined in object tbc
Method tries to merge two boundary conditions
tbc | - object of boundary condition which will be copied |
Method | returns pointer to new object of boundary condition |
Definition at line 170 of file bocon.cpp.
References con, dir, expr, memset(), ndir, ndpd, Nlc, nn, nspd, and Tnslc.
Referenced by input_nod_bocon().
long read | ( | XFILE * | in, | |
long | ndofn | |||
) |
reads data from the opened text file
Method reads data from the text file specified by parameter in, data are in preprocessor format Parameters :
in | - pointer to the opened text file, where the data will be read | |
ndofn | - number of dofs in given node with prescribed condition Returns : |
0 | - on success | |
1 | - number of boundary conditions is not in range <1, ndofn> | |
2 | - direction of a boundary condition is not in range <1, ndofn> | |
3 | - load case of a boundary condition is not in range <1, Nlc> | |
4 | - subload case of a boundary condition is not in range <1, Nslc> | |
5 | - error in parsing string for dynamic boundary condition |
Definition at line 42 of file bocon.cpp.
References con, dir, expr, memset(), ndir, ndpd, Nlc, Nslc, Nslc_cum, nspd, Parser::TextToTree(), Tnslc, and xfscanf().
Referenced by input_nod_bocon().
double* con |
long* dir |
char** expr |
long ndir |
long* ndpd |
long nn |
long* nspd |