MCPcopy Create free account
hub / github.com/KratosMultiphysics/Kratos / GetStringArray

Method GetStringArray

kratos/sources/kratos_parameters.cpp:693–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691/***********************************************************************************/
692
693std::vector<std::string> Parameters::GetStringArray() const
694{
695 KRATOS_ERROR_IF_NOT(this->IsStringArray()) << "Argument must be a string array" << std::endl;
696 std::vector<std::string> result(this->size());
697 for (std::size_t i = 0; i < result.size(); ++i)
698 {
699 result[i] = this->GetArrayItem(i).GetString();
700 }
701 return result;
702}
703
704/***********************************************************************************/
705/***********************************************************************************/

Callers 15

FixedMeshALEUtilitiesMethod · 0.80
GetMapperFlagsFunction · 0.80
__init__Method · 0.80
GetNodesPartitionsMethod · 0.80
GetProcessModelPartNamesFunction · 0.80
WriteGiDOutputMethod · 0.80
FillVariableListsMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80

Calls 4

IsStringArrayMethod · 0.95
sizeMethod · 0.95
GetArrayItemMethod · 0.95
GetStringMethod · 0.80