#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | FFEA_DIRECT_SOLVER 0 |
#define | FFEA_ITERATIVE_SOLVER 1 |
#define | FFEA_MASSLUMPED_SOLVER 2 |
#define | FFEA_NOMASS_CG_SOLVER 3 |
#define | FFEA_OK 0 |
#define | FFEA_ERROR -1 |
#define | FFEA_CAUTION 1 |
#define | FFEA_FILE_ERROR_MESSG(F) {FFEA_error_text(); printf("Error opening file: %s\n", F); perror(NULL); return FFEA_ERROR;} |
#define | FFEA_ERROR_MESSG(...) {FFEA_error_text(); printf(__VA_ARGS__); return FFEA_ERROR;} |
#define | FFEA_CAUTION_MESSG(...) {FFEA_caution_text(); printf(__VA_ARGS__);} |
#define | FFEA_BLOB_IS_STATIC 0 |
#define | FFEA_BLOB_IS_DYNAMIC 1 |
#define | FFEA_BLOB_IS_FROZEN 2 |
#define | FFEA_CONFORMATION_CHANGE 0 |
#define | FFEA_BINDING_EVENT 1 |
#define | FFEA_UNBINDING_EVENT 2 |
#define | FFEA_IDENTITY_EVENT 3 |
Functions | |
void | FFEA_error_text () |
void | FFEA_caution_text () |
#define FFEA_BINDING_EVENT 1 |
#define FFEA_BLOB_IS_DYNAMIC 1 |
#define FFEA_BLOB_IS_FROZEN 2 |
Referenced by World::read_and_build_system(), Blob::write_nodes_to_file(), and Blob::write_pre_print_to_file().
#define FFEA_BLOB_IS_STATIC 0 |
#define FFEA_CAUTION 1 |
#define FFEA_CAUTION_MESSG | ( | ... | ) | {FFEA_caution_text(); printf(__VA_ARGS__);} |
#define FFEA_CONFORMATION_CHANGE 0 |
#define FFEA_DIRECT_SOLVER 0 |
Referenced by Blob::init(), and World::read_and_build_system().
#define FFEA_ERROR -1 |
Referenced by Blob::aggregate_forces_and_solve(), World::apply_springs(), SimulationParams::assign(), NearestNeighbourLinkedListCube::build_nearest_neighbour_lookup(), PreComp_solver::build_pc_nearest_neighbour_lookup(), tetra_element_linear::calc_shape_function_derivatives_and_volume(), Blob::calculate_deformation(), World::change_kinetic_state(), Blob::check_inversion(), ffea_test::connection_energy(), ffea_test::connection_energy_2(), ffea_test::connection_energy_3(), ffea_test::connection_orientation_test(), ffea_test::connection_propagation(), ffea_test::connection_test(), World::die_with_dignity(), World::dmm(), World::dmm_rp(), FFEA_input_reader::extract_block(), SimulationParams::extract_params(), FFEA_input_reader::file_to_lines(), World::get_next_script_tag(), World::get_smallest_time_constants(), ffea_test::identify_face(), SparseMatrixUnknownPattern::init(), BEM_Poisson_Boltzmann::init(), SparsityPattern::init(), PreComp_solver::init(), World::init(), Blob::init(), World::lem(), Blob::load_beads(), Blob::load_binding_sites(), Blob::load_ctforces(), World::load_kinetic_maps(), World::load_kinetic_rates(), World::load_springs(), Blob::load_stokes_params(), ffea_test::lower_sphere(), main(), FFEA_input_reader::parse_map_tag(), NearestNeighbourLinkedListCube::prebuild_nearest_neighbour_lookup(), NearestNeighbourLinkedListCube::prebuild_nearest_neighbour_lookup_and_swap(), PreComp_solver::prebuild_pc_nearest_neighbour_lookup(), PreComp_solver::prebuild_pc_nearest_neighbour_lookup_and_swap(), World::read_and_build_system(), PreComp_solver::read_tabulated_values(), ffea_test::recover_normal(), Blob::reset_solver(), World::run(), Blob::update_internal_forces(), and Blob::update_positions().
#define FFEA_ERROR_MESSG | ( | ... | ) | {FFEA_error_text(); printf(__VA_ARGS__); return FFEA_ERROR;} |
Referenced by Blob::aggregate_forces_and_solve(), SimulationParams::assign(), Blob::build_mass_matrix(), NearestNeighbourLinkedListCube::build_nearest_neighbour_lookup(), Face::build_opposite_node(), PreComp_solver::build_pc_nearest_neighbour_lookup(), World::calculate_kinetic_rates(), Blob::calculate_node_element_connectivity(), Blob::create_pinned_nodes(), CG_solver::init(), BiCGSTAB_solver::init(), VdW_solver::init(), sparse_entry_sources::init(), SparseMatrixFixedPattern::init(), BEM_Poisson_Boltzmann::init(), KineticState::init(), MassLumpedSolver::init(), ConjugateGradientSolver::init(), SparseSubstitutionSolver::init(), NoMassCGSolver::init(), PreComp_solver::init(), BindingSite_matrix::init(), World::init(), Blob::init(), SSINT_matrix::init_ssint(), SSINT_matrix::init_steric(), Blob::load_beads(), Blob::load_binding_sites(), Blob::load_ctforces(), World::load_kinetic_rates(), World::load_kinetic_states(), Blob::load_material_params(), BlobLite::load_nodes(), Blob::load_nodes(), Blob::load_pinned_nodes(), World::load_springs(), Blob::load_ssint(), Blob::load_stokes_params(), Blob::load_surface(), Blob::load_surface_no_topology(), BlobLite::load_topology(), Blob::load_topology(), FFEA_input_reader::parse_tag(), NearestNeighbourLinkedListCube::prebuild_nearest_neighbour_lookup(), NearestNeighbourLinkedListCube::prebuild_nearest_neighbour_lookup_and_swap(), PreComp_solver::prebuild_pc_nearest_neighbour_lookup(), PreComp_solver::prebuild_pc_nearest_neighbour_lookup_and_swap(), World::read_and_build_system(), BlobLite::read_nodes_from_file(), Blob::read_nodes_from_file(), SparsityPattern::register_contribution(), Blob::reset_solver(), World::run(), CG_solver::solve(), BiCGSTAB_solver::solve(), ConjugateGradientSolver::solve(), NoMassCGSolver::solve(), Blob::update_internal_forces(), Blob::update_positions(), SimulationParams::validate(), and tetra_element_linear::what_node_is_this().
#define FFEA_FILE_ERROR_MESSG | ( | F | ) | {FFEA_error_text(); printf("Error opening file: %s\n", F); perror(NULL); return FFEA_ERROR;} |
Referenced by Blob::create_viewer_node_file(), PreComp_solver::init(), World::init(), SSINT_matrix::init_ssint(), Blob::load_beads(), Blob::load_material_params(), BlobLite::load_nodes(), Blob::load_nodes(), Blob::load_pinned_nodes(), World::load_springs(), Blob::load_ssint(), Blob::load_stokes_params(), Blob::load_surface(), Blob::load_surface_no_topology(), BlobLite::load_topology(), and Blob::load_topology().
#define FFEA_IDENTITY_EVENT 3 |
#define FFEA_ITERATIVE_SOLVER 1 |
Referenced by Blob::init(), and World::read_and_build_system().
#define FFEA_MASSLUMPED_SOLVER 2 |
Referenced by Blob::init(), and World::read_and_build_system().
#define FFEA_NOMASS_CG_SOLVER 3 |
Referenced by Blob::aggregate_forces_and_solve(), Blob::euler_integrate(), World::get_smallest_time_constants(), Blob::init(), Blob::make_measurements(), Blob::pre_print(), World::read_and_build_system(), Blob::update_internal_forces(), Blob::write_nodes_to_file(), and Blob::write_pre_print_to_file().
#define FFEA_OK 0 |
Referenced by Blob::aggregate_forces_and_solve(), Blob::apply_ctforces(), World::apply_springs(), SimulationParams::assign(), World::build_kinetic_identity_maps(), Blob::build_linear_node_elasticity_matrix(), Blob::build_linear_node_mass_matrix(), Blob::build_linear_node_rp_diffusion_matrix(), Blob::build_linear_node_viscosity_matrix(), Blob::build_mass_matrix(), NearestNeighbourLinkedListCube::build_nearest_neighbour_lookup(), Face::build_opposite_node(), PreComp_solver::build_pc_nearest_neighbour_lookup(), PreComp_solver::calc_force_from_pot(), tetra_element_linear::calc_shape_function_derivatives_and_volume(), Blob::calculate_deformation(), World::calculate_kinetic_rates(), Blob::calculate_node_element_connectivity(), BlobLite::center_of_coord(), World::change_kinetic_state(), Blob::check_inversion(), SimulationParams::checkFileName(), World::choose_new_kinetic_state(), PreComp_solver::compute_bead_positions(), Blob::config(), Blob::create_pinned_nodes(), Blob::create_viewer_node_file(), World::die_with_dignity(), World::dmm(), World::dmm_rp(), FFEA_input_reader::extract_block(), SimulationParams::extract_params(), FFEA_input_reader::file_to_lines(), Blob::forget_beads(), World::get_next_script_tag(), World::get_smallest_time_constants(), CG_solver::init(), BiCGSTAB_solver::init(), VdW_solver::init(), SparseMatrixUnknownPattern::init(), SparseMatrixFixedPattern::init(), sparse_entry_sources::init(), BEM_Poisson_Boltzmann::init(), KineticState::init(), ConjugateGradientSolver::init(), MassLumpedSolver::init(), SparseSubstitutionSolver::init(), SparsityPattern::init(), NoMassCGSolver::init(), PreComp_solver::init(), BindingSite_matrix::init(), World::init(), Blob::init(), Face::init(), SSINT_matrix::init_ssint(), SSINT_matrix::init_steric(), World::lem(), Blob::load_beads(), Blob::load_binding_sites(), Blob::load_ctforces(), World::load_kinetic_maps(), World::load_kinetic_rates(), World::load_kinetic_states(), Blob::load_material_params(), BlobLite::load_nodes(), Blob::load_nodes(), Blob::load_pinned_nodes(), Blob::load_ssint(), Blob::load_stokes_params(), Blob::load_surface(), Blob::load_surface_no_topology(), BlobLite::load_topology(), Blob::load_topology(), main(), FFEA_input_reader::parse_map_tag(), FFEA_input_reader::parse_tag(), NearestNeighbourLinkedListCube::prebuild_nearest_neighbour_lookup(), NearestNeighbourLinkedListCube::prebuild_nearest_neighbour_lookup_and_swap(), PreComp_solver::prebuild_pc_nearest_neighbour_lookup(), PreComp_solver::prebuild_pc_nearest_neighbour_lookup_and_swap(), World::read_and_build_system(), BlobLite::read_nodes_from_file(), Blob::read_nodes_from_file(), SparsityPattern::register_contribution(), Blob::reset_solver(), World::run(), CG_solver::solve(), VdW_solver::solve(), BiCGSTAB_solver::solve(), MassLumpedSolver::solve(), ConjugateGradientSolver::solve(), PreComp_solver::solve(), NoMassCGSolver::solve(), SparseSubstitutionSolver::solve(), Blob::solve_poisson(), VdW_solver::solve_sticky_wall(), PreComp_solver::solve_using_neighbours(), PreComp_solver::solve_using_neighbours_non_critical(), BlobLite::store_index_to_elemnode(), Blob::update_internal_forces(), Blob::update_positions(), and SimulationParams::validate().
#define FFEA_UNBINDING_EVENT 2 |
void FFEA_caution_text | ( | ) |
Prints "CAUTION: " to stderr in yellow text
void FFEA_error_text | ( | ) |
Prints "ERROR: " to stderr in red text
Referenced by SimulationParams::assign(), Blob::calculate_deformation(), Blob::check_inversion(), ffea_test::connection_energy(), ffea_test::connection_energy_2(), ffea_test::connection_energy_3(), ffea_test::connection_orientation_test(), ffea_test::connection_propagation(), ffea_test::connection_test(), World::die_with_dignity(), World::dmm(), World::dmm_rp(), FFEA_input_reader::extract_block(), SimulationParams::extract_params(), FFEA_input_reader::file_to_lines(), World::get_next_script_tag(), World::get_smallest_time_constants(), ffea_test::identify_face(), PreComp_solver::init(), World::init(), World::lem(), Blob::load_beads(), World::load_kinetic_maps(), World::load_kinetic_rates(), World::load_springs(), ffea_test::lower_sphere(), main(), FFEA_input_reader::parse_map_tag(), World::read_and_build_system(), PreComp_solver::read_tabulated_values(), ffea_test::recover_normal(), and Blob::update_internal_forces().