https://github.com/penn-graphics-research/ziran2019
Raw File
Tip revision: 8d3d27cd17bbceab18c317820dbe595178f6312a authored by fangy14 on 06 November 2019, 07:20:57 UTC
open source
Tip revision: 8d3d27c
AdmmInit2D.h
#ifndef ADMM_INIT_2D_H
#define ADMM_INIT_2D_H

#include <Ziran/CS/Util/RandomNumber.h>
#include <Ziran/Math/MathTools.h>

#include <Ziran/Sim/MeshHandle.h>
#include <Ziran/Sim/SceneInitializationCore.h>

#include "AdmmSimulation.h"
#include "AdmmInit.h"
#include <float.h>

namespace ZIRAN {

template <class T>
class AdmmInit2D : public AdmmInitBase<T, 2> {
public:
    static const int dim = 2;
    using Base = AdmmInitBase<T, dim>;
    using TV = Vector<T, dim>;
    using TVI = Vector<int, dim>;

    using Base::init_helper;
    using Base::scene;
    using Base::sim;
    using Base::test_number;
    AdmmInit2D(AdmmSimulation<T, dim>& sim, const int test_number)
        : Base(sim, test_number)
    {
    }

    void reload() override
    {
    }
};
} // namespace ZIRAN
#endif
back to top