Revision a76943b4cb8836eec2122d136a69e4ee1b030fec authored by Tom Fischer on 07 July 2021, 07:30:50 UTC, committed by Tom Fischer on 07 July 2021, 07:30:50 UTC
[PL] Use int type for GlobalDim template argument. See merge request ogs/ogs!3692
TESLocalAssemblerData.cpp
/**
* \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
*/
#include "TESLocalAssemblerData.h"
#include "TESReactionAdaptor.h"
namespace ProcessLib
{
namespace TES
{
TESLocalAssemblerData::TESLocalAssemblerData(AssemblyParams const& ap_,
const unsigned num_int_pts,
const unsigned dimension)
: ap(ap_),
solid_density(num_int_pts, ap_.initial_solid_density),
reaction_rate(num_int_pts),
velocity(dimension, std::vector<double>(num_int_pts)),
reaction_adaptor(TESFEMReactionAdaptor::newInstance(*this)),
solid_density_prev_ts(num_int_pts, ap_.initial_solid_density),
reaction_rate_prev_ts(num_int_pts)
{
}
TESLocalAssemblerData::~TESLocalAssemblerData() = default;
} // namespace TES
} // namespace ProcessLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...