1 #ifndef MIDAS_PROBLEM_H
2 #define MIDAS_PROBLEM_H
21 enum BlockName {
BN_Void,
BN_COMM,
BN_OFN,
BN_ANAL,
BN_DOMN,
BN_OUTP,
BN_CS,
BN_MAT,
BN_BC,
BN_PV,
BN_NODES,
BN_ELEMS,
BN_NL,
BN_CEL,
BN_CFL,
BN_CBL,
BN_HN,
BN_RAN,
BN_LTF,
BN_EXTRCT,
BN_FIXED };
306 void set_FETS (
const char *skupina,
const char *str);
432 #endif // MIDAS_PROBLEM_H
FiLe * IN_file_results_addataVTK
const CrossSection * give_3dCS(void)
bool give_PDBO(ProbDescBoolOpt pdbo) const
void set_DOFspnod(DOFsPerNode val)
void solve(void)
solve the problem - main function
void read_meshes(void)
reading of files with model/mesh and possibly info about solving
const BoundaryCond * add_uniq_BC(BoundaryCond *val)
add new BC
ProbDescBoolOpt
ProbDesc Boolean Option.
void set_OM(OperationMode val)
void add_IN_mshFiLe(FiLe *val)
PAGroup give_analgroup(void) const
void set_IN_Path(char *val)
int DOFsPerNode2nDOFs(DOFsPerNode od)
const FiLe * give_P_solverbinary(void) const
const GPA< BoundaryCond > * give_BCs(void) const
PointAttribs * give_NdAt_with_prop(long prop) const
void set_P_binary_solver(FiLe *val, Solver val2)
long give_nsteps(void) const
ProblemAnalysis * ProbAnal
GPA< ElemAttribs > geomElAt
void print_input_ANSYS(void) const
const FiLe * give_IN_file_bgm(void) const
AdaptivityParameters * give_adpa(void) const
void initialization(void)
initiate/sets data
int give_IN_meshGen_elemCount(void) const
void wedge_mesh(long i, Mesh *val)
void read_mesh_OOFEM(Mesh *mesh, const char *filename)
read native input file to OOFEM
const BoundaryCond * switch_BC(const BoundaryCond *bc, DOFsPerNode dpn_old, DOFsPerNode dpn_new)
PointDOFsBCPM * give_PV(long i) const
void read_geometry_VTK(Geometry *geom, const char *filename)
void initialize_from(const char *&str, femFileFormat fff)
bool rotDOFsPresence(void) const
void read_block(Stream *stream, BlockName bn)
void read_polylines_vtx(const char *filename)
void read_mesh_SIFEL(Mesh *mesh, const char *filename)
read native input file to SIFEL
void set_OUT_Path(char *val)
void set_IN_numdom(long val)
void read_polylines(const char *filename)
void set_IN_VTKaddata(FiLe *val)
void read_addata(bool mdl)
Mesh * give_Mesh(long i) const
void set_geomElAt(CellGeometry cg, DOFsPerNode val)
void set_IN_meshGen_elemSize(double val)
long give_sifMats(long i) const
void rm_MAT_RIGID(void)
rm material MAT_RIGID
long give_sifBCs(long i) const
void read_characteristics(Stream *stream)
void switch_node_pointer(Point *oldnod, Point *newnod)
clean up duplicity components
void checkConsistency(void) const
Checks data consistency.
const char * give_OUT_Path(void) const
const FiLe * give_IN_file_results(void) const
long give_cMesh(void) const
void read_addata_VTK(Geometry *geom, const char *filename, bool sparse)
PAType give_analloctype(void) const
MeshGenerator
type of mesh generator
void set_IN_VTKaddatasprs(FiLe *val)
OperationMode give_OM(void) const
void set_lcs(LCSdirection dir, LCStype typ, long num)
int give_melnik(void) const
int * DOFsPerNode2dofBCmask(DOFsPerNode od)
void set_IN_file_results(FiLe *val)
long give_cCS(void) const
void set_OUT_printStep(long val)
void add_IN_mdlFiLe(FiLe *val)
int give_P_OOFEM_ver(void) const
long give_cModel(void) const
void loadedSurfaces(FILE *stream, FElement *elem)
PointAttribs * givealloc_NdAt_with_prop(long prop)
Geometry * give_primary_geometry(void) const
AdaptivityParameters * adpa
void set_IN_meshGen_elemCount(int val)
const FiLe * give_OUT_moFILE(void) const
Material * give_Mat_of_type(MaterialType type, int id) const
GPA< LoadTimeFunction > OOltfs
CrossSection * give_CS(long i) const
void print_input_SIFEL(void) const
void read_addataRSLT(bool mdl)
BoundaryCond * give_BC(long i) const
const FiLe * give_P_mesherbinary(void) const
void set_IN_ctrlfile(FiLe *val)
void main_OM_testing(void)
main process of mode OM_Test
GPA - Generic Pointer Array, template class manages 1d array of pointers to objects of type T...
void set_IN_bgm(FiLe *val)
void read_head_and_chars(Stream *stream, char &DATASET)
zkontroluje hlavicku xml souboru a zpracuje pripadnou char sekci vraci XMLElement s vlastnimi geom da...
Derived class for management of boundary conditions and physical meanings of DOFs (Degrees Of Freedom...
void set_FETS(const char *skupina, const char *str)
Finite Element Type Settings.
long give_sifCSs(long i) const
SStype
type of stress/strain state of element; especially results depends on this variable => described at M...
void set_P_binary_mesher(FiLe *val, MeshGenerator val2)
void read_characteristics_core(Stream *stream, const char *key)
const StdoutDriver * sodriver(void) const
void print_control(void) const
Function prints contol data.
bool give_fulldata(void) const
void read_block_output(Stream *stream)
const char * give_IN_Path(void) const
void set_readedchars(bool val)
void main_OM_design2solver2design(void)
main process of mode OM_Design2solver2design
Auxiliary functions; classes FiLe, LocalCoordSystem, AdaptivityParameters and StdoutDriver.
Problem(StdoutDriver *sodrv)
CONSTRUCTOR.
Model * give_Model(long i) const
MeshGenerator give_P_mesher(void) const
GPA< PointAttribs > NdAts
DOFsPerNode give_DOFspnod(void) const
long set_adpa(char **argv)
long give_OUT_printStep(void) const
const int * give_DOFbc_mask(void) const
double give_IN_meshGen_elemSize(void) const
const char * give_output_file(void) const
void set_OOFEM_ver(int val)
void finitialization(void)
finalize preprocessing
void print_input_OOFEM(void)
void set_domainElAt(FEApproximation val)
void set_OUT_moFILE(FiLe *val)
bool DOFsPerNode2rotDOFsPresence(DOFsPerNode od)
void set_IN_file_results_addataVTK(FiLe *val)
int give_global_nDOFs(void) const
void read_block_analysis(Stream *stream)
ElemAttribs * give_ElAt_with_prop(long prop) const
double IN_meshGen_elemSize
void set_defautlt_meshGen_elemSize(void)
ElemAttribs * give_ElAt_of_domain(void) const
void alloc_geomElAt(CellGeometry cg)
const FiLe * give_IN_file_results_addataVTK(void) const
PAType give_analtype(void) const
const BoundaryCond * add_find_BC(BoundaryCond *val)
find identical or add new BC
CrossSection * give_CS_of_type(CrossSectType type, int id) const
Material * give_Mat(long i) const
assignment of attributes to element
PAGroup
The group of problem analysis.
ElemAttribs * give_ElAt_with_geom(CellGeometry eg) const
FEApproximation
finite element approximation
void read_geometry_VTK_core(Geometry *geom, Stream *stream)
void geomElAt_initialize_from(const char *str, CellGeometry cg)
void domainElAt_initialize_from(const char *str)
void set_PDBO(ProbDescBoolOpt pdbo, bool val)