v0.16.3
Loading...
Searching...
No Matches
AgingTagTransfer.hpp
Go to the documentation of this file.
1/** \file AgingTagTransfer.hpp
2 * \brief Reusable transfer of ageing environmental snapshot tags.
3 */
4#ifndef AGING_TAG_TRANSFER_HPP
5#define AGING_TAG_TRANSFER_HPP
6
7#include <MoFEM.hpp>
8
9namespace MoFEM {
10
11/** Transfer nodal irradiation, temperature and weight-loss histories. */
13public:
14 explicit AgingTagTransfer(Interface &m_field) : mField(m_field) {}
15
16 /** Interpolate every MED environmental snapshot onto target corner nodes.
17 *
18 * Collective on the MoFEM communicator. All ranks supply the same source
19 * filename and their local target volume entities. The source is loaded on
20 * each rank and removed after transfer, including on failure. Target nodes
21 * outside the source volume are errors; existing target meshsets are
22 * retained, together with the target Core's build state, so transfer may run
23 * after fields and DMs have been built. This transfers nodal environmental
24 * data, not integration-point UMAT state.
25 */
26 MoFEMErrorCode transfer(const std::string &source_file,
27 const Range &target_elements);
28
29private:
31};
32
33} // namespace MoFEM
34
35#endif // AGING_TAG_TRANSFER_HPP
MoFEMErrorCode transfer(const std::string &source_file, const Range &target_elements)
AgingTagTransfer(Interface &m_field)
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
Definition Common.hpp:10
Deprecated interface functions.