90 std::shared_ptr<InputRecord>
clone()
const override {
return std::make_shared<DynamicInputRecord>(*
this); }
91 void finish(
bool wrn =
true)
override;
94 std :: string giveRecordInTXTFormat()
const override;
95 std :: string giveLocation()
const override;
98 void giveRecordKeywordField(std :: string &answer,
int &value)
override;
99 void giveRecordKeywordField(std :: string &answer)
override;
103 void giveField(std :: string &answer,
InputFieldType id)
override;
107 void giveField(std :: vector< std :: string > &answer,
InputFieldType id)
override;
109 void giveField(std :: list< Range > &answer,
InputFieldType id)
override;
112 int giveGroupCount(
InputFieldType id,
const std::string& name,
bool optional)
override;
113 bool hasChild(
InputFieldType id,
const std::string& name,
bool optional)
override;
116 void printYourself()
override;
119 void setRecordKeywordField(std :: string keyword,
int number);
120 void setRecordKeywordNumber(
int number);
128 void setField(std :: vector< std :: string > item,
InputFieldType id);
130 void setField(
const std :: list< Range > &item,
InputFieldType id);
std::unique_ptr< DynamicInputRecord > CreateElementIR(int i, InputFieldType elementType, IntArray nodes, int cs)
Helper function for creating elements (with optional cross-section number).
std::unique_ptr< DynamicInputRecord > CreateNodeIR(int i, InputFieldType nodeType, FloatArray coord)
Helper function for creating a dynamic input record for a node.