ASPECT
Classes | Namespaces | Functions
utilities.h File Reference
Include dependency graph for utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  aspect::SimulatorAccess< dim >
 
class  aspect::GeometryModel::Interface< dim >
 
struct  aspect::Utilities::ThousandSep
 
class  aspect::Utilities::tk::spline
 
class  aspect::Utilities::AsciiDataLookup< dim >
 
class  aspect::Utilities::AsciiDataBase< dim >
 
class  aspect::Utilities::AsciiDataBoundary< dim >
 
class  aspect::Utilities::AsciiDataInitial< dim >
 
class  aspect::Utilities::AsciiDataProfile< dim >
 
class  aspect::Utilities::Operator
 
class  aspect::Utilities::NaturalCoordinate< dim >
 

Namespaces

 aspect
 
 aspect::GeometryModel
 
 aspect::Utilities
 
 aspect::Utilities::Coordinates
 
 aspect::Utilities::tk
 

Functions

template<typename T >
std::vector< Taspect::Utilities::possibly_extend_from_1_to_N (const std::vector< T > &values, const unsigned int N, const std::string &id_text)
 
std::vector< double > aspect::Utilities::parse_map_to_double_array (const std::string &key_value_map, const std::vector< std::string > &list_of_keys, const bool has_background_field, const std::string &property_name)
 
template<typename T >
Table< 2, Taspect::Utilities::parse_input_table (const std::string &input_string, const unsigned int n_rows, const unsigned int n_columns, const std::string &property_name)
 
template<int dim>
std::vector< std::string > aspect::Utilities::expand_dimensional_variable_names (const std::vector< std::string > &var_declarations)
 
void aspect::Utilities::split_by_block (const std::vector< types::global_dof_index > &dofs_per_block, const IndexSet &whole_set, std::vector< IndexSet > &partitioned)
 
template<int dim>
IndexSet aspect::Utilities::extract_locally_active_dofs_with_component (const DoFHandler< dim > &dof_handler, const ComponentMask &component_mask)
 
template<int dim>
std::array< double, dim > aspect::Utilities::Coordinates::WGS84_coordinates (const Point< dim > &position)
 
template<int dim>
std::array< double, dim > aspect::Utilities::Coordinates::cartesian_to_spherical_coordinates (const Point< dim > &position)
 
template<int dim>
Point< dim > aspect::Utilities::Coordinates::spherical_to_cartesian_coordinates (const std::array< double, dim > &scoord)
 
template<int dim>
Tensor< 1, dim > aspect::Utilities::Coordinates::spherical_to_cartesian_vector (const Tensor< 1, dim > &spherical_vector, const Point< dim > &position)
 
template<int dim>
std::array< double, 3 > aspect::Utilities::Coordinates::cartesian_to_ellipsoidal_coordinates (const Point< 3 > &position, const double semi_major_axis_a, const double eccentricity)
 
template<int dim>
Point< 3 > aspect::Utilities::Coordinates::ellipsoidal_to_cartesian_coordinates (const std::array< double, 3 > &phi_theta_d, const double semi_major_axis_a, const double eccentricity)
 
CoordinateSystem aspect::Utilities::Coordinates::string_to_coordinate_system (const std::string &)
 
template<int dim>
bool aspect::Utilities::polygon_contains_point (const std::vector< Point< 2 > > &point_list, const ::Point< 2 > &point)
 
template<int dim>
double aspect::Utilities::signed_distance_to_polygon (const std::vector< Point< 2 > > &point_list, const ::Point< 2 > &point)
 
double aspect::Utilities::distance_to_line (const std::array<::Point< 2 >, 2 > &point_list, const ::Point< 2 > &point)
 
template<int dim>
std::array< Tensor< 1, dim >, dim-1 > aspect::Utilities::orthogonal_vectors (const Tensor< 1, dim > &v)
 
std::pair< double, double > aspect::Utilities::real_spherical_harmonic (unsigned int l, unsigned int m, double theta, double phi)
 
bool aspect::Utilities::fexists (const std::string &filename)
 
std::string aspect::Utilities::read_and_distribute_file_content (const std::string &filename, const MPI_Comm &comm)
 
int aspect::Utilities::mkdirp (std::string pathname, const mode_t mode=0755)
 
void aspect::Utilities::create_directory (const std::string &pathname, const MPI_Comm &comm, bool silent)
 
void aspect::Utilities::extract_composition_values_at_q_point (const std::vector< std::vector< double > > &composition_values, const unsigned int q, std::vector< double > &composition_values_at_q_point)
 
std::string aspect::Utilities::expand_ASPECT_SOURCE_DIR (const std::string &location)
 
std::string aspect::Utilities::parenthesize_if_nonempty (const std::string &s)
 
bool aspect::Utilities::has_unique_entries (const std::vector< std::string > &strings)
 
double aspect::Utilities::weighted_p_norm_average (const std::vector< double > &weights, const std::vector< double > &values, const double p)
 
template<typename T >
T aspect::Utilities::derivative_of_weighted_p_norm_average (const double averaged_parameter, const std::vector< double > &weights, const std::vector< double > &values, const std::vector< T > &derivatives, const double p)
 
template<int dim>
double aspect::Utilities::compute_spd_factor (const double eta, const SymmetricTensor< 2, dim > &strain_rate, const SymmetricTensor< 2, dim > &dviscosities_dstrain_rate, const double SPD_safety_factor)
 
template<int dim>
Point< dim > aspect::Utilities::convert_array_to_point (const std::array< double, dim > &array)
 
template<int dim>
std::array< double, dim > aspect::Utilities::convert_point_to_array (const Point< dim > &point)
 
std::vector< Operator > aspect::Utilities::create_model_operator_list (const std::vector< std::string > &operator_names)
 
template<int dim>
SymmetricTensor< 2, dim > aspect::Utilities::nth_basis_for_symmetric_tensors (const unsigned int k)