21namespace SteadyStateDiffusion
29 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&&
31 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const&
33 unsigned const integration_order,
34 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
38 std::unique_ptr<ProcessLib::SurfaceFluxData>&& surfaceflux);
43 bool isLinear()
const override {
return true; }
46 Eigen::Vector3d
getFlux(std::size_t element_id,
49 std::vector<GlobalVector*>
const& x)
const override
52 std::vector<GlobalIndexType> indices_cache;
55 constexpr int process_id = 0;
56 std::vector<double> local_x(x[process_id]->get(r_c_indices.rows));
62 std::vector<GlobalVector*>
const& x,
63 std::vector<GlobalVector*>
const& ,
66 int const process_id)
override
72 "The condition of process_id = 0 must be satisfied for "
73 "SteadyStateDiffusion, which is a single process.");
88 unsigned const integration_order)
override;
91 std::vector<GlobalVector*>
const& x,
92 std::vector<GlobalVector*>
const& x_prev,
97 const double t,
double const dt, std::vector<GlobalVector*>
const& x,
98 std::vector<GlobalVector*>
const& x_prev,
int const process_id,
103 std::vector<std::unique_ptr<SteadyStateDiffusionLocalAssemblerInterface>>
Global vector based on Eigen vector.
std::vector< std::size_t > const & getActiveElementIDs() const
unsigned const _integration_order
std::unique_ptr< NumLib::LocalToGlobalIndexMap > _local_to_global_index_map
Handles configuration of several secondary variables from the project file.
std::unique_ptr< ProcessLib::SurfaceFluxData > _surfaceflux
void initializeConcreteProcess(NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh, unsigned const integration_order) override
Process specific initialization called by initialize().
bool isLinear() const override
std::vector< std::unique_ptr< SteadyStateDiffusionLocalAssemblerInterface > > _local_assemblers
void postTimestepConcreteProcess(std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &, const double t, const double, int const process_id) override
SteadyStateDiffusionData _process_data
void assembleWithJacobianConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalVector &b, GlobalMatrix &Jac) override
void assembleConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalMatrix &M, GlobalMatrix &K, GlobalVector &b) override
Eigen::Vector3d getFlux(std::size_t element_id, MathLib::Point3d const &p, double const t, std::vector< GlobalVector * > const &x) const override
NumLib::LocalToGlobalIndexMap::RowColumnIndices getRowColumnIndices(std::size_t const id, NumLib::LocalToGlobalIndexMap const &dof_table, std::vector< GlobalIndexType > &indices)