Revision 086c190c27274f74c7f9ea204a3366758700ba56 authored by Lars Bilke on 07 October 2021, 09:17:23 UTC, committed by Lars Bilke on 07 October 2021, 09:58:34 UTC
See https://gitlab.opengeosys.org/ogs/xdmflib/-/commit/2e2439f4c867e872bc3e646b01f6e081667c4b02.
1 parent 7d226dc
VolumetricSourceTerm.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
#include <memory>
#include <vector>
#include "SourceTerm.h"
#include "VolumetricSourceTermFEM.h"
namespace ProcessLib
{
class VolumetricSourceTerm final : public SourceTerm
{
public:
VolumetricSourceTerm(
unsigned const bulk_mesh_dimension,
MeshLib::Mesh const& source_term_mesh,
std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table,
unsigned const integration_order, unsigned const shapefunction_order,
ParameterLib::Parameter<double> const& source_term_parameter);
void integrate(const double t, GlobalVector const& x, GlobalVector& b,
GlobalMatrix* jac) const override;
private:
ParameterLib::Parameter<double> const& _source_term_parameter;
std::vector<std::unique_ptr<VolumetricSourceTermLocalAssemblerInterface>>
_local_assemblers;
};
} // namespace ProcessLib
Computing file changes ...