// Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
// Project developers.  See the top-level LICENSE file for dates and other
// details.  No copyright assignment is required to contribute to VisIt.

// ************************************************************************* //
//                              avtMiliOptions.C                              //
// ************************************************************************* //

#include <avtMiliOptions.h>

#include <DBOptionsAttributes.h>

#include <string>
#include <vector>

using std::string;
using std::vector;

// ****************************************************************************
//  Function: GetMiliReadOptions
//
//  Purpose:
//      Creates the options for Mili readers.
//
//  Programmer: maguire7 -- generated by xml2avt
//  Creation:   Wed Mar 24 09:57:21 PDT 2021
//
// ****************************************************************************

DBOptionsAttributes *
GetMiliReadOptions(void)
{
    DBOptionsAttributes *rv = new DBOptionsAttributes;

    vector<string> integrationPoint;
    integrationPoint.push_back("Middle");
    integrationPoint.push_back("Inner");
    integrationPoint.push_back("Outer");

    rv->SetEnum(MiliDBOptions::MILI_READ_OPT_INTEGRATION_POINT, 0);
    rv->SetEnumStrings(MiliDBOptions::MILI_READ_OPT_INTEGRATION_POINT,
        integrationPoint);

    char helpStr[256];
    snprintf(helpStr, sizeof(helpStr),
        "<p><b>Global integration point</b>:"
        "<ul>"
        "<li>Set the integration point across all element sets.</li>"
        "</ul>");
    rv->SetHelp(helpStr);

    return rv;
}


// ****************************************************************************
//  Function: GetMiliWriteOptions
//
//  Purpose:
//      Creates the options for Mili writers.
//
//  Programmer: maguire7 -- generated by xml2avt
//  Creation:   Wed Mar 24 09:57:21 PDT 2021
//
//  Modifications:
//
// ****************************************************************************

DBOptionsAttributes *
GetMiliWriteOptions(void)
{
    DBOptionsAttributes *rv = new DBOptionsAttributes;
    return rv;
}
