Skip to content
Snippets Groups Projects
SourceTermIntegrationPointData.h 945 B
Newer Older
  • Learn to ignore specific revisions
  •  * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
    
     *            Distributed under a Modified BSD License.
     *              See accompanying file LICENSE.txt or
     *              http://www.opengeosys.org/project/license
     *
     *  \file
     */
    
    #pragma once
    
    
    #include "MathLib/LinAlg/Eigen/EigenMapTools.h"
    
    #include "NumLib/Extrapolation/ExtrapolatableElement.h"
    #include "NumLib/Function/Interpolation.h"
    #include "ProcessLib/LocalAssemblerInterface.h"
    
    namespace ProcessLib
    {
    template <typename NodalRowVectorType>
    struct SourceTermIntegrationPointData final
    {
        SourceTermIntegrationPointData(NodalRowVectorType N_,
                                       double const& integration_weight_)
            : N(std::move(N_)), integration_weight(integration_weight_)
        {
        }
    
        NodalRowVectorType const N;
        double const integration_weight;
    
        EIGEN_MAKE_ALIGNED_OPERATOR_NEW;
    };
    
    }  // namespace ProcessLib