#include "moab/Core.hpp"
#include "moab/Interface.hpp"
#include <iostream>
#include <cmath>
#include <cassert>
#include "moab/IntxMesh/IntxUtils.hpp"
#include "IntxUtilsCSLAM.hpp"
#include <TestUtil.hpp>
Go to the source code of this file.
Functions | |
ErrorCode | add_field_value (Interface &mb) |
int | main (int argc, char **argv) |
Variables | |
double | radius = 1. |
int | field_type = 1 |
Definition at line 24 of file create_dp.cpp.
References moab::IntxAreaUtils::area_spherical_polygon(), moab::Range::begin(), moab::IntxUtils::cart_to_spherical(), moab::Range::end(), ErrorCode, field_type, moab::Core::get_connectivity(), moab::Core::get_coords(), moab::Core::get_entities_by_dimension(), moab::IntxUtils::SphereCoords::lat, moab::IntxUtils::SphereCoords::lon, mb, MB_SUCCESS, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_DOUBLE, IntxUtilsCSLAM::quasi_smooth_field(), moab::IntxUtils::SphereCoords::R, radius, moab::Range::size(), IntxUtilsCSLAM::slotted_cylinder_field(), IntxUtilsCSLAM::smooth_field(), moab::IntxUtils::spherical_to_cart(), moab::Core::tag_get_data(), moab::Core::tag_get_handle(), and moab::Core::tag_iterate().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 169 of file create_dp.cpp.
References add_field_value(), moab::Range::begin(), moab::Core::coords_iterate(), IntxUtilsCSLAM::departure_point_case1(), moab::Range::end(), ErrorCode, field_type, moab::Core::get_entities_by_dimension(), moab::Core::load_mesh(), mb, MB_SUCCESS, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_DOUBLE, output, moab::Range::size(), t, moab::Core::tag_get_handle(), moab::Core::tag_iterate(), and moab::Core::write_file().
int field_type = 1 |
Definition at line 22 of file create_dp.cpp.
Referenced by add_field_value(), main(), and set_density().
double radius = 1. |
Definition at line 21 of file create_dp.cpp.
Referenced by add_field_value().