https://mooseframework.inl.gov
THMUtils.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #include "MooseTypes.h"
11 
12 #include "libmesh/parallel.h"
13 
14 namespace THM
15 {
16 
26 void computeOrthogonalDirections(const RealVectorValue & n_unnormalized,
27  RealVectorValue & t1,
28  RealVectorValue & t2);
29 
36 void allGatherADVectorMap(const Parallel::Communicator & comm,
37  std::map<dof_id_type, std::vector<ADReal>> & this_map);
38 
49 void allGatherADVectorMapSum(const Parallel::Communicator & comm,
50  std::map<dof_id_type, std::vector<ADReal>> & this_map);
51 }
void allGatherADVectorMap(const Parallel::Communicator &comm, std::map< dof_id_type, std::vector< ADReal >> &this_map)
Parallel gather of a map of DoF ID to AD vector.
Definition: THMUtils.C:47
void computeOrthogonalDirections(const RealVectorValue &n_unnormalized, RealVectorValue &t1, RealVectorValue &t2)
Computes two unit vectors orthogonal to the given vector.
Definition: THMUtils.C:22
void allGatherADVectorMapSum(const Parallel::Communicator &comm, std::map< dof_id_type, std::vector< ADReal >> &this_map)
Parallel gather of a map of DoF ID to AD vector.
Definition: THMUtils.C:58
uint8_t dof_id_type