00001 #ifndef ALIAST_H
00002 #define ALIAST_H
00003 #include "kwdset.h"
00004
00005
00006 enum problemtypet {stationary_problem=50, nonlinear_stationary_problem=51,
00007 nonstationary_problem=60, nonlinear_nonstationary_problem=61,
00008 discont_nonstat_problem=62, discont_nonlin_nonstat_problem=63,
00009 growing_np_problem=70, growing_np_problem_nonlin=71,
00010 trfel_tiles=101,hermes=201};
00011 const enumstr problemtypetstr[] = {{"stationary_problem",50},{"nonlinear_stationary_problem",51},
00012 {"nonstationary_problem",60},{"nonlinear_nonstationary_problem",61},
00013 {"discont_nonstat_problem",62},{"discont_nonlin_nonstat_problem",63},
00014 {"growing_np_problem",70},{"growing_np_problem_nonlin",71},
00015 {"trfel_tiles",101}, {"hermes",201}};
00016 const kwdset problemtypet_kwdset(sizeof(problemtypetstr)/sizeof(*problemtypetstr),problemtypetstr);
00017
00018
00019
00020 enum transmattert {nomedium=0,onemedium=1,twomediacoup=10,threemediacoup=30,fourmediacoup=40};
00021 const enumstr transmattertstr[] = {{"nomedium",0},{"onemedium",1},{"twomediacoup",10},
00022 {"threemediacoup",30},{"fourmediacoup",40}};
00023 const kwdset transmattert_kwdset(sizeof(transmattertstr)/sizeof(*transmattertstr),transmattertstr);
00024
00025
00026
00027 enum mednamest {heat=1,moisture=2,heat_moisture=10,moisture_salt=20,
00028 moisture_salt_crystal=25,moisture_salt_crystal_heat=30};
00029 const enumstr mednameststr[] = {{"heat",1},{"moisture",2},{"heat_moisture",10},{"moisture_salt",20},
00030 {"moisture_salt_crystal",25},{"moisture_salt_crystal_heat",30}};
00031 const kwdset mednamest_kwdset(sizeof(mednameststr)/sizeof(*mednameststr),mednameststr);
00032
00033
00034
00035
00036 enum namevart {trf_temperature=1,trf_rel_humidity=2,trf_water_press=3,trf_gas_press=4, trf_pore_press=5,
00037 trf_salt_conc=6,trf_hydraulic_head=7,trf_vapor_content=8,trf_moisture=9, trf_press_water_vapor=10};
00038 const enumstr namevartstr[] = {{"trf_temperature",1}, {"trf_rel_humidity",2}, {"trf_water_press",3},
00039 {"trf_gas_press",4}, {"trf_pore_press",5}, {"trf_salt_conc",6},
00040 {"trf_hydraulic_head",7},{"trf_vapor_content",8},{"trf_moisture",9}, {"trf_press_water_vapor",10}};
00041 const kwdset namevart_kwdset(sizeof(namevartstr)/sizeof(*namevartstr),namevartstr);
00042
00043
00044
00045 enum nlsolvertype {newtont=1};
00046 const enumstr nlsolvertypestr[] = {{"newtont",1}};
00047 const kwdset nlsolvertype_kwdset(sizeof(nlsolvertypestr)/sizeof(*nlsolvertypestr), nlsolvertypestr);
00048
00049
00050
00051 enum gravityaccelerationt {gr_yes=1,gr_no=0};
00052 const enumstr gravityaccelerationtstr[]={{"gr_yes",1},{"gr_no",0}};
00053 const kwdset gravityaccelerationt_kwdset(sizeof(gravityaccelerationtstr)/sizeof(*gravityaccelerationtstr),gravityaccelerationtstr);
00054
00055
00056 enum transpsolver {fullnewtont=1,modnewtont=2};
00057 const enumstr transpsolverstr[]={{"fullnewtont",1},{"modnewtont",2}};
00058 const kwdset transpsolver_kwdset(sizeof(transpsolverstr)/sizeof(*transpsolverstr),transpsolverstr);
00059
00060
00061 enum transpresiduumtype {nonet=0,fluxest=1,lrhst=2};
00062 const enumstr transpresiduumtypestr[]={{"nonet",0}, {"fluxest",1},{"lrhst",2}};
00063 const kwdset transpresiduumtype_kwdset(sizeof(transpresiduumtypestr)/sizeof(*transpresiduumtypestr),transpresiduumtypestr);
00064
00065
00066 enum proptypet {boundarycondt=2, crosssect=4,
00067 eltypet=6, matelt=7, initcondt=11, comcodnumt=12,
00068 loadedget=13, loadsource=15, boconsurf=21};
00069
00070
00071
00072 enum elemtypet {barlint=200,barlintax=201,barquadt=205,barquadtax=206,trlint=210,trlaxisym=211,
00073 quadlint=215,quadquadt=216,quadlaxisym=217,quadquadtax=218,
00074 lineartett=220,linearhext=225,quadratichext=226,gen2del=300,trquadt=500,trqaxisym=501};
00075 const enumstr elemtypetstr[] = {{"barlint",200},{"barlintax",201},{"barquadt",205},{"barquadtax",206},
00076 {"trlint",210},{"trlaxisym",211},{"trquadt",500},{"trqaxisym",501},
00077 {"quadlint",215},{"quadquadt",216},{"quadlaxisym",217},{"quadquadtax",218},
00078 {"lineartett",220},{"linearhext",225},{"quadratichext",226},{"gen2del",300}};
00079 const kwdset elemtypet_kwdset(sizeof(elemtypetstr)/sizeof(*elemtypetstr), elemtypetstr);
00080
00081
00082
00083 enum mattypet {isotransmat=100, cernyconcrete=101, nlisotransmat=102, damisotransmat=103, homomat=110, lincoupledmat=120,
00084 bazantpedersen=150, pedersen=151, milly=154, kunzel=155, grunewald=156, devries=157, kunzel2=158, simplediscmat=159,
00085 concreteB=160, baroghelB=161, C60baroghelB=165, C30baroghelB=166,
00086 o30bazantB=167, C60bazantB=168, C30bazantB=169, glasgow=170, carb1mat=171, moistheat=180,
00087 richardsmat=181,
00088 salt1mat=200, salt2mat=201, salt3mat=202, salt4mat=203, radiationmater=251,
00089 soilmat1=300, discontisotrmat=401,
00090 cementhydrmat=500, sejtkr=650, consolawf1=600, consolawf2=700};
00091 const enumstr mattypetstr[] = {{"isotransmat",100},{"cernyconcrete",101},{"nlisotransmat",102},{"damisotransmat",103}, {"homomat",110},{"lincoupledmat",120},
00092 {"bazantpedersen",150},{"pedersen",151}, {"milly",154}, {"kunzel",155}, {"grunewald",156},
00093 {"devries",157}, {"kunzel2",158}, {"simplediscmat",159},
00094 {"concreteB",160},{"baroghelB",161},{"C60baroghelB",165},{"C30baroghelB",166},
00095 {"o30bazantB",167},{"C60bazantB",168},{"C30bazantB",169},{"glasgow",170},{"carb1mat",171}, {"moistheat",180},
00096 {"richardsmat",181},
00097 {"salt1mat",200},{"salt2mat",201},{"salt3mat",202},{"salt4mat",203},
00098 {"radiationmater",251},
00099 {"soilmat1",300},{"discontisotrmat",401},
00100 {"cementhydrmat",500},{"sejtkr",650},{"consolawf1",600},{"consolawf2",700}};
00101 const kwdset mattypet_kwdset(sizeof(mattypetstr)/sizeof(*mattypetstr), mattypetstr);
00102
00103
00104
00105 enum isotypet {noisotherm=0,ithdata=1,grunewaldroot=2,hansen=3};
00106 const enumstr isotypetstr[] = {{"noisotherm",0},{"ithdata",1},{"grunewaldroot",2},{"hansen",3}};
00107 const kwdset isotypet_kwdset(sizeof(isotypetstr)/sizeof(*isotypetstr), isotypetstr);
00108
00109
00110
00111 enum crsectypet {nocrosssectiont=0,crsec1dt=1,crsec2dt=2,crsec3dt=3};
00112 const enumstr crsectypetstr[] = {{"nocrosssectiont",0},{"crsec1dt",1},{"crsec2dt",2},{"crsec3dt",3}};
00113 const kwdset crsectypet_kwdset(sizeof(crsectypetstr)/sizeof(*crsectypetstr), crsectypetstr);
00114
00115
00116
00117 enum bocontypet {no_bc=0, presc_vals=1, presc_flux=2, det_climcond=3, gen_climcond=5, presc_trmiss=30, presc_trmiss_spec=31};
00118 const enumstr bocontypetstr[] = {{"no_bc",0}, {"presc_vals",1}, {"presc_flux",2}, {"det_climcond",3}, {"gen_climcond",5}, {"presc_trmiss",30}, {"presc_trmiss_spec",31}};
00119 const kwdset bocontype_kwdset(sizeof(bocontypetstr)/sizeof(*bocontypetstr), bocontypetstr);
00120
00121
00122
00123 enum elempositiont {nowheret=0,intptst=1,enodest=2,userdefinedt=3};
00124 const enumstr elempositiontstr[] = {{"nowheret",0},{"intptst",1},{"enodest",2},{"userdefinedt",3}};
00125 const kwdset elempositiont_kwdset(sizeof(elempositiontstr)/sizeof(*elempositiontstr), elempositiontstr);
00126
00127
00128 enum strastret {grad=0,flux=1,othert=2,eqothert=3,pgrad=4,pflux=5};
00129 const enumstr strastretstr[] = {{"grad",0}, {"flux",1}, {"othert",2}, {"eqothert",3}, {"pgrad",4}, {"pflux",5}};
00130 const kwdset strastret_kwdset(sizeof(strastretstr)/sizeof(*strastretstr),strastretstr);
00131
00132
00133 enum graphftt {grftt_no=0, grftt_open_dx=1, grftt_femcad=2, grftt_gid=3, grftt_gid_sep=4,grftt_vtk=5};
00134 const enumstr graphfttstr[] = {{"grftt_no",0}, {"grftt_open_dx",1}, {"grftt_femcad",2},
00135 {"grftt_gid",3}, {"grftt_gid_sep",4}, {"grftt_vtk",5}};
00136 const kwdset graphftt_kwdset(sizeof(graphfttstr)/sizeof(*graphfttstr), graphfttstr);
00137
00138
00139
00140 enum prunkt {pr_unknowns=1,pr_gradients=2,pr_fluxes=3,pr_stepidt=6,pr_apploadt=7,pr_othert=8,pr_eqothert=9};
00141 const enumstr prunktstr[] = {{"pr_unknowns",1}, {"pr_gradients",2}, {"pr_fluxes",3},
00142 {"pr_stepidt",6}, {"pr_apploadt",7}, {"pr_othert",8}, {"pr_eqothert",9}};
00143 const kwdset prunkt_kwdset(sizeof(prunktstr)/sizeof(*prunktstr), prunktstr);
00144
00145
00146
00147 enum timetypeprint {secondst=1,minutest=2,hourst=3,dayst=4};
00148 const enumstr timetypeprintstr[] = {{"secondst",1}, {"minutest",2}, {"hourst",3}, {"dayst",4}};
00149 const kwdset timetypeprint_kwdset(sizeof(timetypeprintstr)/sizeof(*timetypeprintstr), timetypeprintstr);
00150
00151
00152 enum sourcetype {matfunction=1,concrete_heat=2,cement_hydration=5};
00153 const enumstr sourcetypestr[] = {{"matfunction",1}, {"concrete_heat",2}, {"cement_hydration",5}};
00154 const kwdset sourcetype_kwdset(sizeof(sourcetypestr)/sizeof(*sourcetypestr),sourcetypestr);
00155
00156
00157 enum waterflowtype {lewis_and_schrefler=1,gardner_exponential=2,potts_log_linear=3,van_genuchten=4,kuklik_camclay=5,kuklik_camclay_mech=6};
00158 const enumstr waterflowtypestr[] = {{"lewis_and_schrefler",1}, {"gardner_exponential",2}, {"potts_log_linear",3}, {"van_genuchten",4}, {"kuklik_camclay",5}, {"kuklik_camclay_mech",6}};
00159 const kwdset waterflowtype_kwdset(sizeof(waterflowtypestr)/sizeof(*waterflowtypestr),waterflowtypestr);
00160
00161
00162
00163 enum sourceloc {nod=1,elem=2};
00164
00165 #endif
00166