Home
last modified time | relevance | path

Searched refs:str (Results 1 – 21 of 21) sorted by relevance

/phasta/phSolver/common/
H A DValType.cc14 return get_int(str); in operator int()
20 return get_vector(str); in operator vector<double>()
26 return get_ivector(str); in operator vector<int>()
32 return get_double(str); in operator double()
38 return get_double_array(str); in operator double*()
44 return get_string(str); in operator string()
51 int ValType::get_int(string str) in get_int() argument
53 int i = atoi(str.c_str()); in get_int()
57 double ValType::get_double(string str) in get_double() argument
59 double x = atof(str.c_str()); in get_double()
[all …]
H A DCinput.cc12 ValType phSolver::Input::GetValue(const string &str) const in GetValue()
14 if (input_map->find(str) != input_map->end()) { in GetValue()
15 if ( (*input_map)[str] == "NODEFAULT" ) { in GetValue()
17 ost << "required input variable not set: " << str << ends; in GetValue()
18 throw invalid_argument( ost.str() ); in GetValue()
22 ost << "required input variable not set: " << str << ends; in GetValue()
23 throw invalid_argument( ost.str() ); in GetValue()
26 return ValType( (*input_map)[str] ); in GetValue()
162 void phSolver::Input::trim_string(string *str) in trim_string() argument
165 int length = str->length(); in trim_string()
[all …]
H A DValType.h12 : str(s) in ValType()
31 string str; variable
33 int get_int(string str);
34 double get_double(string str);
35 double *get_double_array(string str);
36 vector<double> get_vector(string str);
37 vector<int> get_ivector(string str);
38 string get_string(string str);
H A DphStr.f4 subroutine phstr_appendInt(str, val)
7 character(c_char) :: str(*) local
13 subroutine phstr_appendDbl(str, val)
16 character(c_char) :: str(*) local
H A DphString.cc14 std::string s = ss.str(); in phstr_appendInt()
21 std::string s = ss.str(); in phstr_appendDbl()
28 std::string s = ss.str(); in phstr_appendStr()
H A Dphio_sync.cc20 return ss.str(); in appendSync()
25 return ss.str(); in appendSyncWrite()
31 return ss.str(); in appendColor()
H A DphIO.f73 subroutine phio_appendInt(str, val)
76 character(c_char) :: str(*) local
H A DInput.h31 void trim_string(string *str);
H A Dphio_posix.cc17 return ss.str(); in appendRank()
H A DphIO.cc122 std::string s = ss.str(); in phio_appendInt()
H A Dphio_stream.cc13 return ss.str(); in appendPosix()
H A Dphasta.cc253 string s = exec_string.str(); in phasta()
/phasta/phSolver/common/test/
H A DphIOwriteFields.cc47 char str [50]; in main() local
50 n = sprintf(str, " Number of times %d ", j); in main()
52 phio_writeheader(file[i], str, &blockEntries, &one, &blockEntries, type, iotype); in main()
53 phio_writedatablock(file[i], str, blockArray, &blockEntries, type, iotype); in main()
H A DphIOreadIlwork.cc99 std::string s = ss.str(); in main()
/phasta/phastaIO/
H A DvtkPhastaReader.cxx519 char* StrReverse(char* str) in StrReverse() argument
524 temp=str; in StrReverse()
530 ptr[len-i-1]=str[i]; in StrReverse()
963 char* str = this->FieldFileName; in RequestData() local
965 if(str[i] != '.') in RequestData()
966 str[i] = 0; in RequestData()
970 sprintf(str, "%s%d", str, FILE_ID); in RequestData()
1390 sArrays[idx]->SetName(aName.str().c_str()); in ReadFieldFile()
H A DvtkPPhastaReader.cxx323 this->Reader->SetGeometryFileName(geomFName.str().c_str()); in RequestData()
349 this->Reader->SetFieldFileName(fieldFName.str().c_str()); in RequestData()
574 paraviewFieldTagStr = paraviewFieldTagStrStream.str(); in RequestInformation()
H A DphastaIO.cc903 return ss.str(); in getSubDirPrefix()
/phasta/AcuStat/src/
H A Dphasta.cc111 std::string s = exec_string.str(); in phasta()
/phasta/M2NFixBnd/src/
H A Dphasta.cc110 std::string s = exec_string.str(); in phasta()
/phasta/M2N/src/
H A Dphasta.cc112 string cmd = exec_string.str(); in phasta()
/phasta/phSolver/AMG/
H A Dramg_tools.f1004 subroutine ramg_print_time(str,v) argument
1010 character*(*) str local
1025 write(*,7101)trim(str),vave,vmax