/dports/science/antioch/antioch-0.4.0-156-g90ffa43/test/ |
H A D | nasa_evaluator_unit.C | 67 << "\nspecies = " << species_name in test_cp() 97 << "\nspecies = " << species_name in test_dcp_dT() 127 << "\nspecies = " << species_name in test_h() 157 << "\nspecies = " << species_name in test_s() 188 << "\nspecies = " << species_name in test_g() 832 return_flag_temp = test_h( species_name, index, h_1, T1, thermo ); in tester() 835 return_flag_temp = test_h( species_name, index, h_2, T2, thermo ); in tester() 838 return_flag_temp = test_h( species_name, index, h_3, T3, thermo ); in tester() 841 return_flag_temp = test_s( species_name, index, s_1, T1, thermo ); in tester() 844 return_flag_temp = test_s( species_name, index, s_2, T2, thermo ); in tester() [all …]
|
H A D | cea_evaluator_vec_unit.C | 72 int test_cp( const std::string& species_name, unsigned int species, in test_cp() argument 105 << "\nspecies = " << species_name in test_cp() 190 const std::string species_name = chem_mixture.species_inverse_name_map().find(species)->second; in vectester() local 193 return_flag_temp = test_cp( species_name, index, cp_N2, T, thermo, testname ); in vectester() 214 const std::string species_name = chem_mixture.species_inverse_name_map().find(species)->second; in vectester() local 217 return_flag_temp = test_cp( species_name, index, cp_O2, T, thermo, testname ); in vectester() 238 const std::string species_name = chem_mixture.species_inverse_name_map().find(species)->second; in vectester() local 241 return_flag_temp = test_cp( species_name, index, cp_N, T, thermo, testname ); in vectester() 263 const std::string species_name = chem_mixture.species_inverse_name_map().find(species)->second; in vectester() local 266 return_flag_temp = test_cp( species_name, index, cp_O, T, thermo, testname ); in vectester() [all …]
|
H A D | chem_mixture_unit.C | 48 const std::string& species_name, in test_species() argument 58 if( chem_species.species() != species_name ) in test_species() 60 std::cerr << "Error: Name mismatch for "<< species_name << std::endl in test_species() 67 std::cerr << "Error: Molar mass mismatch for "<< species_name << std::endl in test_species() 74 std::cerr << "Error: Gas constant mismatch for "<< species_name << std::endl in test_species() 81 std::cerr << "Error: Formation enthalpy mismatch for "<< species_name << std::endl in test_species() 88 std::cerr << "Error: Number translational DoFs mismatch for "<< species_name << std::endl in test_species() 95 std::cerr << "Error: Charge mismatch for "<< species_name << std::endl in test_species()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/species_defs/ |
H A D | species_defs.cpp | 154 char species_name[NAME_LENGTH]; in parse_species_tbl() local 186 stuff_string(species_name, F_NAME, NAME_LENGTH); in parse_species_tbl() 192 int i = species_info_lookup(species_name); in parse_species_tbl() 198 strcpy_s(species->species_name, species_name); in parse_species_tbl() 241 if (!stricmp(species->species_name, "Terran")) in parse_species_tbl() 253 else if (!stricmp(species->species_name, "Shivan")) in parse_species_tbl() 259 …else if (!stricmp(species->species_name, "Ancients") || !stricmp(species->species_name, "Ancient")) in parse_species_tbl() 315 if (!stricmp(species->species_name, "Vasudan")) in parse_species_tbl() 317 else if (!stricmp(species->species_name, "Shivan")) in parse_species_tbl() 379 int species_info_lookup(const char *species_name) in species_info_lookup() argument [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/species_defs/ |
H A D | species_defs.cpp | 157 char species_name[NAME_LENGTH]; in parse_species_tbl() local 197 stuff_string(species_name, F_NAME, NAME_LENGTH); in parse_species_tbl() 205 if (!stricmp(Species_info[i].species_name, species_name)) in parse_species_tbl() 214 strcpy_s(species->species_name, species_name); in parse_species_tbl() 257 if (!stricmp(species->species_name, "Terran")) in parse_species_tbl() 263 else if (!stricmp(species->species_name, "Vasudan")) in parse_species_tbl() 269 else if (!stricmp(species->species_name, "Shivan")) in parse_species_tbl() 275 …else if (!stricmp(species->species_name, "Ancients") || !stricmp(species->species_name, "Ancient")) in parse_species_tbl() 331 if (!stricmp(species->species_name, "Vasudan")) in parse_species_tbl() 333 else if (!stricmp(species->species_name, "Shivan")) in parse_species_tbl() [all …]
|
/dports/games/freeorion/freeorion-0.4.10.2/universe/ |
H A D | PopCenter.cpp | 19 PopCenter::PopCenter(const std::string& species_name) : in PopCenter() argument 20 m_species_name(species_name) in PopCenter() 96 void PopCenter::SetSpecies(const std::string& species_name) { in SetSpecies() argument 97 if (!species_name.empty() && !GetSpecies(species_name)) in SetSpecies() 98 ErrorLogger() << "PopCenter::SetSpecies couldn't get species with name " << species_name; in SetSpecies() 99 m_species_name = species_name; in SetSpecies()
|
H A D | Planet.cpp | 240 if (species_name.empty()) { in EnvironmentForSpecies() 246 species = GetSpecies(species_name); in EnvironmentForSpecies() 257 if (species_name.empty()) { in NextBetterPlanetTypeForSpecies() 263 species = GetSpecies(species_name); in NextBetterPlanetTypeForSpecies() 691 void Planet::SetSpecies(const std::string& species_name) { in SetSpecies() argument 692 if (SpeciesName().empty() && !species_name.empty()) in SetSpecies() 694 PopCenter::SetSpecies(species_name); in SetSpecies() 703 species = GetSpecies(species_name); in Colonize() 705 ErrorLogger() << "Planet::Colonize couldn't get species: " << species_name; in Colonize() 709 if (EnvironmentForSpecies(species_name) < PE_HOSTILE) { in Colonize() [all …]
|
H A D | Planet.h | 45 PlanetEnvironment EnvironmentForSpecies(const std::string& species_name = "") const; 46 PlanetType NextBetterPlanetTypeForSpecies(const std::string& species_name = "") const; 88 void SetSpecies(const std::string& species_name) override; 101 bool Colonize(int empire_id, const std::string& species_name,
|
/dports/science/qbox/qbox-public-rel1_73_3/util/ |
H A D | qso.py | 39 def find_species(self,species_name): argument 42 found |= (self.species_list[sp].name == species_name) 78 self.species_name = "species_name" 80 self.species_name = attributes["name"] 81 self.species_href = self.species_name+"_href" 84 self.species_symbol = self.species_name+"_symbol" 85 self.species_atomic_number = self.species_name+"_atomic_number" 86 self.species_mass = self.species_name+"_mass" 91 sp = Species(self.species_name,self.species_href,self.species_symbol, 140 sp = Species(self.species_name,self.species_href,self.species_symbol,
|
/dports/science/py-DendroPy/DendroPy-4.4.0/src/dendropy/simulate/ |
H A D | popgensim.py | 68 species_name, argument 73 self.generate_pop_tree(species_name=species_name, samples_per_pop=samples_per_pop) 74 self.generate_gene_tree(species_name=species_name, samples_per_pop=samples_per_pop) 100 def generate_pop_tree(self, species_name, samples_per_pop=10): argument 101 tree_data = { 'sp': species_name, 'divt': self.div_time_gens } 110 def generate_gene_tree(self, species_name, samples_per_pop=10): argument 119 self.generate_pop_tree(species_name, samples_per_pop=10)
|
/dports/science/antioch/antioch-0.4.0-156-g90ffa43/src/thermo/include/antioch/ |
H A D | nasa_mixture.h | 63 void add_curve_fit( const std::string& species_name, const std::vector<CoeffType>& coeffs ); 66 …void add_curve_fit( const std::string& species_name, const std::vector<CoeffType>& coeffs, const s… 129 void NASAThermoMixture<CoeffType,NASAFit>::add_curve_fit( const std::string& species_name, in add_curve_fit() argument 132 antioch_assert( _chem_mixture.species_name_map().find(species_name) != in add_curve_fit() 135 unsigned int s = _chem_mixture.species_name_map().find(species_name)->second; in add_curve_fit() 150 void NASAThermoMixture<CoeffType,NASAFit>::add_curve_fit( const std::string& species_name, in add_curve_fit() argument 153 antioch_assert( _chem_mixture.species_name_map().find(species_name) != in add_curve_fit() 156 unsigned int s = _chem_mixture.species_name_map().find(species_name)->second; in add_curve_fit()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scripting/api/objs/ |
H A D | species.cpp | 29 auto len = sizeof(Species_info[idx].species_name); 30 strncpy(Species_info[idx].species_name, s, len); 31 Species_info[idx].species_name[len - 1] = 0; 34 return ade_set_args(L, "s", Species_info[idx].species_name);
|
/dports/games/freeorion/freeorion-0.4.10.2/default/python/AI/ |
H A D | turn_state.py | 162 if x.owner == empire_id and (x.species_name or include_outposts)) 181 …rn frozenset(x.pid for x in self.__planet_info.values() if x.owner == empire_id and x.species_name) 185 …rn tuple(x.pid for x in self.__planet_info.values() if x.owner == empire_id and not x.species_name) 191 def get_empire_planets_with_species(self, species_name): argument 199 if not species_name: 201 return tuple(self.get_empire_planets_by_species().get(species_name, [])) 211 … for x in (x for x in self.__planet_info.values() if x.owner == empire_id and x.species_name): 212 result.setdefault(x.species_name, []).append(x.pid) 220 …return {x.pid for x in self.__planet_info.values() if x.owner == INVALID_ID and not x.species_name}
|
H A D | EspionageAI.py | 53 def colony_detectable_by_empire(planet_id, species_name=None, empire=ALL_EMPIRES, future_stealth_bo… argument 87 if species_name is None: 88 species_name = planet.speciesName 105 get_species_tag_grade(species_name, Tags.STEALTH), 0)
|
/dports/science/kim-api/kim-api-2.2.1/fortran/include/ |
H A D | kim_species_name_module.f90 | 1510 integer(c_int) recursive function known(species_name) & 1518 type(kim_species_name_type), intent(in) :: species_name local 1520 kim_species_name_known = (known(species_name) /= 0) 1568 type(kim_species_name_type), intent(out) :: species_name local 1570 species_name = from_string(trim(string)//c_null_char) 1582 type(c_ptr) recursive function get_string(species_name) & 1590 type(kim_species_name_type), intent(in) :: species_name local 1595 p = get_string(species_name) 1635 type(kim_species_name_type), intent(out) :: species_name local 1639 type(kim_species_name_type), intent(out) :: species_name local [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/Particle/ParticleIO/tests/ |
H A D | test_xml_mass.cpp | 98 std::string species_name = tspecies.speciesName[species_id]; variable 99 REQUIRE(*species_name.c_str() == order[iat]); 110 std::string species_name = pspecies.speciesName[species_id]; variable 111 REQUIRE(*species_name.c_str() == porder[iat]);
|
/dports/science/py-ase/ase-3.22.0/ase/calculators/kim/ |
H A D | kimpy_wrappers.py | 41 get_species_name = functools.partial(check_call, kimpy.species_name.get_species_name) 141 num_kim_species = kimpy.species_name.get_number_of_species_names() 144 species_name = get_species_name(i) 145 species_support, code = self.get_species_support_and_code(species_name) 148 species.append(str(species_name)) 158 def get_species_support_and_code(self, species_name): argument 159 return self.kim_model.get_species_support_and_code(species_name)
|
/dports/science/py-pyked/PyKED-0.4.1-16-gfcccaf8/pyked/ |
H A D | chemked.py | 74 Composition.species_name.__doc__ = '(`str`) The name of the species' 407 for species_name, species in composition.items(): 410 species_link.set('preferredKey', species_name) 475 has_spec = any([species.species_name in d.values() 483 property_idx[idx] = {'name': species.species_name} 505 if item.species_name == val['name']: 662 species_name = species['species-name'] 667 composition[species_name] = Composition( 668 species_name=species_name, InChI=InChI, SMILES=SMILES, 793 comps = ['{!s}:{:.4e}'.format(c.species_name, [all …]
|
/dports/games/freeorion/freeorion-0.4.10.2/UI/ |
H A D | MultiIconValueIndicator.cpp | 72 auto species_name = pc->SpeciesName(); in CompleteConstruction() local 73 if (!species_name.empty()) { in CompleteConstruction() 74 …auto zoom_species_action = [species_name]() { ClientUI::GetClientUI()->ZoomToSpecies(species_name)… in CompleteConstruction() 76 … UserString(species_name)); in CompleteConstruction()
|
H A D | PopulationPanel.cpp | 76 std::string species_name = pc->SpeciesName(); in CompleteConstruction() local 77 if (!species_name.empty()) { in CompleteConstruction() 78 …auto zoom_species_action = [species_name]() { ClientUI::GetClientUI()->ZoomToSpecies(species_name)… in CompleteConstruction() 80 … UserString(species_name)); in CompleteConstruction()
|
/dports/biology/py-multiqc/multiqc-1.10/multiqc/modules/sargasso/ |
H A D | sargasso.py | 58 species_name = list() 77 if sname not in species_name: 78 species_name.append(sname) 90 new_sample_name = "_".join([sample_name, species_name[idx]])
|
/dports/games/freeorion/freeorion-0.4.10.2/server/ |
H A D | ServerWrapper.cpp | 146 object SpeciesPreferredFocus(const std::string& species_name) { in SpeciesPreferredFocus() argument 147 const Species* species = GetSpecies(species_name); in SpeciesPreferredFocus() 156 const Species* species = GetSpecies(species_name); in SpeciesGetPlanetEnvironment() 164 void SpeciesAddHomeworld(const std::string& species_name, int homeworld_id) { in SpeciesAddHomeworld() argument 165 Species* species = SpeciesManager::GetSpeciesManager().GetSpecies(species_name); in SpeciesAddHomeworld() 173 void SpeciesRemoveHomeworld(const std::string& species_name, int homeworld_id) { in SpeciesRemoveHomeworld() argument 174 Species* species = SpeciesManager::GetSpeciesManager().GetSpecies(species_name); in SpeciesRemoveHomeworld() 182 bool SpeciesCanColonize(const std::string& species_name) { in SpeciesCanColonize() argument 316 return SetEmpireHomeworld(empire, planet_id, species_name); in EmpireSetHomeworld() 1187 void PlanetSetSpecies(int planet_id, const std::string& species_name) { in PlanetSetSpecies() argument [all …]
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/examples/applications/ |
H A D | plot_species_distribution_modeling.py | 90 def create_species_bunch(species_name, train, test, coverages, xgrid, ygrid): argument 96 bunch = Bunch(name=" ".join(species_name.split("_")[:2])) 97 species_name = species_name.encode("ascii") 102 pts = pts[pts["species"] == species_name]
|
/dports/games/freeorion/freeorion-0.4.10.2/default/python/stub_generator/ |
H A D | stub_functions.py | 46 species_name = planet.speciesName 47 if species_name: 48 species = fo.getSpecies(species_name)
|
/dports/science/antioch/antioch-0.4.0-156-g90ffa43/src/transport/include/antioch/ |
H A D | mixture_viscosity.h | 65 void add( const std::string& species_name, 124 void MixtureViscosity<Viscosity,CoeffType>::add( const std::string& species_name, in add() argument 127 antioch_assert( this->_transport_mixture.species_name_map().find(species_name) != in add() 130 unsigned int s = this->_transport_mixture.species_name_map().find(species_name)->second; in add()
|