57 GUPI::Ancestry( a_node.name( ) ),
72 m_type( a_form.
type( ) ),
75 m_label( a_form.
label( ) ) {
95 if(
this != &a_rhs ) {
99 m_type = a_rhs.
type( );
102 m_label = a_rhs.
label( );
139 m_keyName = a_keyName;
152 return( m_keyValue );
163 if( a_keyName !=
GIDI_labelChars )
throw Exception(
"Form::setKeyValue: unsupported keyname \"" + a_keyName +
"\"." );
165 m_keyValue = m_label;
180 _form = ((*
parent( )).get<
Form>( a_label ) ); }
203 int a_index,
double a_outerDomainValue ) :
204 Form( a_moniker, a_type,
"" ),
205 m_dimension( a_dimension ),
206 m_interpolation( a_interpolation ),
208 m_outerDomainValue( a_outerDomainValue ) {
224 int a_index,
double a_outerDomainValue ) :
226 m_dimension( a_dimension ),
228 m_interpolation( a_interpolation ),
230 m_outerDomainValue( a_outerDomainValue ) {
235 m_axes.setAncestor(
this );
249 Form( a_node, a_setupInfo, a_type, a_suite ),
250 m_dimension( a_dimension ),
254 m_outerDomainValue( 0.0 ) {
271 m_axes( a_form.
axes( ) ),
274 m_index( a_form.
index( ) ),
295 if(
this != &a_rhs ) {
299 m_axes = a_rhs.
axes( );
302 m_index = a_rhs.
index( );
318 m_interpolation = a_interpolation;
333 std::cout <<
"Node '" <<
moniker( ) <<
"' needs toXMLList methods." << std::endl;
349 FunctionForm( a_moniker, a_type, 1, a_interpolation, a_index, a_outerDomainValue ) {
363 int a_index,
double a_outerDomainValue ) :
364 FunctionForm( a_moniker, a_type, 1, a_axes, a_interpolation, a_index, a_outerDomainValue ) {
378 FunctionForm( a_construction, a_node, a_setupInfo, a_type, 1, a_suite ) {
407 if(
this != &a_rhs ) {
426 throw Exception(
"Function1dForm::mapToXsAndAdd: function " +
moniker( ) +
" not implemented." );
454 fprintf( a_file,
"# Write method not implemented for %s.\n",
moniker( ).c_str( ) );
465 write( stdout, a_format.c_str( ) );
477 FunctionForm( a_moniker, a_type, 2, a_interpolation, a_index, a_outerDomainValue ) {
491 int a_index,
double a_outerDomainValue ) :
492 FunctionForm( a_moniker, a_type, 2, a_axes, a_interpolation, a_index, a_outerDomainValue ) {
506 FunctionForm( a_construction, a_node, a_setupInfo, a_type, 2, a_suite ) {
535 FunctionForm( a_construction, a_node, a_setupInfo, a_type, 3, a_suite ) {
549 int a_index,
double a_outerDomainValue ) :
550 FunctionForm( a_moniker, a_type, 3, a_axes, a_interpolation, a_index, a_outerDomainValue ) {
#define GIDI_outerDomainValueChars
#define GIDI_interpolationChars
void setMoniker(std::string const &a_moniker)
Ancestry & operator=(Ancestry const &a_ancestry)
std::string const & moniker() const
Ancestry(std::string const &a_moniker, std::string const &a_attribute="")
std::string attribute() const
double attribute_as_double(const char *a_name) const
std::string attribute_as_string(const char *a_name) const
int attribute_as_int(const char *a_name) const
char const * ptwXY_interpolationToString(ptwXY_interpolation interpolation)
enum ptwXY_interpolation_e ptwXY_interpolation
@ ptwXY_interpolationLinLin
@ ptwXY_interpolationOther
ptwXY_interpolation ptwXY_stringToInterpolation(char const *interpolationString)