swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: a91993aee93446d212b98d0dbfb07178db2e6249 authored by Dmitry Yu. Naumov on 10 March 2021, 12:39:33 UTC
Merge branch 'UpdateRMQuasiNewtonCtest' into 'master'
Tip revision: a91993a
IntegrationPointDataNonlocalInterface.h
/**
 * \file
 *
 * \copyright
 * 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
 */

#pragma once

namespace ProcessLib
{
namespace SmallDeformationNonlocal
{
struct IntegrationPointDataNonlocalInterface;

struct NonlocalIP final
{
    IntegrationPointDataNonlocalInterface* const ip_l_pointer;
    double alpha_kl_times_w_l;
    double distance2;  ///< Squared distance to current integration point.
};

struct IntegrationPointDataNonlocalInterface
{
    virtual ~IntegrationPointDataNonlocalInterface() = default;

    std::vector<NonlocalIP> non_local_assemblers;

    double kappa_d = 0;      ///< damage driving variable.
    double integration_weight;
    double nonlocal_internal_length;
    Eigen::Vector3d coordinates;
    bool active_self = false;
    bool activated = false;

    EIGEN_MAKE_ALIGNED_OPERATOR_NEW;
};
}  // namespace SmallDeformationNonlocal
}  // namespace ProcessLib
back to top