FromVertexMatching.hxx 1.3 KB
Newer Older
1
//! \file
2
//
3
4
5
6
7
8
9
10
//
//  FromVertexMatching.hxx
//  HappyHeart
//
//  Created by Sebastien Gilles on 14/12/15.
//  Copyright © 2015 Inria. All rights reserved.
//

11
12
#ifndef HAPPY_HEART_x_OPERATOR_INSTANCES_x_NON_CONFORM_INTERPOLATOR_x_FROM_VERTEX_MATCHING_HXX_
# define HAPPY_HEART_x_OPERATOR_INSTANCES_x_NON_CONFORM_INTERPOLATOR_x_FROM_VERTEX_MATCHING_HXX_
13
14
15
16
17
18
19
20


namespace HappyHeart
{


    namespace NonConformInterpolatorNS
    {
21
22


23
24
        template<class InputParameterDataT>
        FromVertexMatching::FromVertexMatching(const InputParameterDataT& input_parameter_data,
25
26
                                               const unsigned int source_index,
                                               const unsigned int target_index)
27
        {
28
            MeshNS::InterpolationNS::VertexMatching vertex_matching( input_parameter_data);
29

30
            Construct(vertex_matching,
31
32
                      source_index,
                      target_index);
33
34
        }

35

36
37
38
39
40
        inline const GlobalMatrix& FromVertexMatching::GetInterpolationMatrix() const noexcept
        {
            assert(!(!interpolation_matrix_));
            return *interpolation_matrix_;
        }
41
42


43
44
45
46
47
48
    } // namespace NonConformInterpolatorNS


} // namespace HappyHeart


49
#endif // HAPPY_HEART_x_OPERATOR_INSTANCES_x_NON_CONFORM_INTERPOLATOR_x_FROM_VERTEX_MATCHING_HXX_