30 std::map<std::string, std::shared_ptr<std::vector<double>>> &args,
31 const std::vector<libMesh::Point> &Coordinates )
override
33 AMP_ASSERT( ( Coordinates.size() == result.size() ) );
34 auto it = args.find(
"temperature" );
36 const auto &T = *( it->second );
38 for (
unsigned int qp = 0; qp < Coordinates.size(); qp++ ) {
39 double x = Coordinates[qp]( 0 );
40 double y = Coordinates[qp]( 1 );
41 double z = Coordinates[qp]( 2 );
42 double r = std::sqrt( x * x + y * y + z * z );
43 double temp = exp( -r * T[qp] );