7#include <Kokkos_Core.hpp>
21template<
typename ValueType>
31template<
typename ValueType>
39 : Base(mesh, dict, patchID), mesh_(mesh)
71 static std::string
name() {
return "processor"; }
73 static std::string
doc()
75 return "Set processor boundary values from the corresponding processor-neighbour data.";
78 static std::string
schema() {
return "none"; }
80 virtual std::unique_ptr<SurfaceBoundaryFactory<ValueType>>
clone()
const override
82 return std::make_unique<Processor>(*
this);
A class representing a dictionary that stores key-value pairs.
Represents the domain fields for a computational domain.
Represents an unstructured mesh in NeoN.
virtual void set(Field< ValueType > &domainVector) final
static std::string schema()
virtual void update(Field< ValueType > &domainVector) final
static std::string name()
virtual std::unique_ptr< SurfaceBoundaryFactory< ValueType > > clone() const override
virtual void correctBoundaryCondition(Field< ValueType > &domainVector) final
Processor(const UnstructuredMesh &mesh, const Dictionary &dict, localIdx patchID)
A template class for registering derived classes with a base class.
void setProcBoundaryCoefficients(Field< ValueType > &domainVector, std::pair< localIdx, localIdx > range)
template void setProcBoundaryCoefficients< Vec3 >(Field< Vec3 > &, std::pair< localIdx, localIdx >)
template void setProcBoundaryCoefficients< scalar >(Field< scalar > &, std::pair< localIdx, localIdx >)