testFMpiFmaDivider.cpp 708 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
// @FUSE_MPI

#include <iostream>
#include <string>

#include "Files/FMpiFmaDivider.hpp"

#include "testFMpiFmaDividerArgs.hpp"

using FReal = double;

int main(int argc, char** argv)
{

    testFMpiFmaDividerArgs args(argc, argv);


    FMpiFmaDivider<FReal>
        divider(args.inFileName(),
                args.outFileName() + "_" + args.dispatchPolicyString()
                                   + "_" + std::to_string(args.zoneCount())
                                   + "z_h" + std::to_string(args.treeHeight()),
                args.outFileExt(),
                args.zoneCount(),
                args.treeHeight(),
                FMpiFmaDivider<FReal>::DispatchPolicy(args.dispatchPolicy()));

}