Go to the source code of this file.
|
template<typename P , typename C > |
void | coordTransformFactor (const SubProblem &s, const SubdomainID sub_id, const P &point, C &factor, const SubdomainID neighbor_sub_id) |
| Computes a conversion multiplier for use when computing integraals for the current coordinate system type. More...
|
|
template<typename P , typename C > |
void | coordTransformFactor (const MooseMesh &mesh, const SubdomainID sub_id, const P &point, C &factor, const SubdomainID libmesh_dbg_var(neighbor_sub_id)) |
|
template void | coordTransformFactor< Point, Real > (const SubProblem &s, SubdomainID sub_id, const Point &point, Real &factor, SubdomainID neighbor_sub_id) |
|
template void | coordTransformFactor< ADPoint, ADReal > (const SubProblem &s, SubdomainID sub_id, const ADPoint &point, ADReal &factor, SubdomainID neighbor_sub_id) |
|
template void | coordTransformFactor< Point, Real > (const MooseMesh &mesh, SubdomainID sub_id, const Point &point, Real &factor, SubdomainID neighbor_sub_id) |
|
template void | coordTransformFactor< ADPoint, ADReal > (const MooseMesh &mesh, SubdomainID sub_id, const ADPoint &point, ADReal &factor, SubdomainID neighbor_sub_id) |
|
◆ coordTransformFactor() [1/2]
template<typename P , typename C >
Computes a conversion multiplier for use when computing integraals for the current coordinate system type.
This allows us to handle cases where we use RZ, spherical, or other non-cartesian coordinate systems. The factor returned by this function should generally be multiplied against all integration terms. Note that the computed factor is particular to a specific point on the mesh. The result is stored in the factor argument. point is the point at which to compute the factor. point and factor can be either Point and Real or ADPoint and ADReal.
Definition at line 39 of file Assembly.C.
Referenced by MooseMesh::computeFiniteVolumeCoords(), Assembly::elementVolume(), and Assembly::setCoordinateTransformation().
virtual MooseMesh & mesh()=0
void coordTransformFactor(const SubProblem &s, const SubdomainID sub_id, const P &point, C &factor, const SubdomainID neighbor_sub_id)
Computes a conversion multiplier for use when computing integraals for the current coordinate system ...
◆ coordTransformFactor() [2/2]
template<typename P , typename C >
Definition at line 50 of file Assembly.C.
57 ?
mesh.getCoordSystem(sub_id) ==
mesh.getCoordSystem(neighbor_sub_id)
59 "Coordinate systems must be the same between element and neighbor");
60 const auto coord_type =
mesh.getCoordSystem(sub_id);
64 if (
mesh.usingGeneralAxisymmetricCoordAxes())
66 const auto & axis =
mesh.getGeneralAxisymmetricCoordAxis(sub_id);
71 point, factor, coord_type,
mesh.getAxisymmetricRadialCoord());
const unsigned int invalid_uint
void coordTransformFactor(const P &point, C &factor, const Moose::CoordinateSystemType coord_type, const unsigned int rz_radial_coord=libMesh::invalid_uint)
compute a coordinate transformation factor
void coordTransformFactorRZGeneral(const P &point, const std::pair< Point, RealVectorValue > &axis, C &factor)
Computes a coordinate transformation factor for a general axisymmetric axis.
static const subdomain_id_type invalid_subdomain_id
◆ coordTransformFactor< ADPoint, ADReal >() [1/2]
◆ coordTransformFactor< ADPoint, ADReal >() [2/2]
◆ coordTransformFactor< Point, Real >() [1/2]
◆ coordTransformFactor< Point, Real >() [2/2]