DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DOFFactory.hpp File Reference

Free-function DOF array builders extracted from FiniteVolume. More...

#include "VRDefines.hpp"
#include "Geom/Mesh.hpp"
Include dependency graph for DOFFactory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DNDS
 the host side operators are provided as implemented
 
namespace  DNDS::CFV
 

Functions

template<int nVarsFixed = 1>
void DNDS::CFV::BuildUDofOnMesh (tUDof< nVarsFixed > &u, const std::string &name, const MPIInfo &mpi, const ssp< Geom::UnstructuredMesh > &mesh, int nVars, bool buildSon=true, bool buildTrans=true, Geom::MeshLoc varloc=Geom::MeshLoc::Cell)
 Build a DOF array pair matching a mesh location (cell/face/node).
 
template<int nVarsFixed, int dim>
void DNDS::CFV::BuildUGradDOnMesh (tUGrad< nVarsFixed, dim > &u, const std::string &name, const MPIInfo &mpi, const ssp< Geom::UnstructuredMesh > &mesh, int nVars, bool buildSon=true, bool buildTrans=true, Geom::MeshLoc varloc=Geom::MeshLoc::Cell)
 Build a gradient DOF array pair matching a mesh location.
 

Detailed Description

Free-function DOF array builders extracted from FiniteVolume.

These build cell/face/node DOF arrays with ghost communication setup. FiniteVolume::BuildUDof and BuildUGradD delegate to these.

Definition in file DOFFactory.hpp.